Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: a05188f93c2ae18909898ae4fbef87323b0f5289 https://github.com/WebKit/WebKit/commit/a05188f93c2ae18909898ae4fbef87323b0f5289 Author: Dan Glastonbury <d...@apple.com> Date: 2024-07-09 (Tue, 09 Jul 2024)
Changed paths: M Source/WebCore/Modules/webxr/WebXROpaqueFramebufferCocoa.cpp Log Message: ----------- [WebXR] Fix immersive VR rendering for shared layout. https://bugs.webkit.org/show_bug.cgi?id=276402 rdar://131356393 Reviewed by Mike Wyrzykowski. After https://commits.webkit.org/280523@main, WebXR immersive sessions render black in simulator. Outside of the simulator, we always blit from a staging texture to the final output because we need to place each eye into the correct layer of a Metal texture. In the simulator, the code tried to optimize to avoid the extra copy. To fix the issue, I've made the shared layout case work exactly like the layered layout case. * Source/WebCore/Modules/webxr/WebXROpaqueFramebufferCocoa.cpp: (WebCore::WebXROpaqueFramebuffer::blitShared): (WebCore::WebXROpaqueFramebuffer::setupFramebuffer): Canonical link: https://commits.webkit.org/280805@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes