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

Unified Diff: src/gpu/GrContext.cpp

Issue 19636002: Plumb in flag for reusing scratch textures (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Remove external override of scratch texture reuse behavior Created 7 years, 5 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/GrContext.cpp
===================================================================
--- src/gpu/GrContext.cpp (revision 10144)
+++ src/gpu/GrContext.cpp (working copy)
@@ -115,6 +115,7 @@
fDrawState = SkNEW(GrDrawState);
fGpu->setDrawState(fDrawState);
+ this->setReuseScratchTextures(fGpu->caps()->reuseScratchTextures());
fTextureCache = SkNEW_ARGS(GrResourceCache,
(MAX_TEXTURE_CACHE_COUNT,

Powered by Google App Engine
This is Rietveld 408576698