Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8e4c281fd16129e538ce75fa7c6bf0f427ed882d
https://github.com/WebKit/WebKit/commit/8e4c281fd16129e538ce75fa7c6bf0f427ed882d
Author: Dan Glastonbury <[email protected]>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
A LayoutTests/fast/canvas/webgl/debug-messages-to-console-expected.txt
A LayoutTests/fast/canvas/webgl/debug-messages-to-console.html
M LayoutTests/fast/canvas/webgl/index-validation-with-subsequent-draws.html
M LayoutTests/fast/canvas/webgl/invalid-UTF-16.html
M LayoutTests/fast/canvas/webgl/largeBuffer-expected.txt
M LayoutTests/fast/canvas/webgl/largeBuffer.html
M LayoutTests/fast/canvas/webgl/webgl2-texStorage.html
M LayoutTests/fast/canvas/webgl/webgl2-texture-upload-enums.html
M LayoutTests/http/wpt/webxr/resources/webxr_util.js
M LayoutTests/imported/w3c/web-platform-tests/webxr/resources/webxr_util.js
M
LayoutTests/platform/wpe/fast/canvas/webgl/simulated-vertexAttrib0-invalid-indicies-expected.txt
M LayoutTests/webgl/webgl-allow-shared-expected.txt
M LayoutTests/webgl/webgl-allow-shared.html
M LayoutTests/webgl/webgl-multi-draw-noop.html
M Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp
M Source/WebCore/html/canvas/WebGLRenderingContextBase.h
M Source/WebCore/platform/graphics/GraphicsContextGL.h
M Source/WebCore/platform/graphics/angle/GraphicsContextGLANGLE.cpp
M Source/WebCore/platform/graphics/cocoa/GraphicsContextGLCocoa.mm
M
Source/WebCore/platform/graphics/texmap/GraphicsContextGLTextureMapperANGLE.cpp
M Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGL.cpp
M Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGL.h
M Source/WebKit/WebProcess/GPU/graphics/RemoteGraphicsContextGLProxy.cpp
M Source/WebKit/WebProcess/GPU/graphics/RemoteGraphicsContextGLProxy.h
M
Source/WebKit/WebProcess/GPU/graphics/RemoteGraphicsContextGLProxy.messages.in
M Tools/TestWebKitAPI/Tests/WebCore/cocoa/TestGraphicsContextGLCocoa.mm
Log Message:
-----------
[WebGL] Log KHR_debug messages to system console
https://bugs.webkit.org/show_bug.cgi?id=274197
rdar://128107146
Reviewed by Kimmo Kinnunen and Mike Wyrzykowski.
To aid debugging WebGL apps, surface debug messages generated by the KHR_debug
extension for the GL_DEBUG_SOURCE_API message source to the system
console. Errors are formatted in the same manner as other errors resulting from
WebGL operations, where as all other message types are formatted as
informational.
* LayoutTests/fast/canvas/webgl/debug-messages-to-console-expected.txt: Added.
* LayoutTests/fast/canvas/webgl/debug-messages-to-console.html: Added.
* LayoutTests/fast/canvas/webgl/index-validation-with-subsequent-draws.html:
* LayoutTests/fast/canvas/webgl/invalid-UTF-16.html:
* LayoutTests/fast/canvas/webgl/largeBuffer.html:
* LayoutTests/fast/canvas/webgl/webgl2-texStorage.html:
* LayoutTests/webgl/webgl-allow-shared.html:
* LayoutTests/webgl/webgl-multi-draw-noop.html:
* Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp:
(WebCore::glEnumToErrorCode):
(WebCore::resolveGraphicsContextGLAttributes):
(WebCore::debugMessageTypeToString):
(WebCore::debugMessageSeverityToString):
(WebCore::WebGLRenderingContextBase::addDebugMessage):
* Source/WebCore/html/canvas/WebGLRenderingContextBase.h:
* Source/WebCore/platform/graphics/GraphicsContextGL.h:
* Source/WebCore/platform/graphics/angle/GraphicsContextGLANGLE.cpp:
(WebCore::GraphicsContextGLANGLE::initialize):
* Source/WebCore/platform/graphics/cocoa/GraphicsContextGLCocoa.mm:
(WebCore::GraphicsContextGLANGLE::~GraphicsContextGLANGLE):
*
Source/WebCore/platform/graphics/texmap/GraphicsContextGLTextureMapperANGLE.cpp:
(WebCore::GraphicsContextGLANGLE::~GraphicsContextGLANGLE):
* Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGL.cpp:
(WebKit::RemoteGraphicsContextGL::addDebugMessage):
* Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGL.h:
* Source/WebKit/WebProcess/GPU/graphics/RemoteGraphicsContextGLProxy.cpp:
(WebKit::RemoteGraphicsContextGLProxy::wasLost):
(WebKit::RemoteGraphicsContextGLProxy::addDebugMessage):
* Source/WebKit/WebProcess/GPU/graphics/RemoteGraphicsContextGLProxy.h:
*
Source/WebKit/WebProcess/GPU/graphics/RemoteGraphicsContextGLProxy.messages.in:
* Tools/TestWebKitAPI/Tests/WebCore/cocoa/TestGraphicsContextGLCocoa.mm:
Canonical link: https://commits.webkit.org/279786@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes