Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 29b0c50957f19a3849848a7d08f46b888000ff9d
      
https://github.com/WebKit/WebKit/commit/29b0c50957f19a3849848a7d08f46b888000ff9d
  Author: Carlos Garcia Campos <[email protected]>
  Date:   2026-08-20 (Thu, 20 Aug 2026)

  Changed paths:
    M Source/WebCore/platform/graphics/gbm/GraphicsContextGLTextureMapperGBM.cpp
    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/CoordinatedPlatformLayerBufferRGB.cpp
    M 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferRGB.h
    M 
Source/WebKit/WebProcess/GPU/graphics/gbm/RemoteGraphicsContextGLProxyGBM.cpp

  Log Message:
  -----------
  [GTK][WPE] Skia compositor: use promise images for WebGL DMABuf
buffers
https://bugs.webkit.org/show_bug.cgi?id=321923

Reviewed by Nikolas Zimmermann.

Create a promise image that imports the DMABuf from the compositing thread when 
needed.

* Source/WebCore/platform/graphics/gbm/GraphicsContextGLTextureMapperGBM.cpp:
(WebCore::GraphicsContextGLTextureMapperGBM::prepareForDisplay):
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferDMABuf.cpp:
(WebCore::CoordinatedPlatformLayerBufferDMABuf::create):
(WebCore::CoordinatedPlatformLayerBufferDMABuf::CoordinatedPlatformLayerBufferDMABuf):
(WebCore::PromiseDMABufImageContext::PromiseDMABufImageContext):
(WebCore::PromiseDMABufImageContext::promiseImageTexture):
(WebCore::CoordinatedPlatformLayerBufferDMABuf::createSkiaImageIfNeeded):
(WebCore::CoordinatedPlatformLayerBufferDMABuf::skiaImage):
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferDMABuf.h:
*
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferRGB.cpp:
(WebCore::CoordinatedPlatformLayerBufferRGB::textureID const):
(WebCore::CoordinatedPlatformLayerBufferRGB::skiaImage):
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferRGB.h:
* Source/WebKit/WebProcess/GPU/graphics/gbm/RemoteGraphicsContextGLProxyGBM.cpp:
(WebKit::RemoteGraphicsContextGLProxyGBM::prepareForDisplay):

Canonical link: 
https://flagged.apple.com:443/proxy?t2=DB8t0z0jV2&o=aHR0cHM6Ly9jb21taXRzLndlYmtpdC5vcmcvMzE5NTE5QG1haW4=&emid=a8e56562-fee6-44ad-8fb3-17928c54b595&c=11



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

Reply via email to