12019-08-23 Austin Eng <enga@chromium.org>
2
3 Create ANGLE EGL Context with all extensions disabled by default
4 https://bugs.webkit.org/show_bug.cgi?id=200900
5
6 Reviewed by NOBODY (OOPS!).
7
8 In WebGL, extensions must be explicitly requested before they are enabled.
9 Fixes the following WebGL conformance tests with the ANGLE backend
10 LayoutTests/webgl/*/conformance/extensions/ext-blend-minmax.html
11 LayoutTests/webgl/*/conformance/extensions/ext-frag-depth.html
12 LayoutTests/webgl/*/conformance/extensions/ext-shader-texture-lod.html
13 LayoutTests/webgl/*/conformance/extensions/ext-sRGB.html
14 LayoutTests/webgl/*/conformance/extensions/oes-standard-derivatives.html
15 LayoutTests/webgl/*/conformance/extensions/oes-texture-float.html
16 LayoutTests/webgl/*/conformance/extensions/webgl-compressed-texture-s3tc.html
17 LayoutTests/webgl/*/conformance/glsl/misc/shader-with-dfdx.frag.html
18 LayoutTests/webgl/*/conformance/glsl/variables/glsl-built-ins.html
19 LayoutTests/webgl/*/conformance/textures/misc/texture-npot-video.html
20 LayoutTests/webgl/*/conformance/textures/misc/texture-npot.html
21
22 * html/canvas/ANGLEInstancedArrays.cpp:
23 (WebCore::ANGLEInstancedArrays::ANGLEInstancedArrays):
24 (WebCore::ANGLEInstancedArrays::supported):
25 * html/canvas/WebGLCompressedTextureASTC.cpp:
26 (WebCore::WebGLCompressedTextureASTC::WebGLCompressedTextureASTC):
27 * html/canvas/WebGLCompressedTextureATC.cpp:
28 (WebCore::WebGLCompressedTextureATC::WebGLCompressedTextureATC):
29 * html/canvas/WebGLCompressedTexturePVRTC.cpp:
30 (WebCore::WebGLCompressedTexturePVRTC::WebGLCompressedTexturePVRTC):
31 * html/canvas/WebGLCompressedTextureS3TC.cpp:
32 (WebCore::WebGLCompressedTextureS3TC::WebGLCompressedTextureS3TC):
33 (WebCore::WebGLCompressedTextureS3TC::supported):
34 * html/canvas/WebGLDebugShaders.cpp:
35 (WebCore::WebGLDebugShaders::WebGLDebugShaders):
36 * html/canvas/WebGLDepthTexture.cpp:
37 (WebCore::WebGLDepthTexture::WebGLDepthTexture):
38 * html/canvas/WebGLDrawBuffers.cpp:
39 (WebCore::WebGLDrawBuffers::WebGLDrawBuffers):
40 (WebCore::WebGLDrawBuffers::supported):
41 * platform/graphics/angle/GraphicsContext3DANGLE.cpp:
42 (WebCore::GraphicsContext3D::reshapeFBOs):
43 (WebCore::GraphicsContext3D::validateDepthStencil):
44 * platform/graphics/cocoa/GraphicsContext3DCocoa.mm:
45 (WebCore::GraphicsContext3D::GraphicsContext3D):
46