Chromium Code Reviews| 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; |
| }; |