Simplify GrSmallPathRenderer::visitProxies
As noted at line 341, the SmallPathOp doesn't reliably know the proxies that will be used by the atlas when visitProxies is called. Deleting this code gives us a bit more flexibility for upcoming refactorings. Change-Id: I0292e750ed46c8555a75d1b5fa2710f1f616b70b Reviewed-on: https://skia-review.googlesource.com/c/skia/+/308220 Reviewed-by: Jim Van Verth <jvanverth@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
This commit is contained in:
parent
0abd7276b8
commit
b7531c5c30
@ -273,12 +273,6 @@ public:
|
||||
|
||||
void visitProxies(const VisitProxyFunc& func) const override {
|
||||
fHelper.visitProxies(func);
|
||||
|
||||
const GrSurfaceProxyView* views = fAtlas->getViews();
|
||||
for (uint32_t i = 0; i < fAtlas->numActivePages(); ++i) {
|
||||
SkASSERT(views[i].proxy());
|
||||
func(views[i].proxy(), GrMipmapped::kNo);
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef SK_DEBUG
|
||||
|
Loading…
Reference in New Issue
Block a user