Merge GrOpList and GrRTOpList and rename to GrOpsTask.
Change-Id: I8f4f2218a30fd0541a8f79f7bb9850f9500cd243
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/236343
Commit-Queue: Greg Daniel <egdaniel@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
diff --git a/src/gpu/GrClipStackClip.cpp b/src/gpu/GrClipStackClip.cpp
index 07470ce..5d862d4 100644
--- a/src/gpu/GrClipStackClip.cpp
+++ b/src/gpu/GrClipStackClip.cpp
@@ -245,10 +245,10 @@
}
}
- // The opList ID must not be looked up until AFTER producing the clip mask (if any). That step
- // can cause a flush or otherwise change which opList our draw is going into.
- uint32_t opListID = renderTargetContext->getOpList()->uniqueID();
- if (auto clipFPs = reducedClip.finishAndDetachAnalyticFPs(ccpr, opListID)) {
+ // The opsTask ID must not be looked up until AFTER producing the clip mask (if any). That step
+ // can cause a flush or otherwise change which opstask our draw is going into.
+ uint32_t opsTaskID = renderTargetContext->getOpsTask()->uniqueID();
+ if (auto clipFPs = reducedClip.finishAndDetachAnalyticFPs(ccpr, opsTaskID)) {
out->addCoverageFP(std::move(clipFPs));
}