Changeset 295342 in webkit
- Timestamp:
- Jun 7, 2022, 6:08:34 AM (4 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
LayoutTests/TestExpectations (modified) (1 diff)
-
Source/WebCore/html/canvas/WebGL2RenderingContext.cpp (modified) (2 diffs)
-
Source/WebCore/html/canvas/WebGL2RenderingContext.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/TestExpectations
r295279 r295342 3782 3782 webgl/2.0.y/conformance2/extensions/ext-texture-norm16.html [ Pass ] 3783 3783 webgl/2.0.y/conformance2/extensions/oes-draw-buffers-indexed.html [ Pass ] 3784 webgl/2.0.y/conformance2/extensions/promoted-extensions-in-shaders.html [ Pass ] 3784 3785 3785 3786 # WebGL 1.0.3 and 2.0.0 tests where behavior is obsolete and WebKit contains implementation -
trunk/Source/WebCore/html/canvas/WebGL2RenderingContext.cpp
r295279 r295342 182 182 m_boundSamplers.clear(); 183 183 m_boundSamplers.resize(m_textureUnits.size()); 184 185 // FIXME: this should likely be removed.186 initializeShaderExtensions();187 184 } 188 185 … … 238 235 #endif 239 236 240 }241 242 void WebGL2RenderingContext::initializeShaderExtensions()243 {244 // FIXME: these are in the WebGL 2.0 core API and should be removed.245 m_context->ensureExtensionEnabled("GL_OES_standard_derivatives"_s);246 m_context->ensureExtensionEnabled("GL_EXT_draw_buffers"_s);247 m_context->ensureExtensionEnabled("GL_EXT_shader_texture_lod"_s);248 m_context->ensureExtensionEnabled("GL_EXT_frag_depth"_s);249 237 } 250 238 -
trunk/Source/WebCore/html/canvas/WebGL2RenderingContext.h
r295279 r295342 309 309 GCGLenum baseInternalFormatFromInternalFormat(GCGLenum internalformat); 310 310 bool isIntegerFormat(GCGLenum internalformat); 311 void initializeShaderExtensions();312 311 bool setIndexedBufferBinding(const char *functionName, GCGLenum target, GCGLuint index, WebGLBuffer*); 313 312
Note:
See TracChangeset
for help on using the changeset viewer.