[webkit-changes] [WebKit/WebKit] 31c43b: [WebXR] Depth values are not correct

mwyrzykowski noreply at github.com
Wed Apr 3 16:55:22 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 31c43b74127b146546cf4bae0509bc3e62dc9c25
      https://github.com/WebKit/WebKit/commit/31c43b74127b146546cf4bae0509bc3e62dc9c25
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2024-04-03 (Wed, 03 Apr 2024)

  Changed paths:
    M Source/WebCore/Modules/webxr/WebXROpaqueFramebuffer.cpp

  Log Message:
  -----------
  [WebXR] Depth values are not correct
https://bugs.webkit.org/show_bug.cgi?id=272119
<radar://125620290>

Reviewed by Dan Glastonbury.

Compositor expects reverse-Z but WebXR writes forward Z values, so
just zero them for now so the reprojection doesn't cause jittering.

* Source/WebCore/Modules/webxr/WebXROpaqueFramebuffer.cpp:
(WebCore::WebXROpaqueFramebuffer::blitSharedToLayered):

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