[webkit-changes] [WebKit/WebKit] a97267: [WPE] WPE Platform: add explicit sync support on D...

Carlos Garcia Campos noreply at github.com
Tue Aug 6 00:38:37 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a97267cb75b72d39e47bbc5460a8d958f767fe37
      https://github.com/WebKit/WebKit/commit/a97267cb75b72d39e47bbc5460a8d958f767fe37
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2024-08-06 (Tue, 06 Aug 2024)

  Changed paths:
    M Source/WebKit/WPEPlatform/wpe/drm/WPEDRM.cpp
    M Source/WebKit/WPEPlatform/wpe/drm/WPEDRM.h
    M Source/WebKit/WPEPlatform/wpe/drm/WPEDisplayDRM.cpp
    M Source/WebKit/WPEPlatform/wpe/drm/WPEViewDRM.cpp

  Log Message:
  -----------
  [WPE] WPE Platform: add explicit sync support on DRM platform
https://bugs.webkit.org/show_bug.cgi?id=277541

Reviewed by Alejandro G. Castro.

We can enable explicit sync when using atomic requests and simply pass
the fence ID as a property of the primary plane.

* Source/WebKit/WPEPlatform/wpe/drm/WPEDRM.cpp:
(WPE::DRM::Plane::create):
* Source/WebKit/WPEPlatform/wpe/drm/WPEDRM.h:
(WPE::DRM::Buffer::setFenceFD):
(WPE::DRM::Buffer::fenceFD const):
* Source/WebKit/WPEPlatform/wpe/drm/WPEDisplayDRM.cpp:
(wpeDisplayDRMUseExplicitSync):
(wpe_display_drm_class_init):
* Source/WebKit/WPEPlatform/wpe/drm/WPEViewDRM.cpp:
(primaryPlaneProperties):
(wpeViewDRMRenderBuffer):

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



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


More information about the webkit-changes mailing list