Index: src/core/SkBitmapCache.h |
diff --git a/src/core/SkBitmapCache.h b/src/core/SkBitmapCache.h |
index de50aabe1e4d7eb28e0cd1149a6cdd4d724fcdba..c75894208072a100362429199be1b6e047045bac 100644 |
--- a/src/core/SkBitmapCache.h |
+++ b/src/core/SkBitmapCache.h |
@@ -52,6 +52,10 @@ public: |
*/ |
static bool Add(SkPixelRef*, const SkIRect& subset, const SkBitmap& result, |
SkResourceCache* localCache = NULL); |
+ |
+ static bool Find(uint32_t genID, SkBitmap* result, SkResourceCache* localCache = NULL); |
+ // todo: eliminate the need to specify ID, since it should == the bitmap's |
+ static void Add(uint32_t genID, const SkBitmap&, SkResourceCache* localCache = NULL); |
}; |
class SkMipMapCache { |