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

Unified Diff: cc/tiles/software_image_decode_controller.h

Issue 1832573004: Gpu Image Decode Controller (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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_controller.h
diff --git a/cc/tiles/software_image_decode_controller.h b/cc/tiles/software_image_decode_controller.h
index 4e959c7f2f8deae238e8e1e1bd9b4435c12e29ff..7ffa9f31508c930d0ca21d894037d722f1716d52 100644
--- a/cc/tiles/software_image_decode_controller.h
+++ b/cc/tiles/software_image_decode_controller.h
@@ -111,6 +111,9 @@ class CC_EXPORT SoftwareImageDecodeController : public ImageDecodeController {
void DrawWithImageFinished(const DrawImage& image,
const DecodedDrawImage& decoded_image) override;
void ReduceCacheUsage() override;
+ // Software doesn't keep outstanding images pinned, so this is a no-op.
+ void SetShouldAggressivelyFreeResources(
+ bool aggressively_free_resources) 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