diff options
author | mtklein <mtklein@google.com> | 2015-02-19 08:53:52 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-19 08:53:52 -0800 |
commit | 90c6bc4e85df2da37f436ea1da203e194c4740e2 (patch) | |
tree | bc71dc3d3a7160bb8118a1e349e11a6e58a4b8cb /src/core/SkBitmapCache.h | |
parent | cabc08c4296e1ce6c6d9d84cf702361cf439c1bc (diff) |
Revert of notify resource caches when pixelref genID goes stale (patchset #4 id:60001 of https://codereview.chromium.org/825263005/)
Reason for revert:
Crazy failures.
http://build.chromium.org/p/client.skia/builders/Test-Mac10.8-MacMini4.1-GeForce320M-x86_64-Debug/builds/1428/steps/dm/logs/stdio
Original issue's description:
> notify resource caches when pixelref genID goes stale
>
> BUG=skia:
>
> Committed: https://skia.googlesource.com/skia/+/4675819b9dbb3ad71ec851776e5de26d342f29fe
TBR=bsalomon@google.com,reed@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:
Review URL: https://codereview.chromium.org/936423002
Diffstat (limited to 'src/core/SkBitmapCache.h')
-rw-r--r-- | src/core/SkBitmapCache.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/core/SkBitmapCache.h b/src/core/SkBitmapCache.h index abda1b4d66..ec8a6b803e 100644 --- a/src/core/SkBitmapCache.h +++ b/src/core/SkBitmapCache.h @@ -48,22 +48,12 @@ public: */ static bool Add(uint32_t genID, const SkIRect& subset, const SkBitmap& result, SkResourceCache* localCache = NULL); - - /** - * Call this to (as a hint) preemptively purge caches related to this genID - */ - static void NotifyGenIDStale(uint32_t); }; class SkMipMapCache { public: static const SkMipMap* FindAndRef(const SkBitmap& src, SkResourceCache* localCache = NULL); static const SkMipMap* AddAndRef(const SkBitmap& src, SkResourceCache* localCache = NULL); - - /** - * Call this to (as a hint) preemptively purge caches related to this genID - */ - static void NotifyGenIDStale(uint32_t); }; #endif |