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

Unified Diff: Source/core/html/canvas/WebGLContextAttributes.cpp

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/WebGLContextAttributes.h ('k') | Source/core/html/canvas/WebGLContextGroup.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/canvas/WebGLContextAttributes.cpp
diff --git a/Source/core/html/canvas/WebGLContextAttributes.cpp b/Source/core/html/canvas/WebGLContextAttributes.cpp
index a28e4cf20c25429ca6b5f8a0c0c02627405a96c3..55786cf3b1521433f321e5bee7c82b62a68d747e 100644
--- a/Source/core/html/canvas/WebGLContextAttributes.cpp
+++ b/Source/core/html/canvas/WebGLContextAttributes.cpp
@@ -27,6 +27,7 @@
#include "config.h"
#include "core/html/canvas/WebGLContextAttributes.h"
+#include "core/html/canvas/WebGLShareGroup.h"
namespace WebCore {
@@ -122,4 +123,14 @@ GraphicsContext3D::Attributes WebGLContextAttributes::attributes() const
return m_attrs;
}
+PassRefPtr<WebGLShareGroup> WebGLContextAttributes::group() const
+{
+ return m_shareGroup;
+}
+
+void WebGLContextAttributes::setGroup(PassRefPtr<WebGLShareGroup> group)
+{
+ m_shareGroup = group;
+}
+
} // namespace WebCore
« no previous file with comments | « Source/core/html/canvas/WebGLContextAttributes.h ('k') | Source/core/html/canvas/WebGLContextGroup.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698