Skip to content

Commit 41603b7

Browse files
committed
OpenXR 1.0.6 release (24-January-2020)
Patch release for the 1.0 series. This release contains, among other things, a substantial simplification and cleanup of the loader, which should fix a number of issues and also make it forward compatible with extensions newer than the loader itself. As a part of this change, the loader itself now only supports a single `XrInstance` active at a time per process. If you attempt to create a new instance while an existing one remains (such as in the case of application code leaking an `XrInstance` handle), the loader will now return `XR_ERROR_LIMIT_REACHED`. ### GitHub Pull Requests These had been integrated into the public repo incrementally. - hello_xr - Initialize hand_scale to 1.0 <#157> - Fix Vulkan CHECK_CBSTATE build under newer MSVC <#154> - Initialize hand_scale to 1.0 to still show controller cubes even if grabAction not available on startup. <#157> - Loader - Single instance loader refactor with forward compatibility <#146> (and internal MRs 1599, 1621) - Fix bug in loading API layers that could result in not loading an available and enabled layer <#155> - Build - Clean up linking, build loader and layers with all available platform/presentation support, fix pkg-config file, rename `runtime_list` test executable to `openxr_runtime_list` <#149> ### Internal issues - Registry - Fix typo in visibility mesh enum comment. - Add `XR_EXT_win32_appcontainer_compatible` extension. - Scripts - Fix comment typos. - Sync scripts with Vulkan. (internal MR 1625) - Loader - Allow use of `/` in paths in FileSysUtils on Windows. - Build - Improve messages - hello_xr - Add D3D12 graphics plugin (internal MR 1616) - Fix comment typo.
1 parent ab1371a commit 41603b7

File tree

91 files changed

+1429
-664
lines changed

Some content is hidden

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

91 files changed

+1429
-664
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ CMakeLists.txt.user
88
*.tar.gz
99
*.log
1010
pregen/
11-
doc/
1211

1312
# Cached python scripts in bytecode form
1413
*.pyc

CHANGELOG.SDK.md

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

16+
## OpenXR 1.0.6 release (24-January-2020)
17+
18+
Patch release for the 1.0 series.
19+
20+
This release contains, among other things, a substantial simplification and
21+
cleanup of the loader, which should fix a number of issues and also make it
22+
forward compatible with extensions newer than the loader itself. As a part of
23+
this change, the loader itself now only supports a single `XrInstance` active at
24+
a time per process. If you attempt to create a new instance while an existing
25+
one remains (such as in the case of application code leaking an `XrInstance`
26+
handle), the loader will now return `XR_ERROR_LIMIT_REACHED`.
27+
28+
### GitHub Pull Requests
29+
30+
These had been integrated into the public repo incrementally.
31+
32+
- hello_xr
33+
- Initialize hand_scale to 1.0
34+
<https://github.com/KhronosGroup/OpenXR-SDK-Source/pull/157>
35+
- Fix Vulkan CHECK_CBSTATE build under newer MSVC
36+
<https://github.com/KhronosGroup/OpenXR-SDK-Source/pull/154>
37+
- Initialize hand_scale to 1.0 to still show controller cubes even if
38+
grabAction not available on startup.
39+
<https://github.com/KhronosGroup/OpenXR-SDK-Source/pull/157>
40+
- Loader
41+
- Single instance loader refactor with forward compatibility
42+
<https://github.com/KhronosGroup/OpenXR-SDK-Source/pull/146> (and internal
43+
MRs 1599, 1621)
44+
- Fix bug in loading API layers that could result in not loading an available
45+
and enabled layer
46+
<https://github.com/KhronosGroup/OpenXR-SDK-Source/pull/155>
47+
- Build
48+
- Clean up linking, build loader and layers with all available
49+
platform/presentation support, fix pkg-config file, rename `runtime_list`
50+
test executable to `openxr_runtime_list`
51+
<https://github.com/KhronosGroup/OpenXR-SDK-Source/pull/149>
52+
53+
### Internal issues
54+
55+
- Registry
56+
- Fix typo in visibility mesh enum comment.
57+
- Add `XR_EXT_win32_appcontainer_compatible` extension.
58+
- Scripts
59+
- Fix comment typos.
60+
- Sync scripts with Vulkan. (internal MR 1625)
61+
- Loader
62+
- Allow use of `/` in paths in FileSysUtils on Windows.
63+
- Build
64+
- Improve messages
65+
- hello_xr
66+
- Add D3D12 graphics plugin (internal MR 1616)
67+
- Fix comment typo.
68+
1669
## OpenXR 1.0.5 release (6-December-2019)
1770

1871
Patch release for the 1.0 series.
@@ -108,11 +161,13 @@ These had been integrated into the public repo incrementally.
108161
- Update vendored jsoncpp to 1.9.1 (internal MR 1523)
109162
- Loader
110163
- Add ability to quiet the loader's default output (internal MR 1576)
111-
- Fix conformance of loader in `xrEnumerateApiLayerProperties`/`xrEnumerateInstanceExtensionProperties`
164+
- Fix conformance of loader in
165+
`xrEnumerateApiLayerProperties`/`xrEnumerateInstanceExtensionProperties`
112166
- hello_xr
113167
- Simplify action usage in hello_xr (internal MR 1553)
114168
- Registry
115-
- Add `XR_EXT_view_configuration_depth_range` extension (internal MR 1502, internal issue 1201)
169+
- Add `XR_EXT_view_configuration_depth_range` extension (internal MR 1502,
170+
internal issue 1201)
116171
- Reserve a Monado extension (internal MR 1541)
117172

118173
## OpenXR 1.0.2 release (27-August-2019)
@@ -129,7 +184,8 @@ These had been integrated into the public repo incrementally.
129184
- General, Build, Other
130185
- #112 - Update active runtime search documentation
131186
- #106 - List app changes
132-
- #114 - Support for building WindowsStore loader and layers, and simplified filename
187+
- #114 - Support for building WindowsStore loader and layers, and simplified
188+
filename
133189
- #96 - Misc cleanup: build simplification, install hello_xr,
134190
allow building as subproject, fix null deref in validation layer.
135191
- Loader
@@ -141,10 +197,12 @@ These had been integrated into the public repo incrementally.
141197
- #118 - Fix logic error in Linux active runtime search
142198
- #115, #117 - Simplification and refactoring.
143199
- Layers
144-
- #111 - Some fixes to Validation Layer (as found applying to the UE4 OpenXR plugin)
200+
- #111 - Some fixes to Validation Layer (as found applying to the UE4 OpenXR
201+
plugin)
145202
- #110 - Fix cleaning up session labels in validation layer
146203
- From OpenXR-Docs:
147-
- #26 - Proposal for unbounded space and spatial anchor extensions (vendor extensions)
204+
- #26 - Proposal for unbounded space and spatial anchor extensions (vendor
205+
extensions)
148206

149207
### Internal issues
150208

@@ -177,16 +235,19 @@ These had been integrated into the public repo incrementally.
177235

178236
- General, Build, Other
179237
- #87 - Fix makefiles
180-
- #88 - Remove unneeded generation (corresponds to issue #74, internal issue 1139, internal MR 1491)
238+
- #88 - Remove unneeded generation (corresponds to issue #74, internal issue
239+
1139, internal MR 1491)
181240
- #101 - Fix install of header and loader.
182241
- Loader
183-
- #91 - Fix a loader bug which prevented Layers from not implementing all XR functions
242+
- #91 - Fix a loader bug which prevented Layers from not implementing all XR
243+
functions
184244
- #95 - Guard config includes/defines (relates to #81, #92)
185245
- #97 - Remove a constant static std::vector, use a std::array instead.
186246
- Layers
187247
- #84 - Fix Linux warning for apidump
188248
- From OpenXR-Docs:
189-
- #26 - Proposal for unbounded space and spatial anchor extensions (vendor extensions)
249+
- #26 - Proposal for unbounded space and spatial anchor extensions (vendor
250+
extensions)
190251

191252
### Internal issues
192253

@@ -230,7 +291,8 @@ These had been integrated into the public repo incrementally.
230291
- Loader
231292
- #38 - Remove dead file-locking code
232293
- #51 - Idiomatic Linux active_runtime.json search logic
233-
- #55, #58, #68 - Purge std::map bracket operations that might do inadvertent insertions
294+
- #55, #58, #68 - Purge std::map bracket operations that might do inadvertent
295+
insertions
234296
- #56 - Make `filesystem_util.cc` `#define UNICODE`-compatible
235297
- #57 - Make it possible to bypass macro that checks which `filesystem` to use
236298
- #60 - Fix build error with shlwapi function
@@ -247,8 +309,9 @@ These had been integrated into the public repo incrementally.
247309
## Change log for OpenXR 0.90.1 provisional spec update (8-May-2019)
248310

249311
No API changes, and only minimal consistency changes to the spec/registry.
250-
Mostly an update for tooling, layers, loader, and sample code.
251-
Header version has been bumped to 43, but no symbols that should have actually been in use have changed.
312+
Mostly an update for tooling, layers, loader, and sample code. Header version
313+
has been bumped to 43, but no symbols that should have actually been in use have
314+
changed.
252315

253316
### GitHub Pull Requests
254317

@@ -269,31 +332,40 @@ These had been integrated into the public repo incrementally.
269332
- #26 - Fix a warning
270333
- Loader
271334
- #3 - Don't cross 32/64 registry silos
272-
- #14 - Initialize XrExtensionProperties array parameter for rt_xrEnumerateInstanceExtensionProperties
335+
- #14 - Initialize XrExtensionProperties array parameter for
336+
rt_xrEnumerateInstanceExtensionProperties
273337
- #20 - Fix Linux manifest file search
274338
- #30 - Add default implementations of API functions to dispatch chains
275339
- #32 - Avoid crash when evaluating layer disable environment vars
276340
- #35 - Add 'unknown' strings to loader's *ToString fallback functions
277-
- #36 - Allow null instance in xrGetInstanceProcAddr() for certain entry points
341+
- #36 - Allow null instance in xrGetInstanceProcAddr() for certain entry
342+
points
278343
- #39 - Default to static loader only on Windows
279344

280345
### Internal Issues
281346

282347
- General, Build, Other
283-
- Unify (for the most part) the OpenXR and Vulkan generator scripts. (internal MR 1166)
348+
- Unify (for the most part) the OpenXR and Vulkan generator scripts. (internal
349+
MR 1166)
284350
- List instance extensions in the "list" test. (internal MR 1169)
285-
- Avoid dllexport for all apps compiled with `openxr_platform_defines.h` (internal MR 1187)
286-
- Don't offer `BUILD_SPECIFICATION` unless the spec makefile is there. (internal MR 1179)
351+
- Avoid dllexport for all apps compiled with `openxr_platform_defines.h`
352+
(internal MR 1187)
353+
- Don't offer `BUILD_SPECIFICATION` unless the spec makefile is there.
354+
(internal MR 1179)
287355
- Add simple input example to hello_xr. (internal MR 1178)
288356
- Add a clang-format script for ease of development.
289357
- API Registry and Headers
290358
- Remove impossible and undocumented error codes. (internal MR 1185 and 1189)
291-
- Mark layers in `XrFrameEndInfo` as optional. (internal MR 1151, internal issue 899)
359+
- Mark layers in `XrFrameEndInfo` as optional. (internal MR 1151, internal
360+
issue 899)
292361
- Remove unused windows types from `openxr_platform.h` (internal MR 1197)
293-
- Make `openxr_platform.h` include `openxr.h` on which it depends. (internal MR 1140, internal issue 918)
362+
- Make `openxr_platform.h` include `openxr.h` on which it depends. (internal
363+
MR 1140, internal issue 918)
294364
- Remove unused, undocumented defines. (internal MR 1238, internal issue 1012)
295365
- Loader
296-
- Fix loader regkey search logic so 64bit application loads 64bit regkey value. (internal MR 1180)
297-
- Modify loader to be friendly to UWP (Universal Windows Platform) build target. (internal MR 1198)
366+
- Fix loader regkey search logic so 64bit application loads 64bit regkey
367+
value. (internal MR 1180)
368+
- Modify loader to be friendly to UWP (Universal Windows Platform) build
369+
target. (internal MR 1198)
298370

299371
## OpenXR 0.90.0 - Initial public provisional release at GDC

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2017-2019 The Khronos Group Inc.
1+
# Copyright (c) 2017-2020 The Khronos Group Inc.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

checkCodespell

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22
#
3-
# Copyright (c) 2019 The Khronos Group Inc.
3+
# Copyright (c) 2019-2020 The Khronos Group Inc.
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.

include/openxr/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2017-2019 The Khronos Group Inc.
1+
# Copyright (c) 2017-2020 The Khronos Group Inc.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

include/openxr/openxr_platform_defines.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
** Copyright (c) 2017-2019 The Khronos Group Inc.
2+
** Copyright (c) 2017-2020 The Khronos Group Inc.
33
**
44
** Licensed under the Apache License, Version 2.0 (the "License");
55
** you may not use this file except in compliance with the License.

maintainer-scripts/archive-sdk.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
# Copyright (c) 2019 The Khronos Group Inc.
2+
# Copyright (c) 2019-2020 The Khronos Group Inc.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.
@@ -17,9 +17,6 @@
1717
# generated files for OpenXR-SDK
1818
#
1919
# Usage: ./archive-sdk.sh
20-
# Optionally, call ./archive-state.sh PREVIOUS_RELEASE_TAG_GOES_HERE
21-
# to also get per-tarball changelogs to use as a starting place for
22-
# the commit message/release notes.
2320

2421
set -e
2522

maintainer-scripts/common.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
# Copyright (c) 2019 The Khronos Group Inc.
2+
# Copyright (c) 2019-2020 The Khronos Group Inc.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.
@@ -160,6 +160,7 @@ getSDKFilenames() {
160160
CHANGELOG.SDK.md \
161161
CMakeLists.txt \
162162
LICENSE \
163+
.azure_pipelines \
163164
specification/registry/*.xml \
164165
include/ \
165166
src/CMakeLists.txt \
@@ -171,7 +172,6 @@ getSDKFilenames() {
171172
src/external/CMakeLists.txt \
172173
src/external/jsoncpp \
173174
src/.clang-format \
174-
.azure_pipelines \
175175
| grep -v "gfxwrapper" \
176176
| grep -v "include/.gitignore" \
177177
| grep -v "images"

runClangFormat.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# Copyright (c) 2017-2019 The Khronos Group Inc.
2+
# Copyright (c) 2017-2020 The Khronos Group Inc.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.

specification/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2013-2019 The Khronos Group Inc.
1+
# Copyright (c) 2013-2020 The Khronos Group Inc.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -42,7 +42,7 @@ ifneq (,$(strip $(VERY_STRICT)))
4242
ASCIIDOC := $(ASCIIDOC) --failure-level WARN
4343
endif
4444

45-
SPECREVISION = 1.0.5
45+
SPECREVISION = 1.0.6
4646
REVISION_COMPONENTS = $(subst ., ,$(SPECREVISION))
4747
MAJORMINORVER = $(word 1,$(REVISION_COMPONENTS)).$(word 2,$(REVISION_COMPONENTS))
4848

0 commit comments

Comments
 (0)