Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5bb30ebcb21b01121b9a9281e0d1a00d7c3ba749
https://github.com/WebKit/WebKit/commit/5bb30ebcb21b01121b9a9281e0d1a00d7c3ba749
Author: Kimmo Kinnunen <[email protected]>
Date: 2026-05-05 (Tue, 05 May 2026)
Changed paths:
A LayoutTests/webgl/compressed-tex-formats-after-context-lost-expected.txt
A LayoutTests/webgl/compressed-tex-formats-after-context-lost.html
A LayoutTests/webgl/query-context-lost-restore-expected.txt
A LayoutTests/webgl/query-context-lost-restore.html
M Source/WebCore/html/canvas/WebGL2RenderingContext.cpp
M Source/WebCore/html/canvas/WebGLRenderingContext.cpp
M Source/WebCore/html/canvas/WebGLRenderingContext.h
M Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp
Log Message:
-----------
WebGL: Some context state properties are not reset on context loss
https://bugs.webkit.org/show_bug.cgi?id=313989
rdar://176190808
Reviewed by Dan Glastonbury.
Reset active queries holders and compressed texture format list
on context loss.
* Source/WebCore/html/canvas/WebGL2RenderingContext.cpp:
(WebCore::WebGL2RenderingContext::initializeContextState):
* Source/WebCore/html/canvas/WebGLRenderingContext.cpp:
(WebCore::WebGLRenderingContext::initializeContextState):
* Source/WebCore/html/canvas/WebGLRenderingContext.h:
* Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp:
(WebCore::WebGLRenderingContextBase::initializeContextState):
Canonical link: https://commits.webkit.org/312605@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications