Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ef8296de8bc58c4434fb79656f78a76cea852ca3
      
https://github.com/WebKit/WebKit/commit/ef8296de8bc58c4434fb79656f78a76cea852ca3
  Author: Philippe Normand <[email protected]>
  Date:   2024-07-12 (Fri, 12 Jul 2024)

  Changed paths:
    M Source/WebCore/platform/SourcesGStreamer.txt
    A Source/WebCore/platform/graphics/gstreamer/DMABufUtilities.cpp
    A Source/WebCore/platform/graphics/gstreamer/DMABufUtilities.h
    M Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
    M Source/WebCore/platform/network/DataURLDecoder.cpp

  Log Message:
  -----------
  [GStreamer] Move some DMABuf-related code from the player to a new 
DMABufUtilities file
https://bugs.webkit.org/show_bug.cgi?id=276481

Reviewed by Xabier Rodriguez-Calvar.

Refactoring aiming to reduce a bit the size of 
MediaPlayerPrivateGStreamer::pushDMABufToCompositor()
and improve readability.

* Source/WebCore/platform/SourcesGStreamer.txt:
* Source/WebCore/platform/graphics/gstreamer/DMABufUtilities.cpp: Added.
(WebCore::DMABufDestination::DMABufDestination):
(WebCore::DMABufDestination::~DMABufDestination):
(WebCore::DMABufDestination::copyPlaneData):
(WebCore::fillSwapChainBuffer):
* Source/WebCore/platform/graphics/gstreamer/DMABufUtilities.h: Added.
(WebCore::dmaBufFourccValue):
(WebCore::dmaBufColorSpaceForColorimetry):
(WebCore::DMABufDestination::mappingLock):
* Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::pushDMABufToCompositor):
(WebCore::fourccValue): Deleted.
(WebCore::colorSpaceForColorimetry): Deleted.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to