commit | 32ff182e94dd3222a4d3af7820be5e1476158117 | [log] [tgz] |
---|---|---|
author | Alex Cooper <alcooper@chromium.org> | Fri Apr 05 18:23:43 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Apr 05 18:23:43 2019 |
tree | 2980f278f43e6b1802828883e046e0d405ae07e5 | |
parent | 42eac830fca821f62885075360482bd1c7ee1709 [diff] |
Ensure that stationary reference spaces are rejected if not supported Per the explainer, stationary reference spaces are hardware dependent. If we've created a "sensorless" session, then we can't support any reference space other than the identity space. This adds a flag so that the xr_session class can explicitly know if it is intended to be a sensorless session and will therefore reject requests for any reference space other than the identity. This resulted in needing to updated the sample pages to fallback to an identity space if their inline stationary request was rejected. Bug: 946784 Change-Id: Ia1f6b65b7c379b7d8c0a6fcaa413ff40a4dce81d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1549317 Reviewed-by: Klaus Weidner <klausw@chromium.org> Reviewed-by: Brian Sheedy <bsheedy@chromium.org> Commit-Queue: Alexander Cooper <alcooper@chromium.org> Cr-Commit-Position: refs/heads/master@{#648259}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .