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

Unified Diff: Source/WebCore/platform/graphics/chromium/WebGLLayerChromium.h

Issue 7671031: Merge 92520 - [chromium] Accelerated canvas breaks when moving canvases or resources between Pages (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/835/
Patch Set: Created 9 years, 4 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/WebCore/platform/graphics/chromium/WebGLLayerChromium.h
===================================================================
--- Source/WebCore/platform/graphics/chromium/WebGLLayerChromium.h (revision 93254)
+++ Source/WebCore/platform/graphics/chromium/WebGLLayerChromium.h (working copy)
@@ -66,12 +66,15 @@
explicit WebGLLayerChromium(GraphicsLayerChromium* owner);
friend class WebGLLayerChromiumRateLimitTask;
+ virtual unsigned textureId() const { return m_textureId; }
void rateLimitContext(Timer<WebGLLayerChromium>*);
// GraphicsContext3D::platformLayer has a side-effect of assigning itself
// to the layer. Because of that GraphicsContext3D's destructor will reset
// layer's context to 0.
GraphicsContext3D* m_context;
+ unsigned m_textureId;
+ bool m_textureChanged;
bool m_contextSupportsRateLimitingExtension;
Timer<WebGLLayerChromium> m_rateLimitingTimer;
bool m_textureUpdated;

Powered by Google App Engine
This is Rietveld 408576698