summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/canvas/WebGLExtension.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/html/canvas/WebGLExtension.h')
-rw-r--r--Source/WebCore/html/canvas/WebGLExtension.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/Source/WebCore/html/canvas/WebGLExtension.h b/Source/WebCore/html/canvas/WebGLExtension.h
index 0edbe9eca..e9100dba0 100644
--- a/Source/WebCore/html/canvas/WebGLExtension.h
+++ b/Source/WebCore/html/canvas/WebGLExtension.h
@@ -26,7 +26,7 @@
#ifndef WebGLExtension_h
#define WebGLExtension_h
-#include "WebGLRenderingContextBase.h"
+#include "WebGLRenderingContext.h"
namespace WebCore {
@@ -36,11 +36,8 @@ public:
// Extension names are needed to properly wrap instances in JavaScript objects.
enum ExtensionName {
WebGLLoseContextName,
- EXTBlendMinMaxName,
- EXTFragDepthName,
- EXTShaderTextureLODName,
+ EXTDrawBuffersName,
EXTTextureFilterAnisotropicName,
- EXTsRGBName,
OESTextureFloatName,
OESTextureFloatLinearName,
OESTextureHalfFloatName,
@@ -51,7 +48,6 @@ public:
WebGLDebugShadersName,
WebGLCompressedTextureS3TCName,
WebGLDepthTextureName,
- WebGLDrawBuffersName,
OESElementIndexUintName,
WebGLCompressedTextureATCName,
WebGLCompressedTexturePVRTCName,
@@ -60,14 +56,14 @@ public:
void ref() { m_context->ref(); }
void deref() { m_context->deref(); }
- WebGLRenderingContextBase* context() { return m_context; }
+ WebGLRenderingContext* context() { return m_context; }
virtual ~WebGLExtension();
virtual ExtensionName getName() const = 0;
protected:
- WebGLExtension(WebGLRenderingContextBase*);
- WebGLRenderingContextBase* m_context;
+ WebGLExtension(WebGLRenderingContext*);
+ WebGLRenderingContext* m_context;
};
} // namespace WebCore