Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for OpenXR #1129

Open
wants to merge 25 commits into
base: master
Choose a base branch
from
Open

Add support for OpenXR #1129

wants to merge 25 commits into from

Commits on Sep 3, 2024

  1. ports: Add jsoncpp.

    The build demands it but it's missing.
    Copy from upstream vcpkg repo.
    
    Fixes the following error:
    ```
    Computing installation plan...
    error: while looking for jsoncpp:x64-linux:
    overte-files/vcpkg/cfe0a2a0/ports/jsoncpp: error: jsoncpp does not exist
    ```
    lubosz committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    5987480 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2024

  1. ports: Add openxr-loader.

    Copy from vcpkg repository.
    Add OpenXR to hifi-client-deps.
    lubosz committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    bba3f07 View commit details
    Browse the repository at this point in the history
  2. Camera: Init default values.

    lubosz committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    beec26c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3d7c44c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d1c8746 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c42a612 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    abf9c38 View commit details
    Browse the repository at this point in the history
  7. Application: Improve scoping.

    lubosz committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    03b8a8c View commit details
    Browse the repository at this point in the history
  8. plugins: Add OpenXR plugin.

    Add OpenXrDisplayPlugin and OpenXrInputPlugin.
    Add controller bindings for the Valve Index controller.
    lubosz committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    692bddb View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6104de9 View commit details
    Browse the repository at this point in the history
  10. OpenGlDisplayPlugin: Add possibility to present frames only once.

    Don't present frame more than once in OpenXrDisplayPlugin.
    lubosz committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    1dafc89 View commit details
    Browse the repository at this point in the history
  11. OpenXrInput: Improve mapping for the Index controller.

    * Add thumbstick click and touch.
    * Add face and trigger touch.
    
    Use left primary / secondary instead of face button names.
    lubosz committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    bfbd1e7 View commit details
    Browse the repository at this point in the history
  12. controllers: openxr: Use actions for walking.

    This makes the Y thumbstick axis work.
    lubosz committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    8976a82 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    5803072 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    68dcd78 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    8a8b7dd View commit details
    Browse the repository at this point in the history
  16. OpenXr: Enable C++20 for OpenXR plugin.

    Enabling it globally causes issue with WebRTC.
    
    Co-authored-by: Lubosz Sarnecki <[email protected]>
    JulianGro and lubosz committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    07da25f View commit details
    Browse the repository at this point in the history
  17. GLMHelpers: Fix build with C++20 on GCC.

    When enabling C++20 the lerp function seems to be redefined on GCC (not
    on MSVC), don't redefine it using a CMake definition.
    lubosz committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    2104de4 View commit details
    Browse the repository at this point in the history
  18. OpenXr: Platform improvements.

    Add missing includes on Windows.
    Include GLX only on Linux.
    
    Move openxr_platform.h include to OpenXrContext.h. To make this
    possible, certain names from GLX/X11 need to be undefined in order to be
    now includable in OpenXrInput.h.
    
    Add Overte e.V. copyright.
    
    Co-authored-by: Lubosz Sarnecki <[email protected]>
    HifiExperiments and lubosz committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    bf64af0 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    b351af1 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    11b2e3d View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    74145cb View commit details
    Browse the repository at this point in the history
  22. Install missing xcb/glx.h dependency.

    JulianGro authored and lubosz committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    4db7e1a View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    32aff01 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    92ab06e View commit details
    Browse the repository at this point in the history