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

Unified Diff: src/core/SkBitmapCache.h

Issue 539643002: Remove SkBitmapCache::Find/Add(_,width,height,_) in favor of using rect (Closed) Base URL: https://skia.googlesource.com/skia.git@bitmapCache_add_rect
Patch Set: Rebase master 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
« no previous file with comments | « no previous file | src/core/SkBitmapCache.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkBitmapCache.h
diff --git a/src/core/SkBitmapCache.h b/src/core/SkBitmapCache.h
index cd644fff03ee51f101e17fb9bbfa4e951cf2624d..aec7a7d41cb6fd906e2eb2a458460bd5f6152701 100644
--- a/src/core/SkBitmapCache.h
+++ b/src/core/SkBitmapCache.h
@@ -34,19 +34,6 @@ public:
const SkBitmap& result);
/**
- * Search based on the bitmap's genID, width, height. If found, returns true and
- * result will be set to the matching bitmap with its pixels already locked.
- */
- static bool Find(uint32_t genID, int width, int height, SkBitmap* result);
-
- /**
- * The width and the height provided for the key must be the same as the result bitmap ones.
- *
- * result must be marked isImmutable()
- */
- static bool Add(uint32_t genID, int width, int height, const SkBitmap& result);
-
- /**
* 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.
*/
« no previous file with comments | « no previous file | src/core/SkBitmapCache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698