Add onPrePrepare to GrFillRRectOp
As the first real op to be updated this required the plumbing of the DstProxyView and the de-constification of the GrAppliedClip.
Bug: skia:9455
Change-Id: Ieaa16adfa1d114021b2ad60d0ef8ecbe31d9cc82
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/255136
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
diff --git a/src/gpu/GrOpsTask.cpp b/src/gpu/GrOpsTask.cpp
index 4a1146e..97651d2 100644
--- a/src/gpu/GrOpsTask.cpp
+++ b/src/gpu/GrOpsTask.cpp
@@ -408,7 +408,10 @@
for (const auto& chain : fOpChains) {
if (chain.shouldExecute()) {
- chain.head()->prePrepare(context, &fTargetView, chain.appliedClip());
+ chain.head()->prePrepare(context,
+ &fTargetView,
+ chain.appliedClip(),
+ chain.dstProxyView());
}
}
}