Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e4c64c9c92bd4bad8d1dfe9615d6b5dae9de00dc
      
https://github.com/WebKit/WebKit/commit/e4c64c9c92bd4bad8d1dfe9615d6b5dae9de00dc
  Author: Carlos Garcia Campos <[email protected]>
  Date:   2024-09-24 (Tue, 24 Sep 2024)

  Changed paths:
    M Source/WebKit/WPEPlatform/wpe/headless/WPEDisplayHeadless.cpp

  Log Message:
  -----------
  [WPE] WPE Platform: do not force headless platform to AR24 linear buffer 
format
https://bugs.webkit.org/show_bug.cgi?id=280263

Reviewed by Adrian Perez de Castro.

When used with swrast, shared memory buffers are used with ARGB8888
format, but when using a GPU there's no reason to force a format. We can
remove the implementation of get_preferred_dma_buf_formats and implement
get_egl_display instead, so that WPEDisplay will build the list of
formats supported by the EGL display.

* Source/WebKit/WPEPlatform/wpe/headless/WPEDisplayHeadless.cpp:
(wpeDisplayHeadlessDispose):
(wpeDisplayHeadlessGetEGLDisplay):
(wpe_display_headless_class_init):
(wpeDisplayHeadlessGetPreferredDMABufFormats): Deleted.

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