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

  Changed paths:
    M Source/WebCore/platform/graphics/DMABufBuffer.cpp
    M Source/WebCore/platform/graphics/DMABufBuffer.h
    M 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferDMABuf.cpp

  Log Message:
  -----------
  [GTK][WPE] Skia compositor: move the code to create DMABuf promise images 
from CoordinatedPlatformLayerBufferDMABuf to DMABufBuffer
https://bugs.webkit.org/show_bug.cgi?id=323746

Reviewed by Nikolas Zimmermann.

Not only it really belongs to DMABufBuffer but it will allow to use it
from CoordinatedPlatformLayerBufferVideo without having to use an inner
CoordinatedPlatformLayerBufferDMABuf buffer.

* Source/WebCore/platform/graphics/DMABufBuffer.cpp:
(WebCore::formatIsYUV):
(WebCore::DMABufBuffer::importIfNeeded):
(WebCore::DMABufBuffer::backendTexture const):
(WebCore::DMABufBuffer::setBuffer):
(WebCore::yuvFormatPlaneInfo):
(WebCore::DMABufBuffer::yuvaInfo const):
(WebCore::DMABufBuffer::skiaColorSpace const):
(WebCore::DMABufBuffer::createImage):
(WebCore::PromiseDMABufYUVPlaneContext::PromiseDMABufYUVPlaneContext):
(WebCore::DMABufBuffer::createPromiseImage):
* Source/WebCore/platform/graphics/DMABufBuffer.h:
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferDMABuf.cpp:
(WebCore::CoordinatedPlatformLayerBufferDMABuf::createSkiaImageIfNeeded):
(WebCore::CoordinatedPlatformLayerBufferDMABuf::skiaImage):
(): Deleted.
(WebCore::PromiseDMABufYUVPlaneContext::PromiseDMABufYUVPlaneContext): Deleted.

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



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

Reply via email to