Surface GrFillRectOp programs on DDLs
Bug: skia:9455
Change-Id: I48ea4cc5045a23fd962f28c7e7d6a47b6b464608
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/275036
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
diff --git a/src/gpu/ops/GrSimpleMeshDrawOpHelperWithStencil.cpp b/src/gpu/ops/GrSimpleMeshDrawOpHelperWithStencil.cpp
index a336fa6..eaa8e66 100644
--- a/src/gpu/ops/GrSimpleMeshDrawOpHelperWithStencil.cpp
+++ b/src/gpu/ops/GrSimpleMeshDrawOpHelperWithStencil.cpp
@@ -54,6 +54,26 @@
fStencilSettings == that.fStencilSettings;
}
+GrProgramInfo* GrSimpleMeshDrawOpHelperWithStencil::createProgramInfoWithStencil(
+ const GrCaps* caps,
+ SkArenaAlloc* arena,
+ const GrSurfaceProxyView* outputView,
+ GrAppliedClip&& appliedClip,
+ const GrXferProcessor::DstProxyView& dstProxyView,
+ GrGeometryProcessor* gp,
+ GrPrimitiveType primType) {
+ return CreateProgramInfo(caps,
+ arena,
+ outputView,
+ std::move(appliedClip),
+ dstProxyView,
+ gp,
+ this->detachProcessorSet(),
+ primType,
+ this->pipelineFlags(),
+ this->stencilSettings());
+}
+
#ifdef SK_DEBUG
SkString GrSimpleMeshDrawOpHelperWithStencil::dumpInfo() const {
SkString result = INHERITED::dumpInfo();