Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5124b2b7901867f942bc263e3333dd55d224a5d7
      
https://github.com/WebKit/WebKit/commit/5124b2b7901867f942bc263e3333dd55d224a5d7
  Author: Sergio Villar Senin <[email protected]>
  Date:   2025-11-11 (Tue, 11 Nov 2025)

  Changed paths:
    M Source/WebKit/UIProcess/XR/openxr/OpenXRLayer.cpp

  Log Message:
  -----------
  [WebXR][GBM] GBM texture export only allows 2 formats
https://bugs.webkit.org/show_bug.cgi?id=302275

Reviewed by Adrian Perez de Castro.

We should not constraint ourselves to use DRM_FORMAT_ARGB8888 and/or
DRM_FORMAT_XRGB8888 when using GBM to export textures as the
GraphicsContext is able to import many more. Different hardware and/or
drivers might not be able to support any of the current ones.

Added a couple more of formats for both alpa and non-alpha use cases. We
select them based on the order we specify and the list of supported
formats coming from the platform display.

No need for new tests as this does not change functionality, it extends
support for additional hardware.

* Source/WebKit/UIProcess/XR/openxr/OpenXRLayer.cpp:
(WebKit::OpenXRLayer::exportOpenXRTextureGBM):

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



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

Reply via email to