Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: cf9f9d26bb1ef3ec4aef27b6ec52fbd14abee7f9
https://github.com/WebKit/WebKit/commit/cf9f9d26bb1ef3ec4aef27b6ec52fbd14abee7f9
Author: Carlos Garcia Campos <[email protected]>
Date: 2026-09-21 (Mon, 21 Sep 2026)
Changed paths:
M Source/WebCore/Headers.cmake
M Source/WebCore/PlatformPlayStation.cmake
M Source/WebCore/PlatformWPE.cmake
M Source/WebCore/PlatformWin.cmake
M Source/WebCore/SourcesGTK.txt
M Source/WebCore/SourcesWPE.txt
M Source/WebCore/platform/CoordinatedGraphics.cmake
M Source/WebCore/platform/TextureMapper.cmake
A Source/WebCore/platform/graphics/android/GraphicsContextGLAndroid.cpp
A Source/WebCore/platform/graphics/android/GraphicsContextGLAndroid.h
R
Source/WebCore/platform/graphics/android/GraphicsContextGLTextureMapperAndroid.cpp
R
Source/WebCore/platform/graphics/android/GraphicsContextGLTextureMapperAndroid.h
M Source/WebCore/platform/graphics/egl/GLContextWrapper.cpp
A Source/WebCore/platform/graphics/egl/GraphicsContextGLEGL.cpp
A Source/WebCore/platform/graphics/egl/GraphicsContextGLEGL.h
A Source/WebCore/platform/graphics/gbm/GraphicsContextGLGBM.cpp
A Source/WebCore/platform/graphics/gbm/GraphicsContextGLGBM.h
R Source/WebCore/platform/graphics/gbm/GraphicsContextGLTextureMapperGBM.cpp
R Source/WebCore/platform/graphics/gbm/GraphicsContextGLTextureMapperGBM.h
R
Source/WebCore/platform/graphics/texmap/GraphicsContextGLTextureMapperANGLE.cpp
R
Source/WebCore/platform/graphics/texmap/GraphicsContextGLTextureMapperANGLE.h
M Source/WebCore/platform/graphics/texmap/TextureMapperGCGLPlatformLayer.cpp
M Source/WebCore/platform/graphics/texmap/TextureMapperGCGLPlatformLayer.h
A
Source/WebCore/platform/graphics/texmap/coordinated/GraphicsContextGLEGLCoordinated.cpp
R
Source/WebCore/platform/graphics/texmap/coordinated/GraphicsContextGLTextureMapperANGLECoordinated.cpp
M Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGL.h
M Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGLGBM.cpp
M Source/WebKit/WebProcess/WebProcess.cpp
M Tools/TestWebKitAPI/PlatformGTK.cmake
M Tools/TestWebKitAPI/PlatformWPE.cmake
A Tools/TestWebKitAPI/Tests/WebCore/glib/GraphicsContextGLEGL.cpp
R Tools/TestWebKitAPI/Tests/WebCore/glib/GraphicsContextGLTextureMapper.cpp
Log Message:
-----------
[TextureMapper] Rename GraphicsContextGLTextureMapper* classes
https://bugs.webkit.org/show_bug.cgi?id=324697
Reviewed by Nikolas Zimmermann.
They are not specific to TextureMapper, so move the base class to the
egl directory and rename it as GraphicsContextGLEGL. All other
implementations based on this one are also renamed as
GraphicsContextGL<implementation>.
* Source/WebCore/Headers.cmake:
* Source/WebCore/PlatformPlayStation.cmake:
* Source/WebCore/PlatformWin.cmake:
* Source/WebCore/SourcesGTK.txt:
* Source/WebCore/SourcesWPE.txt:
* Source/WebCore/platform/CoordinatedGraphics.cmake:
* Source/WebCore/platform/TextureMapper.cmake:
* Source/WebCore/platform/graphics/egl/GLContextWrapper.cpp:
* Source/WebCore/platform/graphics/egl/GraphicsContextGLEGL.cpp: Renamed from
Source/WebCore/platform/graphics/texmap/GraphicsContextGLTextureMapperANGLE.cpp.
(WebCore::GraphicsContextGLANGLE::~GraphicsContextGLANGLE):
(WebCore::GraphicsContextGLANGLE::makeContextCurrent):
(WebCore::GraphicsContextGLANGLE::checkGPUStatus):
(WebCore::GraphicsContextGLANGLE::platformReleaseThreadResources):
(WebCore::GraphicsContextGLEGL::readCompositedResults):
(WebCore::createWebProcessGraphicsContextGL):
(WebCore::GraphicsContextGLEGL::create):
(WebCore::GraphicsContextGLEGL::GraphicsContextGLEGL):
(WebCore::GraphicsContextGLEGL::~GraphicsContextGLEGL):
(WebCore::GraphicsContextGLEGL::layerContentsDisplayDelegate):
(WebCore::GraphicsContextGLEGL::copyTextureFromVideoFrame):
(WebCore::GraphicsContextGLEGL::surfaceBufferToVideoFrame):
(WebCore::GraphicsContextGLEGL::platformInitializeContext):
(WebCore::GraphicsContextGLEGL::platformInitialize):
(WebCore::GraphicsContextGLEGL::swapCompositorTexture):
(WebCore::GraphicsContextGLEGL::reshapeDrawingBuffer):
(WebCore::GraphicsContextGLEGL::prepareForDisplay):
(WebCore::GraphicsContextGLEGL::type const):
(WebCore::GraphicsContextGLEGL::makeCurrentImpl):
(WebCore::GraphicsContextGLEGL::unmakeCurrentImpl):
(WebCore::GraphicsContextGLEGL::glVersion const):
(WebCore::GraphicsContextGLEGL::createExternalSync):
(WebCore::GraphicsContextGLEGL::exportExternalSync):
(WebCore::GraphicsContextGLEGL::addFoveation):
(WebCore::GraphicsContextGLEGL::enableFoveation):
(WebCore::GraphicsContextGLEGL::disableFoveation):
(WebCore::GraphicsContextGLEGL::enableRequiredWebXRExtensions):
* Source/WebCore/platform/graphics/egl/GraphicsContextGLEGL.h: Renamed from
Source/WebCore/platform/graphics/texmap/GraphicsContextGLTextureMapperANGLE.h.
* Source/WebCore/platform/graphics/texmap/TextureMapperGCGLPlatformLayer.cpp:
(WebCore::TextureMapperGCGLPlatformLayer::TextureMapperGCGLPlatformLayer):
* Source/WebCore/platform/graphics/texmap/TextureMapperGCGLPlatformLayer.h:
* Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGL.h:
*
Source/WebCore/platform/graphics/texmap/coordinated/GraphicsContextGLEGLCoordinated.cpp:
Renamed from
Source/WebCore/platform/graphics/texmap/coordinated/GraphicsContextGLTextureMapperANGLECoordinated.cpp.
(WebCore::GraphicsContextGLEGL::setupCurrentTexture):
* Source/WebCore/PlatformWPE.cmake:
* Source/WebCore/platform/graphics/android/GraphicsContextGLAndroid.cpp:
Renamed from
Source/WebCore/platform/graphics/android/GraphicsContextGLTextureMapperAndroid.cpp.
(WebCore::GraphicsContextGLAndroid::create):
(WebCore::GraphicsContextGLAndroid::platformInitializeExtensions):
(WebCore::GraphicsContextGLAndroid::createExternalImage):
(WebCore::GraphicsContextGLAndroid::bindExternalImage):
(WebCore::GraphicsContextGLAndroid::enableRequiredWebXRExtensions):
(WebCore::GraphicsContextGLAndroid::enableRequiredWebXRExtensionsImpl):
* Source/WebCore/platform/graphics/android/GraphicsContextGLAndroid.h: Renamed
from
Source/WebCore/platform/graphics/android/GraphicsContextGLTextureMapperAndroid.h.
* Source/WebCore/platform/graphics/gbm/GraphicsContextGLGBM.cpp: Renamed from
Source/WebCore/platform/graphics/gbm/GraphicsContextGLTextureMapperGBM.cpp.
(WebCore::GraphicsContextGLGBM::checkRequirements):
(WebCore::GraphicsContextGLGBM::create):
(WebCore::GraphicsContextGLGBM::GraphicsContextGLGBM):
(WebCore::GraphicsContextGLGBM::~GraphicsContextGLGBM):
(WebCore::GraphicsContextGLGBM::platformInitialize):
(WebCore::GraphicsContextGLGBM::platformInitializeExtensions):
(WebCore::GraphicsContextGLGBM::createDrawingBuffer const):
(WebCore::GraphicsContextGLGBM::freeDrawingBuffers):
(WebCore::GraphicsContextGLGBM::bindNextDrawingBuffer):
(WebCore::GraphicsContextGLGBM::reshapeDrawingBuffer):
(WebCore::GraphicsContextGLGBM::createExportedFence const):
(WebCore::GraphicsContextGLGBM::prepareForDisplay):
(WebCore::GraphicsContextGLGBM::prepareForDisplayWithFinishedSignal):
(WebCore::GraphicsContextGLGBM::createExternalImage):
(WebCore::GraphicsContextGLGBM::bindExternalImage):
(WebCore::GraphicsContextGLGBM::enableRequiredWebXRExtensions):
(WebCore::GraphicsContextGLGBM::enableRequiredWebXRExtensionsImpl):
* Source/WebCore/platform/graphics/gbm/GraphicsContextGLGBM.h: Renamed from
Source/WebCore/platform/graphics/gbm/GraphicsContextGLTextureMapperGBM.h.
* Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGLGBM.cpp:
(WebKit::RemoteGraphicsContextGLGBM::platformWorkQueueInitialize):
* Source/WebKit/WebProcess/WebProcess.cpp:
(WebKit::WebProcess::shouldUseRemoteRenderingForWebGL const):
* Tools/TestWebKitAPI/PlatformGTK.cmake:
* Tools/TestWebKitAPI/PlatformWPE.cmake:
* Tools/TestWebKitAPI/Tests/WebCore/glib/GraphicsContextGLEGL.cpp: Renamed from
Tools/TestWebKitAPI/Tests/WebCore/glib/GraphicsContextGLTextureMapper.cpp.
(TestWebKitAPI::WebCore::createTestedGraphicsContextGL):
(TestWebKitAPI::WebCore::AnyContextAttributeTest::createTestContext):
(TestWebKitAPI::TEST_F(GraphicsContextGLEGLTest, ClearBufferIncorrectSizes)):
(TestWebKitAPI::TEST_F(GraphicsContextGLEGLTest, DestroyWithoutMakingCurrent)):
(TestWebKitAPI::TEST_F(GraphicsContextGLEGLTest, TwoLinks)):
(TestWebKitAPI::TEST_F(GraphicsContextGLEGLTest,
CopyNativeImageNoDrawingBufferReturnsNullptr)):
(TestWebKitAPI::TEST_F(GraphicsContextGLEGLTest, CopyNativeImageIsNotYFlipped)):
(TestWebKitAPI::TEST_F(GraphicsContextGLEGLTest,
CopyImageAndMutateDrawingBuffer)):
(TestWebKitAPI::TEST_F(GraphicsContextGLEGLReadPixelsTest, readPixelsSuccess)):
(TestWebKitAPI::TEST_F(GraphicsContextGLEGLReadPixelsTest,
readPixelsTooLargeRect)):
(TestWebKitAPI::TEST_F(GraphicsContextGLEGLReadPixelsTest,
readPixelsWithStatusSuccess)):
(TestWebKitAPI::TEST_F(GraphicsContextGLEGLReadPixelsTest,
readPixelsWithStatusTooLargeRect)):
(TestWebKitAPI::TEST_F(GraphicsContextGLEGLReshapeTest, reshapeSuccess)):
(TestWebKitAPI::TEST_F(GraphicsContextGLEGLReshapeTest, reshapeWidthTooLarge)):
(TestWebKitAPI::TEST_F(GraphicsContextGLEGLReshapeTest, reshapeHeightTooLarge)):
Canonical link: https://commits.webkit.org/321576@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications