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

Unified Diff: cc/tiles/software_image_decode_cache.h

Issue 2945813002: cc: Interface to evict images from cc image decode cache. (Closed)
Patch Set: update Created 3 years, 6 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: cc/tiles/software_image_decode_cache.h
diff --git a/cc/tiles/software_image_decode_cache.h b/cc/tiles/software_image_decode_cache.h
index 755770b4bce399aff758e9a5d9a6d86c3980f8f8..6f72b77d6599b8fadf23c1d555f732418997e5ec 100644
--- a/cc/tiles/software_image_decode_cache.h
+++ b/cc/tiles/software_image_decode_cache.h
@@ -142,6 +142,7 @@ class CC_EXPORT SoftwareImageDecodeCache
bool aggressively_free_resources) override {}
void ClearCache() override;
size_t GetMaximumMemoryLimitBytes() const override;
+ void NotifyImageUnused(uint32_t skimage_id) override;
// Decode the given image and store it in the cache. This is only called by an
// image decode task from a worker thread.

Powered by Google App Engine
This is Rietveld 408576698