Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1d16639f9d572ad6d75224c49b9cf0ca598e3bbc
https://github.com/WebKit/WebKit/commit/1d16639f9d572ad6d75224c49b9cf0ca598e3bbc
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:
-----------
[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
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