Add support for the xrCompatible flag in WebGL2
WebGL2 already supports makeXRCompatible() from the implementation in WebGLRenderingContextBase, but has a separate factory create method to handle the context attributes. This change handles the xrCompatible flag in a similar way to WebGL1. Web tests for WebGL2 will be added before enabling xr compatibility by default. Bug: 1087356 Change-Id: Ie80755663485aa2cf98129d4e4f264154ae1ad2a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2402129Reviewed-by:Brandon Jones <bajones@chromium.org> Commit-Queue: Patrick To <patrto@microsoft.com> Cr-Commit-Position: refs/heads/master@{#805562}
Showing
Please register or sign in to comment