Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 014926384ff3b5b83cf27f817eb431e1400eec0a
      
https://github.com/WebKit/WebKit/commit/014926384ff3b5b83cf27f817eb431e1400eec0a
  Author: Sergio Villar Senin <[email protected]>
  Date:   2026-08-06 (Thu, 06 Aug 2026)

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

  Log Message:
  -----------
  [OpenXR] Swapchains might create multisampled images for no benefit
https://bugs.webkit.org/show_bug.cgi?id=320898

Reviewed by Dan Glastonbury.

createSwapchain() passed the view configuration's
recommendedSwapchainSampleCount straight through to XrSwapchainCreateInfo. That
recommendation is meant for applications that render into the swapchain
image directly. However that image is shared with the WebProcess where
it is rendered. The WebProcess already uses a multisampled renderbuffer
backed by the shared image in order to support MSAA. A multisampled
image from the OpenXR runtime won't add anything.

No new tests as there is no change in behavior.

* Source/WebKit/UIProcess/XR/openxr/PlatformXROpenXR.cpp:
(WebKit::OpenXRCoordinator::createSwapchain const):

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



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

Reply via email to