Branch: refs/heads/webkitglib/2.50
Home: https://github.com/WebKit/WebKit
Commit: a84c180dc436c11c1858a49c2739840afe850679
https://github.com/WebKit/WebKit/commit/a84c180dc436c11c1858a49c2739840afe850679
Author: Miguel Gomez <[email protected]>
Date: 2025-10-06 (Mon, 06 Oct 2025)
Changed paths:
M Source/WebCore/platform/graphics/PlatformDisplay.cpp
M Source/WebCore/platform/graphics/PlatformDisplay.h
M Source/WebCore/platform/graphics/angle/GraphicsContextGLANGLE.h
M Source/WebCore/platform/graphics/angle/PlatformDisplayANGLE.cpp
M
Source/WebCore/platform/graphics/texmap/GraphicsContextGLTextureMapperANGLE.cpp
Log Message:
-----------
Cherry-pick 301043@main (1d16639f9d57).
https://bugs.webkit.org/show_bug.cgi?id=300085
[GTK][WPE] OpenGL assets created by WebGL are not released when destroying
the WebGLRenderingContext
https://bugs.webkit.org/show_bug.cgi?id=300085
Reviewed by Carlos Garcia Campos.
Stop using a singleton for the ANGLE sharing context. Each ANGLE context
will use
its own ANGLE sharing context instead, that will be created and destroyed
together
with the ANGLE context. This ensures that all the OpenGL resources that
were created
by ANGLE will be destroyed when the contexts are destroyed.
* Source/WebCore/platform/graphics/PlatformDisplay.cpp:
(WebCore::PlatformDisplay::clearGLContexts):
* Source/WebCore/platform/graphics/PlatformDisplay.h:
* Source/WebCore/platform/graphics/angle/GraphicsContextGLANGLE.h:
* Source/WebCore/platform/graphics/angle/PlatformDisplayANGLE.cpp:
(WebCore::PlatformDisplay::angleSharingGLContext):
(WebCore::PlatformDisplay::clearANGLESharingGLContext): Deleted.
*
Source/WebCore/platform/graphics/texmap/GraphicsContextGLTextureMapperANGLE.cpp:
(WebCore::GraphicsContextGLANGLE::~GraphicsContextGLANGLE):
(WebCore::GraphicsContextGLTextureMapperANGLE::platformInitializeContext):
Canonical link: https://commits.webkit.org/301043@main
Canonical link: https://commits.webkit.org/298234.166@webkitglib/2.50
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