diff options
author | Mike Reed <reed@google.com> | 2017-03-23 15:51:43 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-03-23 21:19:13 +0000 |
commit | 4dc6474b73ec4e5d6a1a0070e50d3d6766e4c94a (patch) | |
tree | fe9ee2294ea57a00552204e8010cb4fce2929d34 /src/core/SkBitmapCache.h | |
parent | 5ec7829fd977f38bdad13c7aa5bcd86f57d20bc1 (diff) |
remove dead code in bitmapcache
BUG=skia:
Change-Id: If17511179851ac192758f9d96092ff6dd7c60888
Reviewed-on: https://skia-review.googlesource.com/10055
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'src/core/SkBitmapCache.h')
-rw-r--r-- | src/core/SkBitmapCache.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/core/SkBitmapCache.h b/src/core/SkBitmapCache.h index 522c93ee45..e5160ae029 100644 --- a/src/core/SkBitmapCache.h +++ b/src/core/SkBitmapCache.h @@ -51,20 +51,6 @@ public: static bool AddWH(const SkBitmapCacheDesc&, const SkBitmap& result, SkResourceCache* localCache = nullptr); - /** - * Search based on the bitmap's genID and subset. If found, returns true and - * result will be set to the matching bitmap with its pixels already locked. - */ - static bool Find(uint32_t genID, const SkIRect& subset, SkBitmap* result, - SkResourceCache* localCache = nullptr); - - /** - * The width and the height of the provided subset must be the same as the result bitmap ones. - * result must be marked isImmutable() - */ - static bool Add(SkPixelRef*, const SkIRect& subset, const SkBitmap& result, - SkResourceCache* localCache = nullptr); - static bool Find(uint32_t genID, SkBitmap* result, SkResourceCache* localCache = nullptr); // todo: eliminate the need to specify ID, since it should == the bitmap's static void Add(uint32_t genID, const SkBitmap&, SkResourceCache* localCache = nullptr); |