-
Notifications
You must be signed in to change notification settings - Fork 259
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This release contains a number of vendor extensions, plus a new ratified revision to the XR_KHR_loader_init extension that specifies forwarding the init calls to API layers. Vendors of API layers, primarily on Android, must verify they can handle being passed XR_NULL_HANDLE for the instance parameter of xrGetInstanceProcAddr, to avoid bugs when using the updated loader. This release also contains a number of build system cleanups and fixes. Users of the Android Gradle Plugin and our official loader AAR file can now use the OpenXR::headers target just like on desktop: there is now metadata for the “prefab” tool to generate for CMake both this header/include-only target and the normal OpenXR::openxr_loader imported library target. The shipped AAR is much smaller due to stripping debug data from the binaries, which helps in case application build systems do not automatically strip native binaries. A bug in the loader Android manifest as shipped in 1.0.31 has also been fixed. - Registry - Extension reservation: Reserve extension id for XR_KHR_maintenance1 (internal MR 3010) - Extension reservation: Reserve extension id for XR_KHR_game_controller (internal MR 3019) - New vendor extension: XR_HTC_anchor (internal MR 2667) - New vendor extension: XR_META_touch_controller_plus (internal MR 2702) - New vendor extension: XR_ML_marker_understanding (internal MR 2750) - New vendor extension: XR_ML_localization_map (internal MR 2802, internal MR 3045, internal MR 3047) - XR_KHR_loader_init: New Khronos ratified revision, adds support for forwarding loader init calls to API layers (internal MR 2703) - SDK - Loader: Pass xrInitializeLoaderKHR calls to enabled API layers if XR_KHR_loader_init is enabled, per ratified update to that extension. (internal MR 2703) - Loader: Partial fix for the loader not honoring BUILD_LOADER_WITH_EXCEPTION_HANDLING on Android. (internal MR 2870, OpenXR-SDK-Source PR 405, internal issue 1999) - Loader Android AAR: Strip binaries before inclusion in AAR, as loader is stable (and mostly shared with all platforms) and size difference is substantial. - Loader Android AAR: Expose OpenXR::headers prefab imported target just as on desktop builds (internal MR 2886) - Loader Android AAR: Generate a source jar file for completeness. (internal MR 2886) - Loader Android AAR: Add <uses-sdk> elements to Android loader AAR manifest, to prevent the manifest merger from assuming a version < 4 and adding unneeded permissions accordingly. (internal MR 3029) (internal MR 3032) - Clean up our CMake build substantially, correcting dependencies and narrowing the scope of includes. (internal MR 2886, OpenXR-SDK-Source issue 344, internal issue 1872, OpenXR-SDK-Source issue 419, internal issue 2071, internal MR 2987) - Fix build in directories containing spaces. (internal MR 2886, OpenXR-SDK-Source issue 344, internal issue 1872, OpenXR-SDK-Source issue 419, internal issue 2071, internal MR 2987) - Fix linking to GLX when glvnd is not found on the system (internal MR 3000) - Fix use of OpenXR::headers target when not building the loader. (internal MR 2886, OpenXR-SDK-Source issue 344, internal issue 1872, OpenXR-SDK-Source issue 419, internal issue 2071, internal MR 2987) - scripts: Migrate namedtuple usage to dataclass, and expose the definitions for reuse. (internal MR 2183) - scripts: Clean up formatting, clean up some issues found by type-aware Python editors, and improve the experience of editing Python scripts in some editors by adding a .env file. (internal MR 2183) - scripts: Support base header types with no derived types defined yet. (internal MR 2802) GitOrigin-RevId: 0a6bbc30cf10fdec436dfa81abf27747251a0821
- Loading branch information
Showing
62 changed files
with
2,968 additions
and
1,651 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,24 @@ | ||
# Copyright (c) 2020-2023, The Khronos Group Inc. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
jobs: | ||
- job: check_file_format | ||
displayName: 'Check file formatting' | ||
pool: | ||
vmImage: 'ubuntu-latest' | ||
container: khronosgroup/docker-images:openxr-sdk.20230323 | ||
# container: khronosgroup/docker-images@sha256:20edadbaa6cdec4fed7417c24b18dfb4b93eec940fdf1a27b5f97272dec47032 | ||
steps: | ||
- script: ./file_format.sh | ||
displayName: File formatting checks (file_format.sh) | ||
- job: check_file_format | ||
displayName: "Check file formatting" | ||
pool: | ||
vmImage: "ubuntu-latest" | ||
# 20230614 | ||
container: khronosgroup/docker-images:openxr-sdk@sha256:fbc5fe29a0787cccc8f66bd9bd03c9dbddf591c7d1aea673108c38c908b280f5 | ||
|
||
- script: git diff --patch --exit-code > file_format.patch | ||
displayName: Save changes as diff | ||
- script: echo "The following files need file formatting:"; sed -n -e "s/^diff.* b\///p" file_format.patch | ||
condition: failed() | ||
- task: PublishPipelineArtifact@1 | ||
displayName: Publish diff | ||
condition: failed() | ||
inputs: | ||
path: $(System.DefaultWorkingDirectory)/file_format.patch | ||
artifact: file_format_changes | ||
steps: | ||
- script: ./file_format.sh | ||
displayName: File formatting checks (file_format.sh) | ||
|
||
- script: git diff --patch --exit-code > file_format.patch | ||
displayName: Save changes as diff | ||
- script: echo "The following files need file formatting:"; sed -n -e "s/^diff.* b\///p" file_format.patch | ||
condition: failed() | ||
- task: PublishPipelineArtifact@1 | ||
displayName: Publish diff | ||
condition: failed() | ||
inputs: | ||
path: $(System.DefaultWorkingDirectory)/file_format.patch | ||
artifact: file_format_changes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Copyright (c) 2022-2023, The Khronos Group Inc. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# Improves the Python editing experience with vscode. | ||
PYTHONPATH=specification/scripts:src/scripts:external/python |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,8 @@ jobs: | |
INSTALL_DIR: "${{ github.workspace }}/install" | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
lfs: true | ||
|
||
- name: Get modern CMake and Ninja | ||
uses: lukka/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.