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

Unified Diff: cc/resources/gpu_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: Created 5 years, 9 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
« no previous file with comments | « no previous file | cc/resources/gpu_rasterizer.cc » ('j') | cc/resources/gpu_rasterizer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/gpu_rasterizer.h
diff --git a/cc/resources/gpu_rasterizer.h b/cc/resources/gpu_rasterizer.h
index 8c75f326d0d22ffd5e1b7cf8e5b686ec613d854d..01b811b2040678aceeda3bc91c478fb05733cd06 100644
--- a/cc/resources/gpu_rasterizer.h
+++ b/cc/resources/gpu_rasterizer.h
@@ -44,6 +44,7 @@ class CC_EXPORT GpuRasterizer : public Rasterizer {
float scale);
ResourceProvider* resource_provider() { return resource_provider_; }
+ void ClearCache();
private:
GpuRasterizer(ContextProvider* context_provider,
« no previous file with comments | « no previous file | cc/resources/gpu_rasterizer.cc » ('j') | cc/resources/gpu_rasterizer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698