Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 856e4464ec42f0770ecac688fed1a932b30d52bc
      
https://github.com/WebKit/WebKit/commit/856e4464ec42f0770ecac688fed1a932b30d52bc
  Author: Kimmo Kinnunen <[email protected]>
  Date:   2026-04-27 (Mon, 27 Apr 2026)

  Changed paths:
    M LayoutTests/TestExpectations
    M Source/WebCore/html/canvas/WebGL2RenderingContext.cpp
    M Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp
    M Source/WebCore/html/canvas/WebGLRenderingContextBase.h

  Log Message:
  -----------
  WebGL: compressedTexImage does not check if the texture format has been 
enabled
https://bugs.webkit.org/show_bug.cgi?id=313387
rdar://175652171

Reviewed by Dan Glastonbury.

Fix and enable
webgl/2.0.y/conformance2/textures/misc/compressed-tex-image.html

Check the compressed texture allow list before forwarding the call.

* LayoutTests/TestExpectations:
* Source/WebCore/html/canvas/WebGL2RenderingContext.cpp:
(WebCore::WebGL2RenderingContext::compressedTexImage2D):
(WebCore::WebGL2RenderingContext::compressedTexImage3D):
(WebCore::WebGL2RenderingContext::compressedTexSubImage2D):
(WebCore::WebGL2RenderingContext::compressedTexSubImage3D):
* Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp:
(WebCore::WebGLRenderingContextBase::compressedTexImage2D):
(WebCore::WebGLRenderingContextBase::compressedTexSubImage2D):
(WebCore::WebGLRenderingContextBase::validateCompressedTexFormat):
* Source/WebCore/html/canvas/WebGLRenderingContextBase.h:

Canonical link: https://commits.webkit.org/312180@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to