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

Unified Diff: cc/resources/software_rasterizer.h

Issue 1016733002: cc: Free gpu resources when we are invisible or TM is oom. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments addressed. Created 5 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/resources/software_rasterizer.h
diff --git a/cc/resources/software_rasterizer.h b/cc/resources/software_rasterizer.h
index 6cb751f38b9e6b66dcff495465f8debe595b3a65..384fe8a2e0b4cadd913c8a4f7994ad0d3938579b 100644
--- a/cc/resources/software_rasterizer.h
+++ b/cc/resources/software_rasterizer.h
@@ -26,6 +26,7 @@ class CC_EXPORT SoftwareRasterizer : public Rasterizer {
ResourcePool* resource_pool,
ResourceFormat resource_format,
const UpdateTileDrawInfoCallback& update_tile_draw_info) override;
+ void SetMemoryLimits(bool visible, size_t memory_limit_bytes) override {}
private:
SoftwareRasterizer();

Powered by Google App Engine
This is Rietveld 408576698