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

Unified Diff: trunk/Source/core/html/canvas/WebGLRenderingContextBase.cpp

Issue 381113003: Revert 177827 "WebGL: Free temporary GPU resources held by inact..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: 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: trunk/Source/core/html/canvas/WebGLRenderingContextBase.cpp
===================================================================
--- trunk/Source/core/html/canvas/WebGLRenderingContextBase.cpp (revision 177853)
+++ trunk/Source/core/html/canvas/WebGLRenderingContextBase.cpp (working copy)
@@ -829,12 +829,6 @@
m_drawingBuffer->markLayerComposited();
}
-void WebGLRenderingContextBase::setIsHidden(bool hidden)
-{
- if (!isContextLost())
- m_drawingBuffer->setIsHidden(hidden);
-}
-
void WebGLRenderingContextBase::paintRenderingResultsToCanvas()
{
if (isContextLost()) {
« no previous file with comments | « trunk/Source/core/html/canvas/WebGLRenderingContextBase.h ('k') | trunk/Source/platform/graphics/gpu/DrawingBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698