12019-10-03 James Darpinian <jdarpinian@chromium.org>
2
3 Fix WebGL 1 conformance regressions when USE_ANGLE=1
4 https://bugs.webkit.org/show_bug.cgi?id=202545
5
6 Prevent ANGLE from automatically using ES3 when ES2 is requested.
7
8 WEBGL_debug_shaders extension should not accept or return null.
9
10 Enable ANGLE's new support for emulating RGB on RGBA IOSurfaces.
11
12 Reviewed by NOBODY (OOPS!).
13
14 * html/canvas/WebGLDebugShaders.cpp:
15 (WebCore::WebGLDebugShaders::getTranslatedShaderSource):
16 * html/canvas/WebGLDebugShaders.h:
17 * html/canvas/WebGLDebugShaders.idl:
18 * html/canvas/WebGLRenderingContextBase.cpp:
19 (WebCore::WebGLRenderingContextBase::validateVertexAttributes):
20 * platform/graphics/angle/Extensions3DANGLE.cpp:
21 (WebCore::Extensions3DANGLE::getTranslatedShaderSourceANGLE):
22 * platform/graphics/cocoa/GraphicsContext3DCocoa.mm:
23 (WebCore::GraphicsContext3D::GraphicsContext3D):
24 * platform/graphics/cocoa/WebGLLayer.mm:
25 (-[WebGLLayer allocateIOSurfaceBackingStoreWithSize:usingAlpha:]):
26