Changeset 152527 in webkit
- Timestamp:
- Jul 10, 2013 12:41:42 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r152526 r152527 1 2013-07-10 Karol Świniarski <k.swiniarsk2@samsung.com> 2 3 Change recently ratified extensions prefixes from WEBKIT_WEBGL_ to WEBGL_ 4 https://bugs.webkit.org/show_bug.cgi?id=117786 5 6 Reviewed by Dean Jackson. 7 8 According to WebGL's revision 10, extensions should be named: WEBGL_lose_context, 9 WEBGL_depth_texture, WEBGL_compressed_texture_s3tc. 10 11 No new tests. Covered by existing tests: 12 LayoutTests/webgl/conformance/extensions/get-extension.html 13 LayoutTests/webgl/conformance/context/context-lost.html 14 LayoutTests/webgl/conformance/extensions/webgl-depth-texture.html 15 LayoutTests/webgl/conformance/extensions/webgl-compressed-texture-s3tc.html 16 17 * html/canvas/WebGLRenderingContext.cpp: 18 (WebCore::WebGLRenderingContext::getExtension): 19 (WebCore::WebGLRenderingContext::getSupportedExtensions): 20 1 21 2013-07-09 Byungwoo Lee <bw80.lee@samsung.com> 2 22 -
trunk/Source/WebCore/html/canvas/WebGLRenderingContext.cpp
r152351 r152527 2406 2406 return m_oesElementIndexUint.get(); 2407 2407 } 2408 if (equalIgnoringCase(name, "WEBGL_lose_context") 2409 // FIXME: remove this after a certain grace period. 2410 || equalIgnoringCase(name, "WEBKIT_WEBGL_lose_context") 2411 // FIXME: Is it safe to remove WEBKIT_lose_context now? 2412 || equalIgnoringCase(name, "WEBKIT_lose_context")) { 2408 if (equalIgnoringCase(name, "WEBGL_lose_context")) { 2413 2409 if (!m_webglLoseContext) 2414 2410 m_webglLoseContext = WebGLLoseContext::create(this); … … 2426 2422 m_webglCompressedTexturePVRTC = WebGLCompressedTexturePVRTC::create(this); 2427 2423 } 2428 if ((equalIgnoringCase(name, "WEBGL_compressed_texture_s3tc") 2429 // FIXME: remove this after a certain grace period. 2430 || equalIgnoringCase(name, "WEBKIT_WEBGL_compressed_texture_s3tc")) 2424 if (equalIgnoringCase(name, "WEBGL_compressed_texture_s3tc") 2431 2425 && WebGLCompressedTextureS3TC::supported(this)) { 2432 2426 if (!m_webglCompressedTextureS3TC) … … 2434 2428 return m_webglCompressedTextureS3TC.get(); 2435 2429 } 2436 if ((equalIgnoringCase(name, "WEBGL_depth_texture") 2437 // FIXME: remove this after a certain grace period. 2438 || equalIgnoringCase(name, "WEBKIT_WEBGL_depth_texture")) 2430 if (equalIgnoringCase(name, "WEBGL_depth_texture") 2439 2431 && WebGLDepthTexture::supported(graphicsContext3D())) { 2440 2432 if (!m_webglDepthTexture) { … … 2959 2951 result.append("WEBKIT_WEBGL_compressed_texture_pvrtc"); 2960 2952 if (WebGLCompressedTextureS3TC::supported(this)) 2961 result.append("WEB KIT_WEBGL_compressed_texture_s3tc");2953 result.append("WEBGL_compressed_texture_s3tc"); 2962 2954 if (WebGLDepthTexture::supported(graphicsContext3D())) 2963 result.append("WEB KIT_WEBGL_depth_texture");2955 result.append("WEBGL_depth_texture"); 2964 2956 if (supportsDrawBuffers()) 2965 2957 result.append("EXT_draw_buffers");
Note: See TracChangeset
for help on using the changeset viewer.