Skip to content

Commit 09cbbc9

Browse files
committed
OpenXR SDK 1.0.18 (2021-07-30)
This release mostly adds new extensions. It also includes some fixes to the included layers, as well as text in the loader documentation describing how runtimes can register themselves for manual selection. This is not used by the loader itself and does not require any changes to the loader, but it may be useful to developer-focused supporting software. - Registry - Add ratified XR_KHR_swapchain_usage_input_attachment_bit Khronos extension. (Promotion of XR_MND_swapchain_usage_input_attachment_bit, which is now deprecated.) (internal MR 2045) - Add new XR_FB_foveation, XR_FB_foveation_configuration, and XR_FB_foveation_vulkan vendor extensions. (internal MR 2050) - Add additional extension dependencies to XR_FB_swapchain_update_state. (internal MR 2072, internal issue 1572) - Add new XR_FB_composition_layer_secure_content vendor extension. (internal MR 2075) - Add new XR_FB_composition_layer_alpha_blend vendor extension. (internal MR 2078) - Add new XR_FB_composition_layer_image_layout vendor extension. (internal MR 2090) - Add new XR_MSFT_spatial_anchor_persistence vendor extension. (internal MR 2093) - Add some simple Schematron rules and a script to check the XML registry against them. (internal MR 2103) - Register author ID and Reserve vendor extensions for Unity. (internal MR 2105) - Reserve extension ID range 187-196 for LIV Inc. (internal MR 2102) - SDK - Describe how runtimes may register themselves at installation time for manual selection. (internal MR 2081, internal MR 2109, internal issue 1574) - Include sRGB in list of supported swapchain texture formats for the HelloXR OpenGLES plugin. (internal MR 2066) - layers: Refactor generated xrGetInstanceProcAddr implementations to avoid deeply-nested if ... else blocks. (Some compilers have limits we were nearing or hitting.) (internal MR 2050) - validation layer: Set default logging mode to stdout (“text”) instead of none. (OpenXR-SDK-Source PR 262) - validation layer: Fix invalid struct type error message to show the expected type instead of the actual type. (OpenXR-SDK-Source PR 263)
1 parent 1c55a12 commit 09cbbc9

31 files changed

+776
-192
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.17.{build}
5+
version: 1.0.18.{build}
66
image: Visual Studio 2017
77

88

.editorconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ trim_trailing_whitespace = true
1515

1616
[*.xml]
1717
indent_style = space
18+
trim_trailing_whitespace = true
1819
indent_size = 4
1920

2021
[*.cmake,CMakeLists.txt]

.reuse/dep5

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,6 @@ Copyright: 2020, Epic Games, Inc.
2828
License: CC-BY-4.0
2929
Comment: In-line license comments requested, https://gitlab.khronos.org/openxr/openxr/-/issues/1422
3030

31-
Files: specification/sources/chapters/extensions/fb/fb_android_surface_swapchain_create.adoc
32-
specification/sources/chapters/extensions/fb/fb_color_space.adoc
33-
specification/sources/chapters/extensions/fb/fb_display_refresh_rate.adoc
34-
Copyright: 2020, Facebook, Inc.
35-
License: CC-BY-4.0
36-
Comment: In-line license comments requested, https://gitlab.khronos.org/openxr/openxr/-/issues/1562
37-
3831
Files: specification/sources/chapters/extensions/oculus/oculus_android_session_state_enable.adoc
3932
Copyright: 2019, Oculus VR, LLC.
4033
License: CC-BY-4.0

CHANGELOG.SDK.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,59 @@ 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.18 (2021-07-30)
23+
24+
This release mostly adds new extensions. It also includes some fixes to the
25+
included layers, as well as text in the loader documentation describing how
26+
runtimes can register themselves for manual selection. This is not used by the
27+
loader itself and does not require any changes to the loader, but it may be
28+
useful to developer-focused supporting software.
29+
30+
- Registry
31+
- Add ratified `XR_KHR_swapchain_usage_input_attachment_bit` Khronos extension.
32+
(Promotion of `XR_MND_swapchain_usage_input_attachment_bit`, which is now
33+
deprecated.)
34+
([internal MR 2045](https://gitlab.khronos.org/openxr/openxr/merge_requests/2045))
35+
- Add new `XR_FB_foveation`, `XR_FB_foveation_configuration`, and
36+
`XR_FB_foveation_vulkan` vendor extensions.
37+
([internal MR 2050](https://gitlab.khronos.org/openxr/openxr/merge_requests/2050))
38+
- Add additional extension dependencies to `XR_FB_swapchain_update_state`.
39+
([internal MR 2072](https://gitlab.khronos.org/openxr/openxr/merge_requests/2072),
40+
[internal issue 1572](https://gitlab.khronos.org/openxr/openxr/issues/1572))
41+
- Add new `XR_FB_composition_layer_secure_content` vendor extension.
42+
([internal MR 2075](https://gitlab.khronos.org/openxr/openxr/merge_requests/2075))
43+
- Add new `XR_FB_composition_layer_alpha_blend` vendor extension.
44+
([internal MR 2078](https://gitlab.khronos.org/openxr/openxr/merge_requests/2078))
45+
- Add new `XR_FB_composition_layer_image_layout` vendor extension.
46+
([internal MR 2090](https://gitlab.khronos.org/openxr/openxr/merge_requests/2090))
47+
- Add new `XR_MSFT_spatial_anchor_persistence` vendor extension.
48+
([internal MR 2093](https://gitlab.khronos.org/openxr/openxr/merge_requests/2093))
49+
- Add some simple [Schematron](https://schematron.com) rules and a script to
50+
check the XML registry against them.
51+
([internal MR 2103](https://gitlab.khronos.org/openxr/openxr/merge_requests/2103))
52+
- Register author ID and Reserve vendor extensions for Unity.
53+
([internal MR 2105](https://gitlab.khronos.org/openxr/openxr/merge_requests/2105))
54+
- Reserve extension ID range 187-196 for LIV Inc.
55+
([internal MR 2102](https://gitlab.khronos.org/openxr/openxr/merge_requests/2102))
56+
- SDK
57+
- Describe how runtimes may register themselves at installation time for manual
58+
selection.
59+
([internal MR 2081](https://gitlab.khronos.org/openxr/openxr/merge_requests/2081),
60+
[internal MR 2109](https://gitlab.khronos.org/openxr/openxr/merge_requests/2109),
61+
[internal issue 1574](https://gitlab.khronos.org/openxr/openxr/issues/1574))
62+
- Include sRGB in list of supported swapchain texture formats for the HelloXR
63+
OpenGLES plugin.
64+
([internal MR 2066](https://gitlab.khronos.org/openxr/openxr/merge_requests/2066))
65+
- layers: Refactor generated `xrGetInstanceProcAddr` implementations to avoid
66+
deeply-nested `if ... else` blocks. (Some compilers have limits we were nearing
67+
or hitting.)
68+
([internal MR 2050](https://gitlab.khronos.org/openxr/openxr/merge_requests/2050))
69+
- validation layer: Set default logging mode to stdout ("text") instead of none.
70+
([OpenXR-SDK-Source PR 262](https://github.com/KhronosGroup/OpenXR-SDK-Source/pull/262))
71+
- validation layer: Fix invalid struct type error message to show the expected
72+
type instead of the actual type.
73+
([OpenXR-SDK-Source PR 263](https://github.com/KhronosGroup/OpenXR-SDK-Source/pull/263))
74+
2275
## OpenXR SDK 1.0.17 (2021-06-08)
2376

2477
This release features an important fix to the loader for an invalid-iterator bug

COPYING.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ project.
100100
Q: Can I contribute changes to the OpenXR Specification?
101101

102102
A: Yes, by opening an Issue or Pull Request (PR) on the
103-
link:https://github.com/KhronosGroup/OpenXR-Docs/[OpenXR-Docs] Github
103+
link:https://github.com/KhronosGroup/OpenXR-Docs/[OpenXR-Docs] GitHub
104104
project.
105105
You must execute a click-through Contributor License Agreement, which brings
106106
your changes under the umbrella of the Khronos IP policy.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ and omits the samples, tests, and API layers, as they are not typically built as
3535
- `src/loader` - OpenXR loader code
3636
- `src/tests` - various test code (if looking for sample code start with `hello_xr/`)
3737

38-
Currently the best sample code is in [src/tests/hello_xr/](https://github.com/KhronosGroup/OpenXR-SDK-Source/tree/master/src/tests/hello_xr). More will be added in the future.
38+
Currently the best sample code is in [src/tests/hello_xr/](src/tests/hello_xr). More will be added in the future.
3939

4040
## Building
4141

42-
See [BUILDING.md](https://github.com/KhronosGroup/OpenXR-SDK-Source/blob/master/BUILDING.md)
42+
See [BUILDING.md](BUILDING.md)
4343

4444
## Note about `git blame`
4545

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

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

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

Lines changed: 0 additions & 2 deletions
This file was deleted.

changes/template.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@
33
{%- if service == "gh" -%}
44
{%- set project = ref.service_params[1] %}
55
{%- set project_base = "https://github.com/KhronosGroup/" + project %}
6-
{%- set link_text %}{{ project }}/#{{ ref.number }}{% endset %}
76
{%- if ref.item_type == "issue" -%}
87
{%- set subdir = "issues" %}
8+
{%- set kind = "issue" %}
99
{%- else -%}
1010
{%- set subdir = "pull" %}
11+
{%- set kind = "PR" %}
1112
{%- endif -%}
13+
{%- set link_text %}{{ project }} {{ kind }} {{ ref.number }}{% endset %}
1214
{%- else -%}
1315
{%- set project_base = "https://gitlab.khronos.org/openxr/openxr" %}
1416
{%- if ref.item_type == "issue" -%}

checkCodespell

Lines changed: 30 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
# limitations under the License.
1818

1919
# checkCodespell - Run the codespell (https://github.com/codespell-project/codespell)
20-
# tool on the specification, registry, scripts, and source. Forwards any command line arguments
21-
# on to the codespell invocation.
20+
# tool on the specification, registry, scripts, and source. Forwards any
21+
# command line arguments on to the codespell invocation.
2222
#
2323
# Usage: ./checkCodespell
2424
# Any command-line arguments are passed along to the codespell call,
@@ -42,8 +42,10 @@ CODESPELL_IGNORE=${CODESPELL_IGNORE:-${DEFAULT_CODESPELL_IGNORE}}
4242
# Add to this list when codespell mis-identifies a term actually used as a misspelling
4343
# (comma-delimited)
4444
# .Nd is used for a description in a mandoc manpage.
45-
# Wee and Ser are names
46-
IGNORE_WORDS="lod,LOD,nd,wee,ser,nuber"
45+
# ba is from a regex
46+
# unknwn is a header file name
47+
# Wee, Ser, Nuber, Blok are names
48+
IGNORE_WORDS="lod,nd,ba,unknwn,wee,ser,nuber,blok"
4749

4850
# Add to this to exclude individual files or directories (comma-delimited)
4951
# - Skipping external code.
@@ -60,27 +62,30 @@ CODESPELL=${CODESPELL:-${which_codespell}}
6062

6163
# This command is in a function so we can call it again easily to do a count.
6264
doCodespell() {
63-
${CODESPELL} --ignore-words-list="${IGNORE_WORDS}" \
65+
# this use of git grep will ask git to list only text files in the repo
66+
# under the given paths.
67+
# the grep -v below it removes some files from the list: external sources,
68+
# "not really fully text" files like svg and pdf,
69+
# as well as HTML files with base64-encoded assets
70+
git grep --files-with-matches -I '' -- \
71+
"${ROOT}"/*.md \
72+
"${ROOT}"/*.sh \
73+
"${ROOT}"/*.bat \
74+
"${ROOT}"/.azure-pipelines/ \
75+
"${ROOT}"/changes/ \
76+
"${ROOT}"/github/ \
77+
"${ROOT}"/include/ \
78+
"${ROOT}"/maintainer-scripts/ \
79+
"${ROOT}"/specification/ \
80+
"${ROOT}"/src/ \
81+
"${ROOT}"/vuid_database/ \
82+
| grep -E -v "(external|jsoncpp|stb_|[.]svg|[.]pdf|[.]html)" | \
83+
xargs \
84+
"${CODESPELL}" --ignore-words-list="${IGNORE_WORDS}" \
6485
--skip="${SKIP}" \
65-
--exclude-file=${ROOT}/openxr-codespell.exclude \
66-
"$@" \
67-
${ROOT}/*.md \
68-
${ROOT}/*.sh \
69-
${ROOT}/*.bat \
70-
${ROOT}/include/ \
71-
${ROOT}/specification/check* \
72-
${ROOT}/specification/make* \
73-
${ROOT}/specification/*.md \
74-
${ROOT}/specification/loader/ \
75-
${ROOT}/specification/registry/ \
76-
${ROOT}/specification/scripts/*.py \
77-
${ROOT}/specification/scripts/*.rb \
78-
${ROOT}/specification/scripts/openxr-macros/*.rb \
79-
${ROOT}/specification/sources/ \
80-
${ROOT}/src \
81-
${ROOT}/vuid_database/ \
82-
83-
# Keep a blank line after the last pattern, so that a trailing backslash is OK!
86+
--exclude-file="${ROOT}"/openxr-codespell.exclude \
87+
"$@"
88+
8489
}
8590

8691
echo "Using CODESPELL=${CODESPELL} - version $(${CODESPELL} --version)"
@@ -102,7 +107,7 @@ if [ $# -eq 0 ]; then
102107

103108
echo ""
104109
echo "No arguments passed, so counting errors and comparing to CODESPELL_IGNORE=${CODESPELL_IGNORE}"
105-
if [ ${CODESPELL_IGNORE} -ne ${DEFAULT_CODESPELL_IGNORE} ]; then
110+
if [ "${CODESPELL_IGNORE}" -ne "${DEFAULT_CODESPELL_IGNORE}" ]; then
106111
echo "Note: Manually-set CODESPELL_IGNORE is overriding the built in default value, DEFAULT_CODESPELL_IGNORE=${DEFAULT_CODESPELL_IGNORE}"
107112
else
108113
echo "(set from the built in default value, DEFAULT_CODESPELL_IGNORE)"

0 commit comments

Comments
 (0)