Right now PlatformXRSystem and PlatformXRSystemProxy are only compiled in Cocoa platform while WPE uses OpenXR, which only has code in WebCore. In order to run WebKit on non-cocoa VR Standalone devices we also need to split code between UIProcess/WebProcess and we want to reuse the PlatformXRSystem/PlatformXRSystemProxy which fits very well into our use case. In the future, if WPE enables a GPU Process, we could move OpenXR Platform to use the PlatformXRSystem approach too.
Created attachment 431196 [details] Patch
Created attachment 431201 [details] Patch Fix linker error
<rdar://problem/79504983>
Created attachment 431848 [details] Patch Rebase onto main
Created attachment 432026 [details] Patch Rebase onto main
Created attachment 432271 [details] Patch
Created attachment 432922 [details] Patch
Created attachment 432926 [details] Patch Fix mac compilation error
Created attachment 432929 [details] Patch Fix mac compilation error
Created attachment 433127 [details] Patch
Created attachment 433131 [details] Patch Fix mac compilation error. Rebase onto main
Comment on attachment 433131 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=433131&action=review > Source/WebKit/UIProcess/Cocoa/PlatformXRCoordinator.mm:2 > + * Copyright (C) 2017 Apple Inc. All rights reserved. Should be 2021
Created attachment 433305 [details] Patch for landing
Committed r279822 (239583@main): <https://commits.webkit.org/239583@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 433305 [details].