Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: aff40b8d27163b19642dd6bcc8efac3a5382e151
      
https://github.com/WebKit/WebKit/commit/aff40b8d27163b19642dd6bcc8efac3a5382e151
  Author: Philippe Normand <[email protected]>
  Date:   2025-12-05 (Fri, 05 Dec 2025)

  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/CoordinatedPlatformLayerBufferVideo.cpp
    M 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferVideo.h

  Log Message:
  -----------
  [GStreamer] Use GstMappedFrame helper class in CoordinatePlatformLayer 
classes used for video rendering
https://bugs.webkit.org/show_bug.cgi?id=303478

Reviewed by Xabier Rodriguez-Calvar.

Using GstMappedFrame makes the code of CoordinatePlatformLayer classes a bit 
simpler as there is no
need anymore for the m_isMapped attribute. Some new methods were added in 
GstMappedFrame as well to
make its usage a bit more idiomatic.

* Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp:
(WebCore::GstMappedFrame::create):
(WebCore::GstMappedFrame::textureID const):
(WebCore::GstMappedFrame::componentPlane const):
(WebCore::GstMappedFrame::componentPlaneOffset const):
* Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.h:
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferVideo.cpp:
(WebCore::CoordinatedPlatformLayerBufferVideo::create):
(WebCore::CoordinatedPlatformLayerBufferVideo::CoordinatedPlatformLayerBufferVideo):
(WebCore::CoordinatedPlatformLayerBufferVideo::createBufferIfNeeded):
(WebCore::CoordinatedPlatformLayerBufferVideo::createBufferFromDMABufMemory):
(WebCore::CoordinatedPlatformLayerBufferVideo::createBufferFromGLMemory):
(WebCore::CoordinatedPlatformLayerBufferVideo::paintToTextureMapper):
(WebCore::CoordinatedPlatformLayerBufferVideo::~CoordinatedPlatformLayerBufferVideo):
 Deleted.
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferVideo.h:

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



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

Reply via email to