diff options
author | reed <reed@chromium.org> | 2015-02-24 13:54:23 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-24 13:54:23 -0800 |
commit | 7eeba2587760a0802fd2b90765b4fd0e5e895375 (patch) | |
tree | dad9caa7dde038c52728034710c3d6d4926bfff2 /src/core/SkBitmapCache.h | |
parent | 4b583ac54b92ad6e7685bdfa2b68e7dd11ba0d28 (diff) |
Notify resource caches when pixelref genID goes stale
patch from issue 954443002 at patchset 40001 (http://crrev.com/954443002#ps40001)
BUG=skia:
Review URL: https://codereview.chromium.org/950363002
Diffstat (limited to 'src/core/SkBitmapCache.h')
-rw-r--r-- | src/core/SkBitmapCache.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/SkBitmapCache.h b/src/core/SkBitmapCache.h index ec8a6b803e..c54f96141c 100644 --- a/src/core/SkBitmapCache.h +++ b/src/core/SkBitmapCache.h @@ -14,6 +14,10 @@ class SkResourceCache; class SkMipMap; +uint64_t SkMakeResourceCacheSharedIDForBitmap(uint32_t bitmapGenID); + +void SkNotifyBitmapGenIDIsStale(uint32_t bitmapGenID); + class SkBitmapCache { public: /** |