-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=110497 Patch by Brandon Jones <bajones@google.com> on 2013-03-25 Reviewed by Kenneth Russell. Source/WebCore: Test: webgl/conformance/extensions/webgl-compressed-texture-pvrtc.html Exposes the WEBGL_compressed_texture_pvrtc extension, but is unverified since no desktop hardware supports the format that I am aware of. Should enable mobile ports to expose the format, however. * CMakeLists.txt: * DerivedSources.make: * DerivedSources.pri: * GNUmakefile.list.am: * Target.pri: * WebCore.gypi: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSWebGLRenderingContextCustom.cpp: (WebCore::toJS): * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp: (WebCore::toV8Object): * html/canvas/WebGLCompressedTexturePVRTC.cpp: Copied from Source/WebCore/html/canvas/WebGLExtension.h. (WebCore): (WebCore::WebGLCompressedTexturePVRTC::WebGLCompressedTexturePVRTC): (WebCore::WebGLCompressedTexturePVRTC::~WebGLCompressedTexturePVRTC): (WebCore::WebGLCompressedTexturePVRTC::getName): (WebCore::WebGLCompressedTexturePVRTC::create): (WebCore::WebGLCompressedTexturePVRTC::supported): * html/canvas/WebGLCompressedTexturePVRTC.h: Copied from Source/WebCore/html/canvas/WebGLExtension.h. (WebCore): (WebGLCompressedTexturePVRTC): * html/canvas/WebGLCompressedTexturePVRTC.idl: Copied from Source/WebCore/html/canvas/WebGLExtension.h. * html/canvas/WebGLExtension.h: * html/canvas/WebGLRenderingContext.cpp: (WebCore): (WebCore::WebGLRenderingContext::paintRenderingResultsToCanvas): (WebCore::WebGLRenderingContext::getExtension): (WebCore::WebGLRenderingContext::getSupportedExtensions): (WebCore::WebGLRenderingContext::validateCompressedTexFuncData): * html/canvas/WebGLRenderingContext.h: (WebCore): (WebGLRenderingContext): LayoutTests: * webgl/conformance/extensions/webgl-compressed-texture-pvrtc-expected.txt: Added. * webgl/conformance/extensions/webgl-compressed-texture-pvrtc.html: Added. * webgl/resources/webgl_test_files/conformance/extensions/webgl-compressed-texture-pvrtc.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146820 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1c667438