Skip to content

Commit 4b9834d

Browse files
committed
OpenXR SDK 1.1.40 (2024-08-22)
This release features a new ratified graphics API binding extension, XR_KHR_metal_enable, including support in hello_xr. The loader test has had substantial improvements as well. There are also an assortment of smaller fixes and improvements. - Registry - Add: New ratified Khronos extension: XR_KHR_metal_enable. (internal MR 2721) - Chore: Reserve 15 extension id numbers for ByteDance. (internal MR 3409) - Fix: Clarified that views in XR_VARJO_quad_views needs to have identical poses for each eye. (internal MR 3396) - Fix: Add missing interaction profile extensions for OpenXR 1.1 promoted Meta interaction profiles. (internal MR 3398) - Fix: Correctly mark the Magic Leap home button as a system button in the XML. (internal MR 3405) - Fix: Add XR_ERROR_VALIDATION_FAILURE to all functions from XR_EXT_conformance_automation. (internal MR 3417) - SDK - API dump layer: Improvement: Move a non-generated function out of the Python- generated source file. (internal MR 3336) - API dump layer: Improvement: Clean up usage of RAII mutex lock guards. (internal MR 3336) - Layers and loader: Improvement: Disambiguate XrGeneratedDispatchTable between loader and API layers. (internal MR 3406) - Loader test: Improvement: Migrate to use Catch2 (matching the CTS) instead of an ad-hoc test framework. (internal MR 3337) - hello_xr: Add: Metal graphics plugin (use -g Metal) for running it on macOS with XR_KHR_metal_enable extension. (internal MR 3009, internal MR 3456) - hello_xr: Improvement: Use XrMatrix4x4f_CreateFromRigidTransform in place of XrMatrix4x4f_CreateTranslationRotationScale for known rigid transforms. (internal MR 3349) Note: There is no 1.1.39 release: it was skipped to keep the monthly patch version increment cadence given the lack of a release in July. GitOrigin-RevId: 3ec99b59aaf8ac8d7c8d822ddd174fc6c0c5e57b
1 parent 5270be9 commit 4b9834d

File tree

639 files changed

+214268
-572
lines changed

Some content is hidden

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

639 files changed

+214268
-572
lines changed

.appveyor.yml

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

5-
version: 1.1.38.{build}
5+
version: 1.1.40.{build}
66
image: Visual Studio 2017
77

88

.azure-pipelines/openxr-sdk-source.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ stages:
2121
- job: loader_docs
2222
pool:
2323
vmImage: "ubuntu-latest"
24-
container: khronosgroup/docker-images:openxr.20231010.1@sha256:64798e382f61ef988e30e281e0efef0b46c1aee7c9666587067207b7e270a63f
24+
container: khronosgroup/docker-images:openxr.20240805@sha256:05e900737234daf09d29a1c525a017ea8cc54a0d1f808569488e9ae6018053f2
2525
steps:
2626
- script: make loader
2727
workingDirectory: specification
@@ -34,7 +34,7 @@ stages:
3434
- job: archive
3535
pool:
3636
vmImage: "ubuntu-latest"
37-
container: khronosgroup/docker-images:openxr.20231010.1@sha256:64798e382f61ef988e30e281e0efef0b46c1aee7c9666587067207b7e270a63f
37+
container: khronosgroup/docker-images:openxr.20240805@sha256:05e900737234daf09d29a1c525a017ea8cc54a0d1f808569488e9ae6018053f2
3838
steps:
3939
- script: make loader
4040
workingDirectory: specification

.azure-pipelines/shared/build_jobs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
presentationBackend: wayland
2727
pool:
2828
vmImage: "ubuntu-latest"
29-
container: khronosgroup/docker-images:openxr-sdk.20240412@sha256:e477137f8558565ac9173de8713a3e44d6d564ba042db9a20ff560eb4bfdeccc
29+
container: khronosgroup/docker-images:openxr-sdk.20240805@sha256:bbc790ccdc56f291d72877c6fdb825edbb9c3222efb63dc4d3ac34e3bf13dd7a
3030

3131
steps:
3232
# First build as debug

.azure-pipelines/shared/check_clang_format.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
displayName: "clang-format"
77
pool:
88
vmImage: "ubuntu-latest"
9-
container: khronosgroup/docker-images:openxr-sdk.20240412@sha256:e477137f8558565ac9173de8713a3e44d6d564ba042db9a20ff560eb4bfdeccc
9+
container: khronosgroup/docker-images:openxr.20240805@sha256:05e900737234daf09d29a1c525a017ea8cc54a0d1f808569488e9ae6018053f2
1010

1111
steps:
1212
- checkout: self

.azure-pipelines/shared/check_file_format.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
displayName: "Check file formatting"
66
pool:
77
vmImage: "ubuntu-latest"
8-
container: khronosgroup/docker-images:openxr-sdk.20240412@sha256:e477137f8558565ac9173de8713a3e44d6d564ba042db9a20ff560eb4bfdeccc
8+
container: khronosgroup/docker-images:openxr-sdk.20240805@sha256:bbc790ccdc56f291d72877c6fdb825edbb9c3222efb63dc4d3ac34e3bf13dd7a
99

1010
steps:
1111
- script: ./file_format.sh

.azure-pipelines/shared/codespell.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
displayName: "codespell"
77
pool:
88
vmImage: "ubuntu-latest"
9-
container: khronosgroup/docker-images:openxr-sdk.20240412@sha256:e477137f8558565ac9173de8713a3e44d6d564ba042db9a20ff560eb4bfdeccc
9+
container: khronosgroup/docker-images:openxr-sdk.20240805@sha256:bbc790ccdc56f291d72877c6fdb825edbb9c3222efb63dc4d3ac34e3bf13dd7a
1010

1111
steps:
1212
- checkout: self

.github/workflows/check_clang_format_and_codespell.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
clang-format:
1111
runs-on: ubuntu-latest
1212
container:
13-
image: khronosgroup/docker-images:openxr-sdk.20240412@sha256:e477137f8558565ac9173de8713a3e44d6d564ba042db9a20ff560eb4bfdeccc
13+
image: khronosgroup/docker-images:openxr.20240805@sha256:05e900737234daf09d29a1c525a017ea8cc54a0d1f808569488e9ae6018053f2
1414

1515
steps:
1616
- uses: actions/checkout@v4

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ specification/scripts/.cache
4141

4242
# VS 2019 CMake artifacts
4343
out/build/
44+
out/install/
4445

4546
# VS misc
4647
*.sln

.reuse/dep5

+5
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ Copyright: 2016-2020, Mitchell Dowd
6969
License: MIT
7070
Comment: Unmodified, vendored copy of commit e6c415837c5a487809fdbb2f71f1080d454eb99a
7171

72+
Files: src/external/metal-cpp/*
73+
Copyright: Copyright 2020-2022 Apple Inc.
74+
License: Apache-2.0
75+
Comment: Unmodified, vendored copy of metal-cpp_macOS13_iOS16.zip
76+
7277
Files: external/python/jinja2/*
7378
external/python/Jinja2-2.11.3.dist-info/*
7479
Copyright: 2013-2019 by the Jinja team

CHANGELOG.SDK.md

+46
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,52 @@ along with any public pull requests that have been accepted.
2121
In this repository in particular, since it is primarily software,
2222
pull requests may be integrated as they are accepted even between periodic updates.
2323

24+
## OpenXR SDK 1.1.40 (2024-08-22)
25+
26+
This release features a new ratified graphics API binding extension,
27+
`XR_KHR_metal_enable`, including support in hello_xr. The loader test has had
28+
substantial improvements as well. There are also an assortment of smaller fixes
29+
and improvements.
30+
31+
- Registry
32+
- Add: New ratified Khronos extension: `XR_KHR_metal_enable`.
33+
([internal MR 2721](https://gitlab.khronos.org/openxr/openxr/merge_requests/2721))
34+
- Chore: Reserve 15 extension id numbers for ByteDance.
35+
([internal MR 3409](https://gitlab.khronos.org/openxr/openxr/merge_requests/3409))
36+
- Fix: Clarified that views in `XR_VARJO_quad_views` needs to have identical
37+
poses for each eye.
38+
([internal MR 3396](https://gitlab.khronos.org/openxr/openxr/merge_requests/3396))
39+
- Fix: Add missing interaction profile extensions for OpenXR 1.1 promoted Meta
40+
interaction profiles.
41+
([internal MR 3398](https://gitlab.khronos.org/openxr/openxr/merge_requests/3398))
42+
- Fix: Correctly mark the Magic Leap home button as a system button in the XML.
43+
([internal MR 3405](https://gitlab.khronos.org/openxr/openxr/merge_requests/3405))
44+
- Fix: Add `XR_ERROR_VALIDATION_FAILURE` to all functions from
45+
`XR_EXT_conformance_automation`.
46+
([internal MR 3417](https://gitlab.khronos.org/openxr/openxr/merge_requests/3417))
47+
- SDK
48+
- API dump layer: Improvement: Move a non-generated function out of the Python-
49+
generated source file.
50+
([internal MR 3336](https://gitlab.khronos.org/openxr/openxr/merge_requests/3336))
51+
- API dump layer: Improvement: Clean up usage of RAII mutex lock guards.
52+
([internal MR 3336](https://gitlab.khronos.org/openxr/openxr/merge_requests/3336))
53+
- Layers and loader: Improvement: Disambiguate `XrGeneratedDispatchTable` between
54+
loader and API layers.
55+
([internal MR 3406](https://gitlab.khronos.org/openxr/openxr/merge_requests/3406))
56+
- Loader test: Improvement: Migrate to use Catch2 (matching the CTS) instead of
57+
an ad-hoc test framework.
58+
([internal MR 3337](https://gitlab.khronos.org/openxr/openxr/merge_requests/3337))
59+
- hello_xr: Add: Metal graphics plugin (use `-g Metal`) for running it on macOS
60+
with `XR_KHR_metal_enable` extension.
61+
([internal MR 3009](https://gitlab.khronos.org/openxr/openxr/merge_requests/3009),
62+
[internal MR 3456](https://gitlab.khronos.org/openxr/openxr/merge_requests/3456))
63+
- hello_xr: Improvement: Use `XrMatrix4x4f_CreateFromRigidTransform` in place of
64+
`XrMatrix4x4f_CreateTranslationRotationScale` for known rigid transforms.
65+
([internal MR 3349](https://gitlab.khronos.org/openxr/openxr/merge_requests/3349))
66+
67+
**Note**: There is no 1.1.39 release: it was skipped to keep the monthly patch
68+
version increment cadence given the lack of a release in July.
69+
2470
## OpenXR SDK 1.1.38 (2024-06-09)
2571

2672
This is a fairly small release, with one new extension and a handful of fixes.

maintainer-scripts/common.sh

+2
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,8 @@ getSDKSourceFilenames() {
208208
src/external/android-jni-wrappers \
209209
src/external/jnipp \
210210
src/external/jsoncpp \
211+
src/external/catch2 \
212+
src/external/metal-cpp \
211213
src/loader \
212214
src/scripts \
213215
src/tests \

open-in-docker.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
# This image/tag is generated from https://github.com/KhronosGroup/DockerContainers/blob/main/openxr.Dockerfile
1919
# Purpose: Spec (pdf/html) generation
20-
IMAGE_NAME=khronosgroup/docker-images:openxr.20240412
20+
IMAGE_NAME=khronosgroup/docker-images:openxr.20240805
2121
MOUNTPOINT=$(pwd)
2222

2323
set -e

runClangFormat.sh

+17-4
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,23 @@
1717

1818
set -e
1919
(
20-
PREFERRED_CLANG_FORMAT=clang-format-10
21-
ACCEPTABLE_CLANG_FORMATS="${PREFERRED_CLANG_FORMAT} clang-format-11 clang-format-12 clang-format-13 clang-format-14 clang-format-15 clang-format-16 clang-format"
20+
PREFERRED_CLANG_FORMAT=clang-format-14
21+
ACCEPTABLE_CLANG_FORMATS=(
22+
"${PREFERRED_CLANG_FORMAT}"
23+
clang-format-11
24+
clang-format-12
25+
clang-format-13
26+
clang-format-14
27+
clang-format-15
28+
clang-format-16
29+
clang-format-17
30+
clang-format-18
31+
clang-format-19
32+
clang-format-20
33+
clang-format)
2234
cd "$(dirname "$0")"
2335
if [ ! "${CLANGFORMAT}" ]; then
24-
for tool in ${ACCEPTABLE_CLANG_FORMATS}; do
36+
for tool in "${ACCEPTABLE_CLANG_FORMATS[@]}"; do
2537
if which "$tool" > /dev/null 2> /dev/null; then
2638
CLANGFORMAT=$tool
2739
break
@@ -30,7 +42,7 @@ set -e
3042
fi
3143
if [ ! "${CLANGFORMAT}" ]; then
3244
echo "Could not find clang-format. Prefer ${PREFERRED_CLANG_FORMAT} but will accept newer." 1>&2
33-
echo "Looked for the names: ${ACCEPTABLE_CLANG_FORMATS}"
45+
echo "Looked for the names: ${ACCEPTABLE_CLANG_FORMATS[*]}"
3446
exit 1
3547
fi
3648
echo "'Official' clang-format version recommended is ${PREFERRED_CLANG_FORMAT}. Currently using:"
@@ -41,6 +53,7 @@ set -e
4153
find . \( -wholename ./src/\* \) \
4254
-and -not \( -wholename ./src/external/\* \) \
4355
-and -not \( -wholename ./src/scripts/\* \) \
56+
-and -not \( -ipath \*/.cxx/\* \) \
4457
-and \( -name \*.hpp -or -name \*.h -or -name \*.cpp -or -name \*.c \) \
4558
-exec "${CLANGFORMAT}" -i -style=file {} +
4659

specification/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ endif
3939
VERSIONS := XR_VERSION_1_0 XR_VERSION_1_1 XR_LOADER_VERSION_1_0
4040
VERSIONOPTIONS := $(foreach version,$(VERSIONS),-feature $(version))
4141

42-
SPECREVISION = 1.1.38
42+
SPECREVISION = 1.1.40
4343
REVISION_COMPONENTS = $(subst ., ,$(SPECREVISION))
4444
MAJORMINORVER = $(word 1,$(REVISION_COMPONENTS)).$(word 2,$(REVISION_COMPONENTS))
4545

0 commit comments

Comments
 (0)