Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 70b15c333938fb66571b288480c05bab42435914
      
https://github.com/WebKit/WebKit/commit/70b15c333938fb66571b288480c05bab42435914
  Author: Adrian Perez de Castro <[email protected]>
  Date:   2024-06-05 (Wed, 05 Jun 2024)

  Changed paths:
    M Source/WebCore/Headers.cmake
    M Source/WebCore/platform/graphics/gbm/DMABufFormat.h
    M Source/WebCore/platform/graphics/gbm/DMABufObject.h
    M Source/WebCore/platform/graphics/gbm/DMABufReleaseFlag.h
    M Source/WebKit/PlatformGTK.cmake
    M Source/WebKit/PlatformWPE.cmake
    A Source/WebKit/Shared/glib/DMABufObject.serialization.in

  Log Message:
  -----------
  [GLib] Build broken with GPUProcess enabled
https://bugs.webkit.org/show_bug.cgi?id=274965

Reviewed by Carlos Garcia Campos.

Use the new ArgumentCoder infrastructure for DMABufObject and its
related types, adding the needed descriptions in new .serialization.in
file, and removing the encode/decode methods used by the old coding
mechanism. While at it, apply cleanups and update the CMake build
system accordingly.

Most of the adaptation to the new ArgumentCoder infrastructure is based
on a patch initially written by Pablo Saavedra.

* Source/WebCore/Headers.cmake: List missing CDMKeyGroupingStrategy.h
header as a WebCore private header.
* Source/WebCore/platform/graphics/gbm/DMABufFormat.h:
(WebCore::DMABufFormat::Plane::Plane): Add a private constructor to be
used by IPC::ArgumentCoder.
* Source/WebCore/platform/graphics/gbm/DMABufObject.h:
(WebCore::DMABufObject::DMABufObject): Define the DMABufObject type as
"class" instead of "struct", to match forward declarations used by the
code written by IPC message generators.
(WebCore::DMABufObject::DMABufObject): Add a private constructor to be
used by IPC::ArgumentCoder.
(WebCore::DMABufObject::encode): Deleted.
(WebCore::DMABufObject::decode): Deleted.
* Source/WebCore/platform/graphics/gbm/DMABufReleaseFlag.h:
(WebCore::DMABufReleaseFlag::DMABufReleaseFlag): Use initializer syntax
to set the value of the "fd" member, add a private constructor to be
used by IPC::ArgumentCoder.
(WebCore::DMABufReleaseFlag::encode): Deleted.
(WebCore::DMABufReleaseFlag::decode): Deleted.
* Source/WebKit/PlatformGTK.cmake: List DMABufObject.serialization.in
for the ArgumentCoder code generator.
* Source/WebKit/PlatformWPE.cmake: Ditto.
* Source/WebKit/Shared/glib/DMABufObject.serialization.in: Added.

Canonical link: https://commits.webkit.org/279732@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