Branch: refs/heads/webkitglib/2.52
Home: https://github.com/WebKit/WebKit
Commit: 093e61a7cc7384322f1f61df99b120bdb9c473cd
https://github.com/WebKit/WebKit/commit/093e61a7cc7384322f1f61df99b120bdb9c473cd
Author: Kimmo Kinnunen <[email protected]>
Date: 2026-05-17 (Sun, 17 May 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:
-----------
Cherry-pick 312180@main (856e4464ec42).
https://bugs.webkit.org/show_bug.cgi?id=313387
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
Canonical link: https://commits.webkit.org/305877.514@webkitglib/2.52
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications