Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1595)

Unified Diff: include/gpu/SkGr.h

Issue 6954047: Simplify cache IDs and keys. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: include/gpu/SkGr.h
===================================================================
--- include/gpu/SkGr.h (revision 6906)
+++ include/gpu/SkGr.h (working copy)
@@ -75,10 +75,10 @@
////////////////////////////////////////////////////////////////////////////////
-GrTexture* GrLockCachedBitmapTexture(GrContext*,
- const SkBitmap&,
- const GrTextureParams*);
+bool GrIsBitmapInCache(const GrContext*, const SkBitmap&, const GrTextureParams*);
+GrTexture* GrLockCachedBitmapTexture(GrContext*, const SkBitmap&, const GrTextureParams*);
+
void GrUnlockCachedBitmapTexture(GrTexture*);
////////////////////////////////////////////////////////////////////////////////

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b