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

Unified Diff: include/gpu/GrContext.h

Issue 117583002: Update bench pictures to time image decode & upload costs (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: More clean up Created 7 years 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
« no previous file with comments | « no previous file | src/gpu/GrContext.cpp » ('j') | src/gpu/GrContext.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrContext.h
===================================================================
--- include/gpu/GrContext.h (revision 12709)
+++ include/gpu/GrContext.h (working copy)
@@ -954,6 +954,13 @@
*/
GrPath* createPath(const SkPath& skPath, const SkStrokeRec& stroke);
+ /**
+ * Purge all the unlocked textures from the texture cache
+ */
+ void purgeAllUnlocked();
+
+ friend class SkTools_PictureRenderer; // Allow access to purgeAllUnlocked for timings
bsalomon 2013/12/18 14:51:36 If we move the impl to the test-only cpp then mayb
robertphillips 2013/12/18 15:59:13 Done.
+
typedef SkRefCnt INHERITED;
};
« no previous file with comments | « no previous file | src/gpu/GrContext.cpp » ('j') | src/gpu/GrContext.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698