Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2eb27f58250e776cf8c45f292856cdef65412c62
      
https://github.com/WebKit/WebKit/commit/2eb27f58250e776cf8c45f292856cdef65412c62
  Author: Carlos Garcia Campos <cgar...@igalia.com>
  Date:   2024-09-10 (Tue, 10 Sep 2024)

  Changed paths:
    M LayoutTests/platform/glib/TestExpectations
    M Source/WebCore/SourcesGTK.txt
    M Source/WebCore/SourcesWPE.txt
    M Source/WebCore/platform/TextureMapper.cmake
    M Source/WebCore/platform/graphics/egl/GLContext.cpp
    M Source/WebCore/platform/graphics/gbm/DMABufBuffer.cpp
    M Source/WebCore/platform/graphics/gbm/DMABufBuffer.h
    R Source/WebCore/platform/graphics/gbm/GraphicsContextGLGBM.cpp
    R Source/WebCore/platform/graphics/gbm/GraphicsContextGLGBM.h
    M Source/WebCore/platform/graphics/gbm/GraphicsContextGLTextureMapperGBM.cpp
    M Source/WebCore/platform/graphics/gbm/GraphicsContextGLTextureMapperGBM.h
    M 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferDMABuf.cpp
    M 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferDMABuf.h
    M Source/WebKit/GPUProcess/GPUProcess.cpp
    M Source/WebKit/GPUProcess/glib/GPUProcessGLib.cpp
    M Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGL.h
    M Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGL.messages.in
    M Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGLGBM.cpp
    M Source/WebKit/GPUProcess/graphics/WebGPU/WebGPUObjectHeap.cpp
    M Source/WebKit/PlatformGTK.cmake
    M Source/WebKit/PlatformWPE.cmake
    M Source/WebKit/Scripts/webkit/messages.py
    A Source/WebKit/Shared/gbm/DMABufBuffer.serialization.in
    R Source/WebKit/Shared/glib/DMABufObject.serialization.in
    M Source/WebKit/SourcesGTK.txt
    M Source/WebKit/SourcesWPE.txt
    M Source/WebKit/UIProcess/WebProcessPool.cpp
    M 
Source/WebKit/WebProcess/GPU/graphics/gbm/RemoteGraphicsContextGLProxyGBM.cpp
    M Source/cmake/OptionsGTK.cmake
    M Source/cmake/OptionsWPE.cmake

  Log Message:
  -----------
  [GTK][WPE] Use GraphicsContextGLTextureMapperGBM in the GPU process
https://bugs.webkit.org/show_bug.cgi?id=279257

Reviewed by Alejandro G. Castro.

We can use GraphicsContextGLTextureMapperGBM in the GPU process too.
This patch enables the GPU process build by default when GBM is
available, but the runtime setting is still disabled by default.

* LayoutTests/platform/glib/TestExpectations:
* Source/WebCore/SourcesGTK.txt:
* Source/WebCore/SourcesWPE.txt:
* Source/WebCore/platform/TextureMapper.cmake:
* Source/WebCore/platform/graphics/egl/GLContext.cpp:
(WebCore::GLContext::~GLContext):
* Source/WebCore/platform/graphics/gbm/DMABufBuffer.cpp:
(WebCore::DMABufBuffer::DMABufBuffer):
(WebCore::DMABufBuffer::takeAttributes):
* Source/WebCore/platform/graphics/gbm/DMABufBuffer.h:
* Source/WebCore/platform/graphics/gbm/GraphicsContextGLGBM.cpp: Removed.
* Source/WebCore/platform/graphics/gbm/GraphicsContextGLGBM.h: Removed.
* Source/WebCore/platform/graphics/gbm/GraphicsContextGLTextureMapperGBM.cpp:
(WebCore::GraphicsContextGLTextureMapperGBM::platformInitializeExtensions):
(WebCore::GraphicsContextGLTextureMapperGBM::prepareForDisplay):
(WebCore::GraphicsContextGLTextureMapperGBM::prepareForDisplayWithFinishedSignal):
* Source/WebCore/platform/graphics/gbm/GraphicsContextGLTextureMapperGBM.h:
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferDMABuf.cpp:
(WebCore::CoordinatedPlatformLayerBufferDMABuf::create):
(WebCore::CoordinatedPlatformLayerBufferDMABuf::CoordinatedPlatformLayerBufferDMABuf):
(WebCore::CoordinatedPlatformLayerBufferDMABuf::paintToTextureMapper):
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferDMABuf.h:
* Source/WebKit/GPUProcess/GPUProcess.cpp:
(WebKit::GPUProcess::initializeGPUProcess):
* Source/WebKit/GPUProcess/glib/GPUProcessGLib.cpp:
(WebKit::GPUProcess::platformInitializeGPUProcess):
* Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGL.h:
* Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGL.messages.in:
* Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGLGBM.cpp:
(WebKit::RemoteGraphicsContextGLGBM::platformWorkQueueInitialize):
(WebKit::RemoteGraphicsContextGLGBM::prepareForDisplay):
* Source/WebKit/GPUProcess/graphics/WebGPU/WebGPUObjectHeap.cpp:
* Source/WebKit/PlatformGTK.cmake:
* Source/WebKit/PlatformWPE.cmake:
* Source/WebKit/Scripts/webkit/messages.py:
(types_that_must_be_moved):
(headers_for_type):
* Source/WebKit/Shared/glib/DMABufObject.serialization.in: Removed.
* Source/WebKit/SourcesGTK.txt:
* Source/WebKit/SourcesWPE.txt:
* Source/WebKit/WebProcess/GPU/graphics/gbm/RemoteGraphicsContextGLProxyGBM.cpp:
(WebKit::RemoteGraphicsContextGLProxyGBM::prepareForDisplay):
(WebKit::RemoteGraphicsContextGLProxy::platformCreate):
(WebKit::DisplayDelegate::DisplayDelegate): Deleted.
(WebKit::DisplayDelegate::~DisplayDelegate): Deleted.
(WebKit::RemoteGraphicsContextGLProxyGBM::RemoteGraphicsContextGLProxyGBM): 
Deleted.
(WebKit::RemoteGraphicsContextGLProxyGBM::layerContentsDisplayDelegate): 
Deleted.
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsWPE.cmake:

Canonical link: https://commits.webkit.org/283461@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to