Commit 33c4600
committed
OpenXR SDK 1.0.32 (2023-11-29)
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: 0a6bbc30cf10fdec436dfa81abf27747251a08211 parent 5e9bc99 commit 33c4600
File tree
62 files changed
+2968
-1651
lines changed- .github/workflows
- changes
- external/include
- include
- openxr
- maintainer-scripts
- specification
- registry
- src
- api_layers
- cmake
- loader
- scripts
- tests
- c_compile_test
- hello_xr
- list_json
- list
- loader_test
- test_layers
- test_runtimes
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
62 files changed
+2968
-1651
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
23 | 23 | | |
24 | | - | |
25 | | - | |
| 24 | + | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
| 29 | + | |
30 | 30 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
13 | 10 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
16 | 21 | | |
17 | 22 | | |
18 | 23 | | |
| |||
0 commit comments