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

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

Issue 24096029: Moved the majority of WebGL functionality into WebGLRenderingContextBase (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Revamped extension testing, added featureLevel Created 7 years, 3 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/core/html/canvas/OESElementIndexUint.cpp
diff --git a/Source/core/html/canvas/OESElementIndexUint.cpp b/Source/core/html/canvas/OESElementIndexUint.cpp
index 4fa47ed9669748604afbb18f2f0167cd8c4a68ec..4b3bf7be17080cf21ca670eb2eacf13fb5a0f652 100644
--- a/Source/core/html/canvas/OESElementIndexUint.cpp
+++ b/Source/core/html/canvas/OESElementIndexUint.cpp
@@ -30,7 +30,7 @@
namespace WebCore {
-OESElementIndexUint::OESElementIndexUint(WebGLRenderingContext* context)
+OESElementIndexUint::OESElementIndexUint(WebGLRenderingContextBase* context)
: WebGLExtension(context)
{
ScriptWrappable::init(this);
@@ -41,17 +41,17 @@ OESElementIndexUint::~OESElementIndexUint()
{
}
-WebGLExtension::ExtensionName OESElementIndexUint::getName() const
+WebGLExtensionName OESElementIndexUint::getName() const
{
return OESElementIndexUintName;
}
-PassRefPtr<OESElementIndexUint> OESElementIndexUint::create(WebGLRenderingContext* context)
+PassRefPtr<OESElementIndexUint> OESElementIndexUint::create(WebGLRenderingContextBase* context)
{
return adoptRef(new OESElementIndexUint(context));
}
-bool OESElementIndexUint::supported(WebGLRenderingContext* context)
+bool OESElementIndexUint::supported(WebGLRenderingContextBase* context)
{
Extensions3D* extensions = context->graphicsContext3D()->getExtensions();
return extensions->supports("GL_OES_element_index_uint");

Powered by Google App Engine
This is Rietveld 408576698