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

Unified Diff: Source/core/html/canvas/CanvasRenderingContext.h

Issue 251023004: WebGL: Free temporary GPU resources held by inactive or hidden WebGL. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add a layout test Created 6 years, 5 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: Source/core/html/canvas/CanvasRenderingContext.h
diff --git a/Source/core/html/canvas/CanvasRenderingContext.h b/Source/core/html/canvas/CanvasRenderingContext.h
index 0999d334bf7e759f916b4a1b4d769258b40070da..509dd50be17c564332aa82330fe31ec1f70517bb 100644
--- a/Source/core/html/canvas/CanvasRenderingContext.h
+++ b/Source/core/html/canvas/CanvasRenderingContext.h
@@ -58,6 +58,7 @@ public:
virtual bool is3d() const { return false; }
virtual bool isAccelerated() const { return false; }
virtual bool hasAlpha() const { return true; }
+ virtual void setIsHidden(bool) = 0;
virtual void paintRenderingResultsToCanvas() {}

Powered by Google App Engine
This is Rietveld 408576698