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

Unified Diff: trunk/Source/platform/graphics/gpu/DrawingBuffer.h

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/platform/graphics/gpu/DrawingBuffer.h
===================================================================
--- trunk/Source/platform/graphics/gpu/DrawingBuffer.h (revision 177853)
+++ trunk/Source/platform/graphics/gpu/DrawingBuffer.h (working copy)
@@ -142,7 +142,6 @@
void markContentsChanged();
void markLayerComposited();
bool layerComposited() const;
- void setIsHidden(bool);
blink::WebLayer* platformLayer();
void paintCompositedResultsToCanvas(ImageBuffer*);
@@ -179,7 +178,7 @@
bool initialize(const IntSize&);
private:
- void mailboxReleasedWithoutRecycling(const blink::WebExternalTextureMailbox&);
+ void mailboxReleasedWhileDestructionInProgress(const blink::WebExternalTextureMailbox&);
unsigned createColorTexture();
// Create the depth/stencil and multisample buffers, if needed.
@@ -196,7 +195,6 @@
PassRefPtr<MailboxInfo> recycledMailbox();
PassRefPtr<MailboxInfo> createNewMailbox(const TextureInfo&);
void deleteMailbox(const blink::WebExternalTextureMailbox&);
- void freeRecycledMailboxes();
// Updates the current size of the buffer, ensuring that s_currentResourceUsePixels is updated.
void setSize(const IntSize& size);
@@ -281,7 +279,6 @@
int m_sampleCount;
int m_packAlignment;
bool m_destructionInProgress;
- bool m_isHidden;
OwnPtr<blink::WebExternalTextureLayer> m_layer;
« no previous file with comments | « trunk/Source/core/html/canvas/WebGLRenderingContextBase.cpp ('k') | trunk/Source/platform/graphics/gpu/DrawingBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698