Change GrProgramInfo::visitProxies to "visitFPProxies"
We are removing dynamic state from the ProgramInfo, so the Ops will
need to invoke visits on their own primProc proxies.
Change-Id: I7ab227ab71208b7c7bcb7a9deb56b9abd556d6aa
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/277236
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
diff --git a/src/gpu/ops/GrShadowRRectOp.cpp b/src/gpu/ops/GrShadowRRectOp.cpp
index e74a20a..b766fc4 100644
--- a/src/gpu/ops/GrShadowRRectOp.cpp
+++ b/src/gpu/ops/GrShadowRRectOp.cpp
@@ -638,10 +638,9 @@
}
void visitProxies(const VisitProxyFunc& func) const override {
+ func(fFalloffView.proxy(), GrMipMapped(false));
if (fProgramInfo) {
- fProgramInfo->visitProxies(func);
- } else {
- func(fFalloffView.proxy(), GrMipMapped(false));
+ fProgramInfo->visitFPProxies(func);
}
}