Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1420)

Unified Diff: src/gpu/gl/GrGLPath.h

Issue 1810323002: Cache render targets that render to wrapped textures Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/gpu/gl/GrGLPath.h
diff --git a/src/gpu/gl/GrGLPath.h b/src/gpu/gl/GrGLPath.h
index e8642f346892d60122b3a5a7eb16c726654015af..b7427febbf6a8ea990df2201f3552be8b58f61c8 100644
--- a/src/gpu/gl/GrGLPath.h
+++ b/src/gpu/gl/GrGLPath.h
@@ -41,7 +41,7 @@ public:
protected:
void onRelease() override;
void onAbandon() override;
-
+ bool refsWrappedResources() const override { return false; }
private:
// TODO: Figure out how to get an approximate size of the path in Gpu memory.
size_t onGpuMemorySize() const override { return 100; }

Powered by Google App Engine
This is Rietveld 408576698