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

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: rebase to ToT Created 6 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: Source/core/html/canvas/CanvasRenderingContext.h
diff --git a/Source/core/html/canvas/CanvasRenderingContext.h b/Source/core/html/canvas/CanvasRenderingContext.h
index f4140d93dab593b205f728107fa343c02dedd6c8..db6507827294e02ea0b4a85f5a2c926bfa7cbbcd 100644
--- a/Source/core/html/canvas/CanvasRenderingContext.h
+++ b/Source/core/html/canvas/CanvasRenderingContext.h
@@ -52,6 +52,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