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

Unified Diff: src/core/SkBitmapCache.h

Issue 592843003: Add SkCachedData and use it for SkMipMap (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 3 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/core/SkBitmapCache.h
diff --git a/src/core/SkBitmapCache.h b/src/core/SkBitmapCache.h
index 181c85812aa86ae8e14fb7d66b54af5c700b59ce..19c48ae954bc883a36248fac8bd230eb670a5876 100644
--- a/src/core/SkBitmapCache.h
+++ b/src/core/SkBitmapCache.h
@@ -52,8 +52,8 @@ public:
class SkMipMapCache {
public:
- static const SkMipMap* FindAndRef(const SkBitmap& src);
- static void Add(const SkBitmap& src, const SkMipMap* result);
+ static SkMipMap* FindAndRef(const SkBitmap& src, SkResourceCache* localCache = NULL);
mtklein 2014/09/26 19:06:33 const both these guys?
reed1 2014/09/26 21:33:51 Done.
+ static SkMipMap* AddAndRef(const SkBitmap& src, SkResourceCache* localCache = NULL);
};
#endif
« no previous file with comments | « gyp/tests.gypi ('k') | src/core/SkBitmapCache.cpp » ('j') | src/core/SkCachedData.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698