Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: cd04e05d1a61d6f90939d3c2cd1f0cd019796f9e
https://github.com/WebKit/WebKit/commit/cd04e05d1a61d6f90939d3c2cd1f0cd019796f9e
Author: Carlos Garcia Campos <[email protected]>
Date: 2026-09-10 (Thu, 10 Sep 2026)
Changed paths:
M Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp
M Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.h
M
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBuffer.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/CoordinatedPlatformLayerBufferYUV.cpp
M
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferYUV.h
Log Message:
-----------
[GTK][WPE] Skia compositor: use promise images for video buffers using GL
memory
https://bugs.webkit.org/show_bug.cgi?id=323752
Reviewed by Nikolas Zimmermann.
Stop using inner buffers for video buffers and use SkImage directly.
We only use an inner buffer for the case of qualcom video that will be
handled in the folow up commit. After this patch
CoordinatedPlatformLayerBufferYUV is no lnger used by the skia
compositor, but we still need to build it conditionally because we are
stil using a few class enums for the qualcom case.
* Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp:
(WebCore::GstMappedFrame::glMemory const):
(WebCore::GstMappedFrame::textureID const):
(WebCore::GstMappedFrame::textureSize const):
(WebCore::GstMappedFrame::textureFormat const):
(WebCore::GstMappedFrame::waitSyncCPUIfNeeded const):
(WebCore::GstMappedFrame::waitForCPUSyncIfNeeded const):
* Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.h:
(WebCore::GstMappedFrame::setNeedsCPUSync):
*
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBuffer.h:
*
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferVideo.cpp:
(WebCore::CoordinatedPlatformLayerBufferVideo::CoordinatedPlatformLayerBufferVideo):
(WebCore::CoordinatedPlatformLayerBufferVideo::createBufferIfNeeded):
(WebCore::CoordinatedPlatformLayerBufferVideo::createBufferFromDMABufMemory):
(WebCore::CoordinatedPlatformLayerBufferVideo::createBufferFromGLMemory):
(WebCore::CoordinatedPlatformLayerBufferVideo::createBufferFromMappedFrameIfNeeded):
(WebCore::PromiseGLVideoPlaneContext::PromiseGLVideoPlaneContext):
(WebCore::isSinglePlaneGLMemory):
(WebCore::CoordinatedPlatformLayerBufferVideo::createSkiaImageIfNeeded):
(WebCore::CoordinatedPlatformLayerBufferVideo::skiaImage):
(WebCore::CoordinatedPlatformLayerBufferVideo::createSkiaImageForQualcommDecoder):
(WebCore::CoordinatedPlatformLayerBufferVideo::createSkiaImageForDMABufMemory):
(WebCore::CoordinatedPlatformLayerBufferVideo::createSkiaImageForMainMemory):
(WebCore::CoordinatedPlatformLayerBufferVideo::createSkiaImageForGLMemory):
(WebCore::CoordinatedPlatformLayerBufferVideo::createSkiaImageForSinglePlaneGLMemory):
(WebCore::buildYUVAInfoFromMappedFrame):
(WebCore::CoordinatedPlatformLayerBufferVideo::createSkiaImageForYUVGLMemory):
*
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferVideo.h:
*
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferYUV.cpp:
(WebCore::CoordinatedPlatformLayerBufferYUV::skiaImage): Deleted.
*
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferYUV.h:
Canonical link: https://commits.webkit.org/320901@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications