[Title] [WEBGL] Rename WEBKIT_WEBGL_compressed_texture_s3tc to WEBGL_compressed_texture_s3tc
[Problem] N/A
[Cause] N/A
[Solution] N/A
[Cherry-Picker] Karol Swiniarski
https://bugs.webkit.org/show_bug.cgi?id=108866
Change-Id: I3a273f699fcac4df51ba42b5eb3c2945988d9134
+2013-02-04 Nayan Kumar K <nayankk@motorola.com>
+
+ [WEBGL] Rename WEBKIT_WEBGL_compressed_texture_s3tc to WEBGL_compressed_texture_s3tc
+ https://bugs.webkit.org/show_bug.cgi?id=108866
+
+ Reviewed by NOBODY (OOPS!).
+
+ WEBGL_compressed_texture_s3tc is one of the community approved WebGL extension.
+ Hence remove the vendor prefix from WEBKIT_WEBGL_compressed_texture_s3tc.
+ Specification: http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_s3tc/
+
+ No tests currently present to test WEBKIT_WEBGL_compressed_texture_s3tc.
+
+ * bindings/js/JSWebGLRenderingContextCustom.cpp:
+ (WebCore::toJS):
+ * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
+ (WebCore::toV8Object):
+ * html/canvas/WebGLCompressedTextureS3TC.cpp:
+ (WebCore::WebGLCompressedTextureS3TC::getName):
+ * html/canvas/WebGLExtension.h:
+ * html/canvas/WebGLRenderingContext.cpp:
+ (WebCore):
+ (WebCore::WebGLRenderingContext::getExtension):
+
2013-02-01 Nayan Kumar K <nayankk@motorola.com>
[WEBGL] Rename WEBKIT_WEBGL_lose_context to WEBGL_lose_context.
return toJS(exec, globalObject, static_cast<WebGLDebugRendererInfo*>(extension));
case WebGLExtension::WebGLDebugShadersName:
return toJS(exec, globalObject, static_cast<WebGLDebugShaders*>(extension));
- case WebGLExtension::WebKitWebGLCompressedTextureS3TCName:
+ case WebGLExtension::WebGLCompressedTextureS3TCName:
return toJS(exec, globalObject, static_cast<WebGLCompressedTextureS3TC*>(extension));
case WebGLExtension::WebKitWebGLDepthTextureName:
return toJS(exec, globalObject, static_cast<WebGLDepthTexture*>(extension));
extensionObject = toV8(static_cast<WebGLDebugShaders*>(extension), isolate);
referenceName = "webGLDebugShadersName";
break;
- case WebGLExtension::WebKitWebGLCompressedTextureS3TCName:
+ case WebGLExtension::WebGLCompressedTextureS3TCName:
extensionObject = toV8(static_cast<WebGLCompressedTextureS3TC*>(extension), isolate);
- referenceName = "webKitWebGLCompressedTextureS3TCName";
+ referenceName = "webGLCompressedTextureS3TCName";
break;
case WebGLExtension::WebKitWebGLDepthTextureName:
extensionObject = toV8(static_cast<WebGLDepthTexture*>(extension), isolate);
WebGLExtension::ExtensionName WebGLCompressedTextureS3TC::getName() const
{
- return WebKitWebGLCompressedTextureS3TCName;
+ return WebGLCompressedTextureS3TCName;
}
PassOwnPtr<WebGLCompressedTextureS3TC> WebGLCompressedTextureS3TC::create(WebGLRenderingContext* context)
OESVertexArrayObjectName,
WebGLDebugRendererInfoName,
WebGLDebugShadersName,
- WebKitWebGLCompressedTextureS3TCName, // WEBKIT_ prefix until extension is official
+ WebGLCompressedTextureS3TCName,
WebKitWebGLDepthTextureName, // WEBKIT_ prefix until extension is official
};
m_webglLoseContext = WebGLLoseContext::create(this);
return m_webglLoseContext.get();
}
- if (equalIgnoringCase(name, "WEBKIT_WEBGL_compressed_texture_s3tc")) {
- // Use WEBKIT_ prefix until extension is official.
+ if (equalIgnoringCase(name, "WEBGL_compressed_texture_s3tc")) {
if (!m_webglCompressedTextureS3TC)
m_webglCompressedTextureS3TC = WebGLCompressedTextureS3TC::create(this);
return m_webglCompressedTextureS3TC.get();