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

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

Issue 17230006: Implement WEBGL_shared_resources Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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
« no previous file with comments | « Source/core/html/canvas/WebGLDebugShaders.cpp ('k') | Source/core/html/canvas/WebGLFramebuffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/canvas/WebGLExtension.h
diff --git a/Source/core/html/canvas/WebGLExtension.h b/Source/core/html/canvas/WebGLExtension.h
index 4028906fb04ad351e714a304e69cf9ed28e50e4f..b14d86b313ef6b8dac9d61ca12e2023dd42096cd 100644
--- a/Source/core/html/canvas/WebGLExtension.h
+++ b/Source/core/html/canvas/WebGLExtension.h
@@ -54,6 +54,7 @@ public:
WebGLDepthTextureName,
WebGLDrawBuffersName,
WebGLLoseContextName,
+ WebGLSharedResourcesName,
};
WebGLRenderingContext* context() { return m_context; }
@@ -69,7 +70,7 @@ public:
m_context = 0;
}
- bool isLost()
+ bool isLost() const
{
return !m_context;
}
« no previous file with comments | « Source/core/html/canvas/WebGLDebugShaders.cpp ('k') | Source/core/html/canvas/WebGLFramebuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698