Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2cc3c0c7e6f2fe04b02761a4815486fd7a023e44
      
https://github.com/WebKit/WebKit/commit/2cc3c0c7e6f2fe04b02761a4815486fd7a023e44
  Author: Carlos Garcia Campos <[email protected]>
  Date:   2026-09-22 (Tue, 22 Sep 2026)

  Changed paths:
    M Source/WebCore/platform/CoordinatedGraphics.cmake
    M Source/WebCore/platform/graphics/android/GraphicsContextGLAndroid.cpp
    M Source/WebCore/platform/graphics/egl/BitmapTexture.cpp
    M Source/WebCore/platform/graphics/egl/GraphicsContextGLEGL.cpp
    M Source/WebCore/platform/graphics/gbm/GraphicsContextGLGBM.cpp
    M Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
    M Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h
    M 
Source/WebCore/platform/graphics/skia/ImageBufferSkiaAcceleratedBackend.cpp
    M Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.cpp
    M Source/WebCore/platform/graphics/texmap/TextureMapperFlags.h
    M 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBuffer.h
    M 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferDMABuf.cpp
    M 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferDMABuf.h
    M 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferHolePunch.cpp
    M 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferSkiaDeferredImage.cpp
    M 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferSkiaDeferredImage.h
    M 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferSkiaImage.cpp
    M 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferSkiaImage.h
    M 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferVideo.cpp
    M 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferVideo.h
    M 
Source/WebCore/platform/graphics/texmap/coordinated/GraphicsLayerAsyncContentsDisplayDelegateCoordinated.cpp
    M 
Source/WebKit/WebProcess/GPU/graphics/gbm/RemoteGraphicsContextGLProxyGBM.cpp

  Log Message:
  -----------
  [GTK][WPE] Skia compositor: stop using TextureMapperFlags for 
CoordinatedPlatformLayerBuffer
https://bugs.webkit.org/show_bug.cgi?id=324802

Reviewed by Nikolas Zimmermann.

Use our own enums for alpha mode, origin and rotation and use them
instead of TextureMapperFlags. For the media player
m_textureMapperFlags and updateTextureMapperFlags has been removed,
since we can just pass m_videoSourceOrientation to the buffer create()
methods that will convert to TextureMapperFlags for texture mapper and
origin and rotation for skia compositor.

* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBuffer.h:
(WebCore::CoordinatedPlatformLayerBuffer::isOpaque const):
(WebCore::CoordinatedPlatformLayerBuffer::rotation const):
(WebCore::CoordinatedPlatformLayerBuffer::CoordinatedPlatformLayerBuffer):
(WebCore::CoordinatedPlatformLayerBuffer::toSkiaAlphaType):
(WebCore::CoordinatedPlatformLayerBuffer::toSkiaOrigin):
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferDMABuf.h:
* Source/WebCore/platform/graphics/egl/GraphicsContextGLEGL.cpp:
(WebCore::GraphicsContextGLEGL::prepareForDisplay):
* Source/WebCore/platform/graphics/gbm/GraphicsContextGLGBM.cpp:
(WebCore::GraphicsContextGLGBM::prepareForDisplay):
* Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::configureVideoDecoder):
(WebCore::MediaPlayerPrivateGStreamer::pushTextureToCompositor):
(WebCore::MediaPlayerPrivateGStreamer::setVideoSourceOrientation):
(WebCore::MediaPlayerPrivateGStreamer::updateOrientation):
(WebCore::MediaPlayerPrivateGStreamer::updateTextureMapperFlags): Deleted.
* Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferDMABuf.cpp:
(WebCore::CoordinatedPlatformLayerBufferDMABuf::create):
(WebCore::CoordinatedPlatformLayerBufferDMABuf::CoordinatedPlatformLayerBufferDMABuf):
(WebCore::CoordinatedPlatformLayerBufferDMABuf::initializeSkiaImage):
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferHolePunch.cpp:
(WebCore::CoordinatedPlatformLayerBufferHolePunch::CoordinatedPlatformLayerBufferHolePunch):
(WebCore::m_quirksManager): Deleted.
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferSkiaDeferredImage.cpp:
(WebCore::CoordinatedPlatformLayerBufferSkiaDeferredImage::create):
(WebCore::CoordinatedPlatformLayerBufferSkiaDeferredImage::CoordinatedPlatformLayerBufferSkiaDeferredImage):
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferSkiaDeferredImage.h:
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferSkiaImage.cpp:
(WebCore::CoordinatedPlatformLayerBufferSkiaImage::create):
(WebCore::CoordinatedPlatformLayerBufferSkiaImage::CoordinatedPlatformLayerBufferSkiaImage):
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferSkiaImage.h:
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferVideo.cpp:
(WebCore::CoordinatedPlatformLayerBufferVideo::create):
(WebCore::CoordinatedPlatformLayerBufferVideo::CoordinatedPlatformLayerBufferVideo):
(WebCore::CoordinatedPlatformLayerBufferVideo::copyBuffer const):
(WebCore::CoordinatedPlatformLayerBufferVideo::createSkiaImageIfNeeded):
(WebCore::CoordinatedPlatformLayerBufferVideo::createSkiaImageForQualcommDecoder):
(WebCore::CoordinatedPlatformLayerBufferVideo::createSkiaImageForDMABufMemory):
(WebCore::CoordinatedPlatformLayerBufferVideo::createSkiaImageForMainMemory):
(WebCore::CoordinatedPlatformLayerBufferVideo::createSkiaImageForGLMemory):
(WebCore::CoordinatedPlatformLayerBufferVideo::createSkiaImageForSinglePlaneGLMemory):
(WebCore::CoordinatedPlatformLayerBufferVideo::createSkiaImageForYUVGLMemory):
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferVideo.h:
* Source/WebKit/WebProcess/GPU/graphics/gbm/RemoteGraphicsContextGLProxyGBM.cpp:
(WebKit::RemoteGraphicsContextGLProxyGBM::prepareForDisplay):
* Source/WebCore/platform/CoordinatedGraphics.cmake:
* Source/WebCore/platform/graphics/android/GraphicsContextGLAndroid.cpp:
* Source/WebCore/platform/graphics/egl/BitmapTexture.cpp:
* Source/WebCore/platform/graphics/skia/ImageBufferSkiaAcceleratedBackend.cpp:
* Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.cpp:
(WebCore::rotateContentsIfNeeded):
(WebCore::SkiaCompositingLayer::paintContents):
* Source/WebCore/platform/graphics/texmap/TextureMapperFlags.h:
* 
Source/WebCore/platform/graphics/texmap/coordinated/GraphicsLayerAsyncContentsDisplayDelegateCoordinated.cpp:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to