Skip to content

Commit 15c3d8e

Browse files
committed
OpenXR SDK 1.0.25 (2022-09-02)
This release contains a few specification clarifications and consistency improvements, as well as some new vendor extensions. The OpenXR loader for Android now supports API layers packaged in the application APK, which is important for running the conformance tests, and which may also be used for running with the validation layer enabled during application development, for example. The loader design doc has been updated accordingly. The spec generation toolchain scripts have been synchronized with Vulkan. Hello_XR now models the recommended approach for selecting an environment blend mode, among other fixes. - Registry - Add new XR_ML_ml2_controller_interaction vendor extension. (internal MR 2344) - Clarification: Note that all specialized swapchain image structures are “returnedonly”, which removes some unneeded generated implicit valid usage. (internal MR 2303) - Clarification: Note that all event structs are “returnedonly”, which removes some unneeded generated implicit valid usage. (internal MR 2305) - Register author ID for Oppo. (OpenXR-Docs PR 129) - Register author ID for Fred Emmott. (OpenXR-Docs PR 131) - Register author ID for Acer. (OpenXR-Docs PR 132) - Reserve extension numbers for anticipated cross-vendor and Khronos extensions. (internal MR 2337, internal MR 2338, internal MR 2389) - Reserve a vendor extension for Huawei. (internal MR 2356) - Reserve vendor extensions for MNDX. (OpenXR-Docs PR 133) - Update XR_MSFT_scene_understanding and XR_MSFT_scene_understanding_serialization vendor extensions to list error codes that may be returned by functions. (internal MR 2316) - XR_FB_color_space: Mark XrSystemColorSpacePropertiesFB as “returned-only” for consistency and to correct the implicit valid usage. (internal MR 2304) - XR_FB_display_refresh_rate: Mark XrEventDataDisplayRefreshRateChangedFB as “returned only” for consistency. (internal MR 2308) - XR_FB_hand_tracking_mesh: Fix two-call-idiom markup for XrHandTrackingMeshFB, affecting implicit valid usage, and increment the revision. (internal MR 2311) - XR_FB_passthrough: Add XrSystemPassthroughProperties2FB and XR_PASSTHROUGH_LAYER_DEPTH_BIT_FB, update spec version to 3. (internal MR 2333) - XR_FB_render_model: Mark XrRenderModelCapabilitiesRequestFB as “returned-only” for consistency and to correct the implicit valid usage. (internal MR 2309) - SDK - Loader design doc: Correct a wrong description of extension implementation chosen by the loader when duplicates. (internal MR 2324, internal issue 1731) - hello_xr: Model the recommended behavior of choosing first blend mode enumerated by xrEnumerateEnvironmentBlendModes that is supported by the app. (internal MR 2352) - hello_xr: Fix exit on Android. (internal MR 2403) - loader: Add Android support for API Layers bundled in the application APK. (internal MR 2350) - loader: Move validation checks before initialization to avoid potential nullptr dereference (internal MR 2365) - loader: On Android, make sure we always build with the same C++ standard library (static) whether using shell script or gradle. (internal MR 2366) - loader: add -DXR_OS_APPLE define on macOS (fixes compilation on macOS) (OpenXR-SDK-Source PR 323) - scripts: Synchronize scripts with Vulkan, and move all generated files into a single target directory. (internal MR 2335, internal issue 1693, internal MR 2393, internal MR 2400) - scripts: Remove spurious warning from codegen script. (internal MR 2341) - validation layer: Fix output to XR_EXT_debug_utils when no labels/names have been defined. (internal MR 2375)
1 parent 98f804e commit 15c3d8e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+3721
-1572
lines changed

.appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# SPDX-License-Identifier: Apache-2.0
44

5-
version: 1.0.24.{build}
5+
version: 1.0.25.{build}
66
image: Visual Studio 2017
77

88

.gitattributes

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,12 @@
2525
*.png binary
2626
*.pdf binary
2727

28-
# Shell scripts that don't end in .sh
28+
# Shell/python scripts that don't end in .sh
2929
specification/makeAllExts eol=lf
3030
specification/makeExt eol=lf
3131
specification/makeKHR eol=lf
3232
specification/makeKHRAndKHX eol=lf
3333
specification/makeReleaseArtifacts eol=lf
34+
specification/makeSpec eol=lf
3435
specification/checkMarkup eol=lf
3536
specification/checkSpecLinks eol=lf

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ local.properties
5757
!.gitattributes
5858
!.github
5959
!.gitignore
60+
!.gitlab
6061
!.gitlab-ci.yml
6162
!.mailmap
6263
!.markdownlint.yaml

.reuse/dep5

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,6 @@ Copyright: 2019, Oculus VR, LLC.
5656
License: CC-BY-4.0
5757
Comment: In-line license comments requested, https://gitlab.khronos.org/openxr/openxr/-/issues/1418
5858

59-
Files: specification/sources/chapters/extensions/valve/valve_analog_threshold.adoc
60-
Copyright: 2020, Valve
61-
License: CC-BY-4.0
62-
Comment: In-line license comments requested, https://gitlab.khronos.org/openxr/openxr/-/issues/1421
63-
6459
Files: specification/sources/chapters/extensions/ext/ext_performance_settings.adoc
6560
specification/sources/chapters/extensions/ext/ext_thermal_query.adoc
6661
Copyright: 2017-2020, The Khronos Group Inc.
@@ -77,3 +72,8 @@ Copyright: 2020, The Khronos Group Inc.
7772
License: Apache-2.0
7873
Comment: Generated .png versions of an icon, created in Android Studio
7974
based on a Material Icons asset.
75+
76+
Files: specification/scripts/vuidCounts.py
77+
Copyright: 2022 The Khronos Group Inc.
78+
License: Apache-2.0
79+
Comment: File automatically rewritten by VUID assignment.

CHANGELOG.SDK.md

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,92 @@ along with any public pull requests that have been accepted.
1919
In this repository in particular, since it is primarily software,
2020
pull requests may be integrated as they are accepted even between periodic updates.
2121

22+
## OpenXR SDK 1.0.25 (2022-09-02)
23+
24+
This release contains a few specification clarifications and consistency
25+
improvements, as well as some new vendor extensions. The OpenXR loader for
26+
Android now supports API layers packaged in the application APK, which is
27+
important for running the conformance tests, and which may also be used for
28+
running with the validation layer enabled during application development, for
29+
example. The loader design doc has been updated accordingly. The spec generation
30+
toolchain scripts have been synchronized with Vulkan. Hello_XR now models the
31+
recommended approach for selecting an environment blend mode, among other fixes.
32+
33+
- Registry
34+
- Add new `XR_ML_ml2_controller_interaction` vendor extension.
35+
([internal MR 2344](https://gitlab.khronos.org/openxr/openxr/merge_requests/2344))
36+
- Clarification: Note that all specialized swapchain image structures are
37+
"returnedonly", which removes some unneeded generated implicit valid usage.
38+
([internal MR 2303](https://gitlab.khronos.org/openxr/openxr/merge_requests/2303))
39+
- Clarification: Note that all event structs are "returnedonly", which removes
40+
some unneeded generated implicit valid usage.
41+
([internal MR 2305](https://gitlab.khronos.org/openxr/openxr/merge_requests/2305))
42+
- Register author ID for Oppo.
43+
([OpenXR-Docs PR 129](https://github.com/KhronosGroup/OpenXR-Docs/pull/129))
44+
- Register author ID for Fred Emmott.
45+
([OpenXR-Docs PR 131](https://github.com/KhronosGroup/OpenXR-Docs/pull/131))
46+
- Register author ID for Acer.
47+
([OpenXR-Docs PR 132](https://github.com/KhronosGroup/OpenXR-Docs/pull/132))
48+
- Reserve extension numbers for anticipated cross-vendor and Khronos extensions.
49+
([internal MR 2337](https://gitlab.khronos.org/openxr/openxr/merge_requests/2337),
50+
[internal MR 2338](https://gitlab.khronos.org/openxr/openxr/merge_requests/2338),
51+
[internal MR 2389](https://gitlab.khronos.org/openxr/openxr/merge_requests/2389))
52+
- Reserve a vendor extension for Huawei.
53+
([internal MR 2356](https://gitlab.khronos.org/openxr/openxr/merge_requests/2356))
54+
- Reserve vendor extensions for MNDX.
55+
([OpenXR-Docs PR 133](https://github.com/KhronosGroup/OpenXR-Docs/pull/133))
56+
- Update `XR_MSFT_scene_understanding` and
57+
`XR_MSFT_scene_understanding_serialization` vendor extensions to list error
58+
codes that may be returned by functions.
59+
([internal MR 2316](https://gitlab.khronos.org/openxr/openxr/merge_requests/2316))
60+
- `XR_FB_color_space`: Mark `XrSystemColorSpacePropertiesFB` as "returned-only"
61+
for consistency and to correct the implicit valid usage.
62+
([internal MR 2304](https://gitlab.khronos.org/openxr/openxr/merge_requests/2304))
63+
- `XR_FB_display_refresh_rate`: Mark `XrEventDataDisplayRefreshRateChangedFB` as
64+
"returned only" for consistency.
65+
([internal MR 2308](https://gitlab.khronos.org/openxr/openxr/merge_requests/2308))
66+
- `XR_FB_hand_tracking_mesh`: Fix two-call-idiom markup for
67+
`XrHandTrackingMeshFB`, affecting implicit valid usage, and increment the
68+
revision.
69+
([internal MR 2311](https://gitlab.khronos.org/openxr/openxr/merge_requests/2311))
70+
- `XR_FB_passthrough`: Add `XrSystemPassthroughProperties2FB` and
71+
`XR_PASSTHROUGH_LAYER_DEPTH_BIT_FB`, update spec version to 3.
72+
([internal MR 2333](https://gitlab.khronos.org/openxr/openxr/merge_requests/2333))
73+
- `XR_FB_render_model`: Mark `XrRenderModelCapabilitiesRequestFB` as "returned-
74+
only" for consistency and to correct the implicit valid usage.
75+
([internal MR 2309](https://gitlab.khronos.org/openxr/openxr/merge_requests/2309))
76+
- SDK
77+
- Loader design doc: Correct a wrong description of extension implementation
78+
chosen by the loader when duplicates.
79+
([internal MR 2324](https://gitlab.khronos.org/openxr/openxr/merge_requests/2324),
80+
[internal issue 1731](https://gitlab.khronos.org/openxr/openxr/issues/1731))
81+
- hello_xr: Model the recommended behavior of choosing first blend mode
82+
enumerated by xrEnumerateEnvironmentBlendModes that is supported by the app.
83+
([internal MR 2352](https://gitlab.khronos.org/openxr/openxr/merge_requests/2352))
84+
- hello_xr: Fix exit on Android.
85+
([internal MR 2403](https://gitlab.khronos.org/openxr/openxr/merge_requests/2403))
86+
- loader: Add Android support for API Layers bundled in the application APK.
87+
([internal MR 2350](https://gitlab.khronos.org/openxr/openxr/merge_requests/2350))
88+
- loader: Move validation checks before initialization to avoid potential nullptr
89+
dereference
90+
([internal MR 2365](https://gitlab.khronos.org/openxr/openxr/merge_requests/2365))
91+
- loader: On Android, make sure we always build with the same C++ standard
92+
library (static) whether using shell script or gradle.
93+
([internal MR 2366](https://gitlab.khronos.org/openxr/openxr/merge_requests/2366))
94+
- loader: add -DXR_OS_APPLE define on macOS (fixes compilation on macOS)
95+
([OpenXR-SDK-Source PR 323](https://github.com/KhronosGroup/OpenXR-SDK-Source/pull/323))
96+
- scripts: Synchronize scripts with Vulkan, and move all generated files into a
97+
single target directory.
98+
([internal MR 2335](https://gitlab.khronos.org/openxr/openxr/merge_requests/2335),
99+
[internal issue 1693](https://gitlab.khronos.org/openxr/openxr/issues/1693),
100+
[internal MR 2393](https://gitlab.khronos.org/openxr/openxr/merge_requests/2393),
101+
[internal MR 2400](https://gitlab.khronos.org/openxr/openxr/merge_requests/2400))
102+
- scripts: Remove spurious warning from codegen script.
103+
([internal MR 2341](https://gitlab.khronos.org/openxr/openxr/merge_requests/2341))
104+
- validation layer: Fix output to `XR_EXT_debug_utils` when no labels/names have
105+
been defined.
106+
([internal MR 2375](https://gitlab.khronos.org/openxr/openxr/merge_requests/2375))
107+
22108
## OpenXR SDK 1.0.24 (2022-06-23)
23109

24110
- Registry

changes/sdk/pr.323.gh.OpenXR-SDK-Source.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

maintainer-scripts/build-aar.sh

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/usr/bin/env bash
2-
# Copyright (c) 2020-2021 Collabora, Ltd.
2+
# Copyright (c) 2020-2022 Collabora, Ltd.
33
#
44
# SPDX-License-Identifier: Apache-2.0
55

66
set -e
7-
ROOT=$(cd $(dirname $0) && cd .. && pwd)
7+
ROOT=$(cd "$(dirname "$0")" && cd .. && pwd)
88

99
OPENXR_ANDROID_VERSION_SUFFIX=
1010
if [ -f "${ROOT}/SNAPSHOT" ]; then
@@ -15,7 +15,9 @@ fi
1515
BUILD_DIR=${BUILD_DIR:-${ROOT}/build-android}
1616
INSTALL_DIR=${INSTALL_DIR:-${ROOT}/build-android-install}
1717

18-
ANDROID_STL=c++_shared
18+
ANDROID_STL=$(grep ext.stl "${ROOT}/src/loader/build.gradle" | sed -E 's/.*"(.*)"/\1/')
19+
CONFIG=Release
20+
ANDROID_PLATFORM=24
1921

2022
rm -rf "${INSTALL_DIR}"
2123
if [ -d "${BUILD_DIR}" ]; then
@@ -29,18 +31,19 @@ for arch in x86 x86_64 armeabi-v7a arm64-v8a; do
2931
"-DCMAKE_TOOLCHAIN_FILE=${ANDROID_NDK_HOME}/build/cmake/android.toolchain.cmake" \
3032
"-DCMAKE_ANDROID_NDK=${ANDROID_NDK_HOME}" \
3133
-DANDROID_ABI=${arch} \
32-
-DANDROID_PLATFORM=24 \
34+
-DANDROID_PLATFORM=${ANDROID_PLATFORM} \
3335
-DANDROID_STL=${ANDROID_STL} \
3436
"-DCMAKE_INSTALL_PREFIX=${INSTALL_DIR}/openxr" \
35-
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
37+
-DCMAKE_BUILD_TYPE=${CONFIG} \
3638
-DINSTALL_TO_ARCHITECTURE_PREFIXES=ON \
3739
-DBUILD_TESTS=OFF \
3840
-DBUILD_CONFORMANCE_TESTS=OFF \
3941
-DBUILD_LOADER=ON \
4042
-DBUILD_API_LAYERS=OFF \
4143
"-DOPENXR_ANDROID_VERSION_SUFFIX=${OPENXR_ANDROID_VERSION_SUFFIX}"
44+
4245
ninja -C "${BUILD_DIR}/${arch}"
43-
# ninja -C "${BUILD_DIR}/${arch}" install
46+
4447
for comp in License Headers Loader Prefab; do
4548
cmake -DCMAKE_INSTALL_COMPONENT=${comp} -P "${BUILD_DIR}/${arch}/cmake_install.cmake"
4649
done
@@ -51,6 +54,6 @@ cp "${BUILD_DIR}/x86/src/loader/${DECORATED}" .
5154
DIR=$(pwd)
5255
(
5356
cd "$INSTALL_DIR/openxr"
54-
7za a -r ../openxr.zip *
57+
7za a -r ../openxr.zip ./*
5558
mv ../openxr.zip "$DIR/${DECORATED%.pom}.aar"
5659
)

specification/.gitignore

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,8 @@
33
# SPDX-License-Identifier: Apache-2.0
44

55
scripts/__pycache__
6-
scripts/xrapi.py
7-
out/*
86
generated/*
9-
sources/chapters/extensions/metadata/*
107
example-builds/generated/
11-
man/*
128
artifacts/
139
temp/
1410
diffs/
@@ -19,4 +15,5 @@ registry/regenerated.rnc
1915

2016
# Schematron-related files
2117
registry/schxslt-cli.jar
18+
registry/cli-*.jar
2219
registry/report.srvl

0 commit comments

Comments
 (0)