Update log for the OpenXR-SDK-Source and OpenXR-SDK repo on GitHub. Updates are in reverse chronological order starting with the latest public release.
Note that only changes relating to the loader and some of the build changes will affect the OpenXR-SDK repository. Changes mentioned in this changelog related to hello_xr, API layers, and the loader tests do not apply to the OpenXR-SDK repository.
This summarizes the periodic public updates, not individual commits. Updates on GitHub are generally done as single large patches at the release point, collecting together the resolution of many Khronos internal issues, along with any public pull requests that have been accepted. In this repository in particular, since it is primarily software, pull requests may be integrated as they are accepted even between periodic updates.
This release updates a vendor extension with renamed enumerants, adds
architecture support for loong64
, and delivers substantial improvements and
fixes to the XML registry, particularly the description of interaction profile
- Registry
- Fix: Update schema to reflect that
XrPathString_t
should allow dash in interaction profile paths. (internal MR 3493) - Fix:
XR_VARJO_xr4_controller_interaction
did not properly define its interaction profile in XML. (internal MR 3493, internal MR 3548) - Fix: Correct XML description of OpenXR 1.1 related additions to the promoted Meta Touch Plus, Touch Pro, and Touch (Rift CV1) controller interaction profiles. (internal MR 3513, internal issue 2350, internal issue 2375)
- Fix: Add missing XML description of
EXT_hand_interaction
additions to several interaction profiles, and add comments to clarify where profile additions should be located. (internal MR 3517, internal MR 3541, internal MR 3552) - Fix: Corrections to the Schema chapter of the style guide. (internal MR 3521)
- Improvement: Small consistency clean-up. (internal MR 3512)
- Improvement: Clean up
.rnc
schema to improve readability. (internal MR 3521) - Scripts: Improve
update_version.py
used in release process. (internal MR 3543) - Update: Change naming convention in
XR_HTC_facial_expression
: renameXR_LIP_EXPRESSION_MOUTH_SMILE_RIGHT_HTC
toXR_LIP_EXPRESSION_MOUTH_RAISER_RIGHT_HTC
,XR_LIP_EXPRESSION_MOUTH_SMILE_LEFT_HTC
toXR_LIP_EXPRESSION_MOUTH_RAISER_LEFT_HTC
,XR_LIP_EXPRESSION_MOUTH_SAD_RIGHT_HTC
toXR_LIP_EXPRESSION_MOUTH_STRETCHER_RIGHT_HTC
andXR_LIP_EXPRESSION_MOUTH_SAD_LEFT_HTC
toXR_LIP_EXPRESSION_MOUTH_STRETCHER_LEFT_HTC
, providing the old names as compatibility aliases. (internal MR 3408)
- Fix: Update schema to reflect that
- SDK
- Loader: Fix build error on
loong64
, and addloong64
in the architecture table in the loader documentation. (OpenXR-SDK-Source PR 479)
- Loader: Fix build error on
This release features several new vendor extensions, as well as some small improvements and fixes to the software.
- Registry
- Change: Allow structs that can extend multiple other structs in the RelaxNG schema, as already permitted by the Vulkan schema. (internal MR 2869)
- New vendor extension:
XR_HTC_body_tracking
(internal MR 2549) - New vendor extension:
XR_ML_spatial_anchors
(internal MR 2803) - New vendor extension:
XR_ML_spatial_anchors_storage
(internal MR 2804) - New vendor extension:
XR_ML_system_notifications
(internal MR 2946) - New vendor extension:
XR_ML_world_mesh_detection
(internal MR 2950) - New vendor extension:
XR_ML_view_configuration_depth_range_change
(internal MR 3036)
- SDK
- Fix: Do not enforce overly-strict requirements on structs using
*BaseHeader
types in the code generation scripts, fixing a build-time warning for the layers. (internal MR 3434) - Improvement: Migrate CMake build system away from using
find_package(PythonInterpreter)
, deprecated since CMake 3.12. Usefind_package(Python3 COMPONENTS Interpreter)
instead. (OpenXR-SDK-Source PR 486, internal MR 3472) - Validation layer: Improvement: Clean up
generate_vuid_database
script, used to analyze the validation layer. (internal MR 2895) - ci: Remove now-redundant gradle-wrapper-validation job from GitHub Actions (OpenXR-SDK-Source PR 500)
- ci: Add GitHub Action for macOS building (OpenXR-SDK-Source PR 501)
- doc: Add command to build OpenXR targets on macOS (OpenXR-SDK-Source PR 501)
- hello_xr: Addition: Log Vulkan extensions requested by runtime and by app,
visible when running with
--verbose
. (OpenXR-SDK-Source PR 403)
- Fix: Do not enforce overly-strict requirements on structs using
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 fromXR_EXT_conformance_automation
. (internal MR 3417)
- Add: New ratified Khronos extension:
- 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 withXR_KHR_metal_enable
extension. (internal MR 3009, internal MR 3456) - hello_xr: Improvement: Use
XrMatrix4x4f_CreateFromRigidTransform
in place ofXrMatrix4x4f_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.
This is a fairly small release, with one new extension and a handful of fixes.
- Registry
- Addition: New multi-vendor extension:
XR_EXT_composition_layer_inverted_alpha
(internal MR 3085, internal MR 3385) - Chore: Reserve an extension for Logitech. (internal MR 3384)
- Chore: Register author tag for Deep Mirror. (OpenXR-Docs PR 171)
- Fix:
XrCompositionLayerPassthroughFB
has a "parentstruct" ofXrCompositionLayerBaseHeader
(it is based on this type), rather than "structextends" (in the next chain). Bump extension revision. (internal MR 3305) - Fix:
XR_EXT_plane_detection
: Fix extents description and plane axis to match CTS and implementations. (internal MR 3374, internal issue 2281) - Fix: Correct typo in
XR_FB_keyboard_tracking
flag description. (internal MR 3393)
- Addition: New multi-vendor extension:
- SDK
- No significant changes
This release primarily adds new defines for easier use of both OpenXR 1.0 and 1.1 with up-to-date headers, some documentation improvements, and improvements for Android, including support for using the "API Dump" and "Validation" API layers in your own APK during the development process.
- Registry
- Addition: New
XR_API_VERSION_1_0
andXR_API_VERSION_1_1
defines to allow applications to easily specify OpenXR "major" and "minor" version while passing through the "patch" version. (internal MR 3329, internal MR 3354, internal issue 2254) - Addition: Register Razer vendor ID. (internal MR 3340)
- Fix: Add "palm_pose" to "touch_controller_pro" and "touch_controller_plus" in XML. (internal MR 3363)
- Improvement: Add Schematron rule to avoid triggering edge cases of vendor tags ending with X. (internal MR 3341)
- Reservation: Reserve extension numbers for a few new EXT extensions. (internal MR 3285, internal MR 3292)
- Update: Bump version of
XR_FB_composition_layer_alpha_blend
due to spec text clarification. (internal MR 3317)
- Addition: New
- SDK
- Addition: Ship
open-in-docker.sh
script for use building the loader design doc. (internal MR 3352, internal issue 2283, OpenXR-SDK-Source issue 476) - Fix: Fix references to Docker container in spec build instructions and clarify that most parts do not apply to the SDK-Source repo. (internal MR 3352, internal issue 2283, OpenXR-SDK-Source issue 476)
- Fix: Do not load all Android app-supplied layers as explicit, but rather as their actual type. (OpenXR-SDK-Source PR 475, internal issue 2284)
- Improvement: Use new
XR_API_VERSION_1_0
andXR_API_VERSION_1_1
defines. (internal MR 3329, internal issue 2254) - Improvement: Add Android support to "api_dump" and "core_validation" API layers. (internal MR 3330)
- Addition: Ship
This is a substantial update to the OpenXR specification. The OpenXR loader in
this release supports both OpenXR 1.0 and 1.1, and sample applications such as
hello_xr continue to only require OpenXR 1.0. The schema associated with the
xr.xml
description of OpenXR has received a small but breaking change, so
software that parses it may need an update accordingly. Additionally, the
protocol for the OpenXR loader on Android to communicate with system or
installable runtime brokers has been extended for improvfed backward- and
forward-compatibility; see the changes to the loader design document for more
information.
- Registry
- New ratified Khronos extension:
XR_KHR_locate_spaces
(internal MR 2272, internal issue 1706) - New ratified Khronos extension:
XR_KHR_maintenance1
(internal MR 3053) - New ratified OpenXR version:
XR_VERSION_1_1
- OpenXR 1.1. (internal MR 3053) - New multi-vendor extension:
XR_EXT_future
(internal MR 2610) - New vendor extension:
XR_META_environment_depth
(internal MR 2771, internal MR 3271) - Mark
XR_OCULUS_android_session_state_enable
as deprecated. (internal MR 3255) - Update the XML schema to change how dependencies are described (replacing
requiresCore
andrequires
attributes ofextension
, andfeature
andextension
attributes ofrequire
, with a newdepends
attribute.). This is a breaking change of the XML schema, though in an infrequently processed attribute. This corresponds to the change made in Vulkan 1.3.241. (internal MR 3260)
- New ratified Khronos extension:
- SDK
- API dump layer: Handle opaque futures defined by
XR_EXT_future
. (internal MR 2610) - API dump layer: Zero initialize out-param in calls to
xrResultToString
andxrStructureTypeToString
. (internal MR 3284) - Android loader: Build using NDK 23.2. (internal MR 2992)
- Android loader: Allow the loader to check multiple records from the broker, for backward- and forward-compatibility (internal MR 3269, internal issue 2226)
- Loader: Improve error logging in the case that the Windows registry
ActiveRuntime
path cannot be parsed or found. (internal MR 3015, internal issue 2125) - Loader: Remove path separator parsing from Windows registry
ActiveRuntime
path to fix bug. (internal MR 3015) - Loader: Fix build issue for ARMv6 architectures, and note architecture naming quirk of Raspberry Pi OS in the architecture table in the loader documentation. (OpenXR-SDK-Source PR 464, OpenXR-SDK-Source issue 463)
- Reduce duplication of environment variable getters and setters. (internal MR 3039)
- Updates to scripts and software to handle aliases and promoted functionality in
XR_KHR_maintenance1
andXR_VERSION_1_1
(internal MR 3053) - hello_xr: Fix Windows mirror window acquire, wait, present loop. (internal MR 3289)
- hello_xr and other samples: Update Android compile SDK version (to 33), NDK version (to 23.2), and build tools version (to 34.0.0). (internal MR 2992)
- hello_xr and runtime list: Request an OpenXR 1.0 instance by default. (internal MR 3320)
- loader_test: Build fixes to allow loader_test to compile / run on Android. (internal MR 3153)
- API dump layer: Handle opaque futures defined by
This release features a number of new multi-vendor and vendor extensions, additional functionality in the reflection header, as well as compatibility improvements for the loader on Android.
- Registry
- Extension reservation: Register author ID and reserve extensions for Leia. (internal MR 3203)
- Fix: Remove erroneous interaction profile component additions from extensions. (internal MR 3223)
- New multi-vendor extension:
XR_EXT_user_presence
(internal MR 2706, internal issue 1585) - New vendor extension:
XR_META_recommended_layer_resolution
(internal MR 2570) - New vendor extension:
XR_META_automatic_layer_filter
(internal MR 2696) - New vendor extension:
XR_META_spatial_entity_mesh
(internal MR 2773) - New vendor extension:
XR_FB_face_tracking2
(internal MR 2811) - New vendor extension:
XR_VARJO_xr4_controller_interaction
(internal MR 3078) XR_FB_scene
: Update to spec version 4. (internal MR 2774)XR_META_headset_id
andXR_FB_spatial_entity
: DropXR_EXT_uuid
dependency, they use the data structure but do not require any runtime support specific toXR_EXT_uuid
(internal MR 2577)
- SDK
- API Layers: Add version-script for linking API Layers on Linux and Android. (internal MR 3112)
- Fix typo in
gfxwrapper_opengl
that did not affect the use in this repository directly, but may affect downstream users of this code. (internal MR 3215) - Loader: fix to Android Loader so that the
/<path_to_apk>/my_apk_file.apk!/libs/libstuff.so
will not get blocked (internal MR 3054) - Loader: Add missing ifdef guards for
XR_KHR_LOADER_INIT_SUPPORT
. (internal MR 3152, internal MR 3159) - Loader: Fix crash in case of calling
xrEnumerateInstanceExtensionProperties
before callingxrInitializeLoaderKHR
on Android. (internal MR 3159) - Loader design: Add a note about environment variables being ignored when run on Windows as admin. (internal MR 3214)
openxr_reflection.h
: Add macros to list functions provided by each feature / extension. (internal MR 3129)- external: Update Jinja2 Python module shipped with repository (for source code generation) to 2.11.3. (internal MR 3221, internal MR 3237)
This release primarily adds new ratified functionality describing the loader
interaction with runtimes and API layers. Corresponding definitions are now in
the official openxr_loader_negotiation.h
generated header, rather than the
loader_interfaces.h
header previously shipped only with the OpenXR-SDK-Source
repository. This change only affects vendors of runtimes and API layers as well
as contributors to the OpenXR loader: applications do not directly use this API,
the loader uses it on their behalf. A number of other small fixes are also
included.
- Registry
- Extension reservation: Update author ID and reserve extensions for Varjo. (internal MR 3083)
- Extension reservation: Reserve 10 extension ids each for
ANDROIDX
&ANDROIDSYS
. (internal MR 3086) - Khronos ratified addition: Specify the existing loader negotiation functions
(without modification) in the XML, moving from
loader_interfaces.h
to a new generated headeropenxr_loader_negotiation.h
. (internal MR 2807, internal issue 1953) XR_KHR_android_thread_settings
: Fix the description ofXrAndroidThreadTypeKHR
enum values - they were swapped relative to their implicit meaning from their name. (internal MR 3077)XR_MNDX_egl_enable
: Update version to 2 to reflect function pointer type change released in 1.0.29. (OpenXR-Docs PR 159)
- SDK
- Loader: Fix loader build on Universal Windows Platform: build-system-only change. (Included in SDK hotfix 1.0.32.1.) (internal MR 3071)
- Loader: Correctly destroy the LoaderInstance when loader is done. (internal MR 3041)
- Remove obsolete
loader_interfaces.h
header, migrating uses (in loader and layers) to use the newly specified and ratifiedopenxr_loader_negotiation.h
, and adjust scripts for the addition of the loader negotiation APIs. (internal MR 2807, internal issue 1953, internal MR 3122)
- Misc
- Update/correct names.
- Ship a
.mailmap
file in the public repositories, maintained separately from the larger one used in the private monorepo, to correct names/emails and unify contributor identities. - Update Khronos Group copyright dates.
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)
- Extension reservation: Reserve extension id for
- SDK
- Loader: Pass
xrInitializeLoaderKHR
calls to enabled API layers ifXR_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)
- Loader: Pass
This release features two new vendor extensions and minor extension XML revisions, in addition to compatibility and logging improvements in the software.
- Registry
- Extension reservation: Reserve extensions for NVIDIA. (internal MR 2952)
- Extension reservation: Reserve extensions for Meta. (internal MR 2959)
- Extension reservation: Reserve extensions for Android. (internal MR 2966)
- Extension reservation: Reserve an extension for
XR_KHR_egl_enable
. (internal MR 2982) - New vendor extension:
XR_MSFT_scene_marker
(internal MR 2601) - New vendor extension:
XR_ML_user_calibration
(internal MR 2849) - Schematron: Allow chained structs that extend a two-call-idiom struct to carry
only a
*CapacityInput
member. (internal MR 2892, internal issue 2059) XR_FB_render_model
: Fixstructextends
attribute and removereturnedonly
attribute ofXrRenderModelCapabilitiesRequestFB
, to match the specification prose. (internal MR 2765, OpenXR-Docs issue 153, internal issue 2017)- xml: Fixed a few errors in MSFT extensions discovered by Schematron checks. (internal MR 2892)
- SDK
- API Layers: Add logging on API layer negotiation failure. (internal MR 2926)
- Fix: Enable build with clang-cl on Windows through Visual Studio. (internal MR 2948)
- Fix: Remove unused pthread prototypes declaration in
_USE_GNU
ifdef, fixing builds on some systems. (internal MR 2981) - Fix comment typo in platform utils header. (internal MR 2991)
- gfxwrapper: Add OpenGL 3.3 functions to an internal utility library used by hello_xr, shared with the CTS. (internal MR 2941)
- loader: Modify
jnipp
, used by the loader on Android, to no longer usebasic_string<>
with types that are technically not in the C++ specification as permissible, to fix compatibility with an upcominglibc++
update. (internal MR 2974, internal issue 2094, OpenXR-SDK-Source PR 426) - loader_test: Refactor to use existing macros for all test to avoid repetition. (internal MR 2922)
- scripts: Small fixes and cleanups (internal MR 2998, internal MR 2894, internal MR 2896)
This release is primarily a quality improvement release, fixing a range of issues in the registry and SDK, including fixing a loader bug related to layers, in addition to a new vendor extension and an updated vendor extension.
- Registry
- Add missing enum tags for enum-sized array struct members. (internal MR 2731)
- Fix EGL "get proc addr" function pointer typedef. (internal MR 2939)
- New vendor extension:
XR_YVR_controller_interaction
(internal MR 2841) XR_BD_controller_interaction
: Add support for G3 devices (internal MR 2872)- Fix specification errors highlighted by fixed tooling. (internal MR 2923)
- SDK
- Add installable manual page for
openxr_runtime_list_json
. (internal MR 2899) - Remove unused diagram exports from loader directory. (internal MR 2907)
- Update URLs in manual pages. (internal MR 2935)
- Validation Layer: Remove conditional
XR_KHR_headless
support as the extension is not part of OpenXR 1.0. (internal MR 2901) - build system: Add CTest support for running the loader test. (internal MR 2289, OpenXR-SDK-Source issue 309, internal issue 1733)
- hello_xr: Clean up how we specify the default graphics plugin on Android. (internal MR 2917)
- list_json: Add missing return statement for exit code. (internal MR 2936)
- loader: fix for implicit/explicit api layer loading logic (OpenXR-SDK-Source PR 421, internal issue 2079)
- Add installable manual page for
This release contains several fixes to the specification registry, improvements to the loader, layers, and loader test, as well as enhancements to the loader documentation/specification to support architecture and ABI specific active runtime manifest names on Linux and Android.
- Registry
- Change
PFNEGLGETPROCADDRESSPROC
(foreglGetProcAddress
) to a locally defined type to avoid compiler errors. (internal MR 2468) - Extension reservation: Register author ID and reserve vendor extensions for YVR. (internal MR 2832)
- New vendor extension:
XR_META_passthrough_preferences
(internal MR 2694) XR_HTCX_vive_tracker_interaction
: Added new role paths for wrists and ankles. (internal MR 2728)
- Change
- SDK
- Changes also included in 1.0.28.1 SDK hotfix release
- layers: Build with
/bigobj
or equivalent on Windows due to increased number of generated functions with spec growth. (internal MR 2837, internal issue 2051, OpenXR-SDK-Source PR 414)
- layers: Build with
- Changes also included in 1.0.28.2 SDK hotfix release
- Android AAR artifacts (loader) and hello_xr: Fix
<queries>
element contents. (internal MR 2840, internal issue 2053) - Android AAR artifacts: Fix C++ standard library selection for Android artifacts
in
build-aar.sh
(internal MR 2836, internal issue 2052) - Android AAR artifacts: Use
jar
instead of 7-zip to perform archiving, and document requirements inbuild-aar.sh
(internal MR 2836, OpenXR-SDK-Source issue 303, internal issue 1711) - build system: Support SDK hotfix versions (fourth version component). (internal MR 2836)
- Android AAR artifacts (loader) and hello_xr: Fix
- Add XrVector2f length function to
xr_linear.h
(internal MR 2876) - Add build.gradle files for list_json, c_compile_test. (internal MR 2908)
- Change
PFNEGLGETPROCADDRESSPROC
(foreglGetProcAddress
) to a locally defined type to avoid compiler errors. (internal MR 2468) - Enable
loader_test
tests which require a valid extension (internal MR 2790) - Fix building hello_xr with mingw compiler. (internal MR 2850)
- Improvement: Reduce size of dispatch table in OpenXR loader. (Full size table still shipped in OpenXR-SDK even though it is not used by the loader anymore.) (internal MR 2810, internal MR 2842)
- Maintenance script updates. (internal MR 2900)
- loader: Add support for architecture-specific active runtime manifests for Linux, macOS, and Android. (internal MR 2450, internal issue 2066, internal MR 2871)
- loader: refactor to use jnipp on Android (internal MR 2812)
- loader: disable
loader_test
if api layer building is disabled (internal MR 2843) - loader_test: Replace session test with action test to make test more maintainable. (internal MR 2786)
- validation layer: Fix deadlock when calling
XR_EXT_debug_utils
functions. (internal MR 2865)
- Changes also included in 1.0.28.1 SDK hotfix release
This release contains improved compatibility and code quality fixes for the loader, support for loading certain API layers on Android-based devices, and a number of other improvements, in addition to the new extensions. Additionally, the loader documentation now describes how OpenXR handles compatibility with Android API levels of 30 and above: runtimes may need to update accordingly to support this compatibility solution.
- OpenXR SDK 1.0.28.2 hotfix release includes the following fixes
- Loader spec: Fix description of
<queries>
element contents: existing description would fail to install. (internal MR 2840, internal issue 2053) - Android AAR artifacts (loader) and hello_xr: Fix
<queries>
element contents. (internal MR 2840, internal issue 2053) - Android AAR artifacts: Fix C++ standard library selection for Android artifacts
in
build-aar.sh
(internal MR 2836, internal issue 2052) - Android AAR artifacts: Use
jar
instead of 7-zip to perform archiving, and document requirements inbuild-aar.sh
(internal MR 2836, OpenXR-SDK-Source issue 303, internal issue 1711) - build system: Support SDK hotfix versions (fourth version component). (internal MR 2836)
- Loader spec: Fix description of
- OpenXR SDK 1.0.28.1 hotfix release includes the following fix
- API dump layer: Fix build on Windows on ARM64. (OpenXR-SDK-Source PR 414)
- Registry
- Added defines to
xr.xml
for extension enum base and enum stride. (internal MR 2693, OpenXR-Docs issue 148, internal issue 1979) - Extension reservation: Reserve an extension for
XR_EXT_future
(internal MR 2631) - Extension reservation: Register
ANDROID
author ID and reserve 15 extensions for it. (internal MR 2690) - Extension reservation: Reserve extensions for "user presence" and "locate spaces" (internal MR 2705)
- Extension reservation: Reserve 25 extensions for Magic Leap. (internal MR 2778)
- Extension reservation: Reserve extension for
XR_KHR_extendable_action_binding
(internal MR 2779) - Fix spelling. (internal MR 2766)
- Fixed the error code specification for
xrGetControllerModelPropertiesMSFT
function. (internal MR 2600) - New multi-vendor extension:
XR_EXT_hand_interaction
(internal MR 2116) - New multi-vendor extension:
XR_EXT_plane_detection
(internal MR 2510, internal MR 2791) - New multi-vendor extension:
XR_EXT_hand_tracking_data_source
(internal MR 2568) - New vendor extension:
XR_META_passthrough_color_lut
(internal MR 2507) - New vendor extension:
XR_META_virtual_keyboard
(internal MR 2555) - New vendor extension:
XR_OPPO_controller_interaction
(OpenXR-Docs PR 146) - Update Magic Leap contact (internal MR 2699)
XR_FB_face_tracking
: Non-functional registry change, fixing a problem with standalone headers. (internal MR 2663)XR_FB_scene
: IntroduceXrSemanticLabelsSupportInfoFB
and bump spec version to 3. (internal MR 2682)XR_FB_spatial_entity
andXR_FB_scene
: AddXR_ERROR_SIZE_INSUFFICIENT
return code to functions which use the two-call idiom. (internal MR 2718)XR_FB_touch_controller_pro
: Fix XML to require thetouch_controller_pro
interaction profile for the extension (internal MR 2806)- registry: Remove extraneous whitespace from some commands. (OpenXR-SDK-Source PR 397)
- schematron: Improve self tests. (internal MR 2680)
- schematron: Require vendor tag on interaction profile paths introduced by extensions. (internal MR 2684)
- scripts: Allow schematron to check an alternate XML file. (internal MR 2670)
- Added defines to
- SDK
- Allow compilation of OpenXR SDK on Mac (internal MR 2788, internal MR 2789, internal MR 2790, internal MR 2800)
- Common: Add
stdint.h
include toplatform_utils.hpp
for GCC 13+ (OpenXR-SDK-Source PR 406) - Describe building OpenXR SDK on macOS with Xcode (internal MR 2768)
- Handle clang-format-16 in
runClangFormat.sh
, and adjust source files so its output matches the earlier version used on CI. (internal MR 2666, internal MR 2814) - Improvement: Fix clang warning
-Wundef
. (internal MR 2717) - Improvement: Fix leftover warnings when building with
-Wall
. (internal MR 2754, OpenXR-SDK-Source PR 410) - Loader: On Android, use a single logcat tag for all parts of the loader. (internal MR 2688)
- Loader: Update the required
queries
elements for an OpenXR application on Android, so that runtime and layer components loaded in the application process may access their own package in API >29. (internal MR 2708) - Loader: Search system directories for API layer manifests on Android (internal MR 2709)
- Loader: Add Product and OEM partition to active runtime search path on Android (internal MR 2709)
- Loader: Improve casting to
uint32_t
edge case handling. (internal MR 2745) - Loader: Clear possible dangling
next
pointers inXR_EXT_debug_utils
label structures. (internal MR 2764) - Validation Layer: Fix the validation_layer_generator to not check static array addresses. (OpenXR-SDK-Source PR 399)
- api_layers: Update API Layers spec section in README.md (internal MR 2753)
- cmake: Set up alias targets
OpenXR::openxr_loader
andOpenXR::headers
so that the loader and headers may be used the same whether you usedfind_package(OpenXR)
on binaries or have included the source tree as a subproject. (internal MR 2793) - gradle: Add license for gradlew and gradlew.bat (internal MR 2725)
- gradle: General cleanup and updates of Android build system. (internal MR 2796)
- hello_xr: Enable building with latest Android Studio canary (OpenXR-SDK-Source PR 393)
- layers: Code cleanup and calling convention fixes (internal MR 2784)
- loader test: Fix for Windows 32-bit (internal MR 2784)
- loader test: Fix CMake dependencies. (internal MR 2776)
This release contains a large list of improvements, including interaction
profile definitions in machine-readable format in the XML, consistent tool-based
formatting of the XML, a new list_json
tool to ease updates to
OpenXR-Inventory, and a wide variety of new vendor and multi-vendor
extensions, in addition to a collection of smaller improvements.
- Registry
- Add interaction profile definitions to
xr.xml
(internal MR 2485) - Chore: Format the full XML API registry with PrettyRegistryXML, making some small changes by hand to clean up. (internal MR 2540, internal MR 2329, OpenXR-SDK-Source PR 373, OpenXR-Docs PR 14, OpenXR-CTS PR 50, OpenXR-SDK PR 12)
- Document how to generate a standalone header file for an extension. (internal MR 2627)
- Extension reservation: Register author ID and reserve vendor extensions for Logitech. (internal MR 2504)
- Extension reservation: Reserve an extension number for a multi-vendor extension. (internal MR 2520)
- Extension reservation: Reserve an extension for
XR_EXT_hand_tracking_usage
(internal MR 2550) - Extension reservation: Reserve extension id 430 for
XR_EXT_plane_detection
(internal MR 2565) - Extension reservation: Reserve vendor extensions for Monado. (internal MR 2613)
- Extension reservation: Reserve vendor extensions for ACER. (OpenXR-Docs PR 142)
- Extension reservation: Reserve a vendor extension for OPPO. (OpenXR-Docs PR 145)
- New vendor extension:
XR_FB_composition_layer_depth_test
(internal MR 2208, internal issue 1657) - New vendor extension:
XR_META_foveation_eye_tracked
(internal MR 2239, internal MR 2273, internal MR 2332) - New vendor extension:
XR_QCOM_tracking_optimization_settings
(internal MR 2261, internal issue 1703) - New vendor extension:
XR_META_local_dimming
(internal MR 2267, internal MR 2595) - New vendor extension:
XR_FB_spatial_entity_sharing
(internal MR 2274) - New vendor extension:
XR_FB_scene_capture
(internal MR 2286) - New vendor extension:
XR_FB_spatial_entity_storage_batch
(internal MR 2312) - New vendor extension:
XR_FB_haptic_amplitude_envelope
(internal MR 2326) - New vendor extension:
XR_FB_touch_controller_pro
(internal MR 2327, internal issue 1916) - New vendor extension:
XR_FB_haptic_pcm
(internal MR 2329) - New vendor extension:
FB_face_tracking
(internal MR 2334, internal MR 2539) - New vendor extension:
XR_FB_eye_tracking_social
(internal MR 2336, internal MR 2576) - New vendor extension:
XR_FB_body_tracking
(internal MR 2339, internal MR 2575) - New vendor extension:
XR_OCULUS_external_camera
(internal MR 2397, internal MR 2344) - New vendor extension:
XR_FB_spatial_entity_user
(internal MR 2407) - New vendor extension:
XR_FB_touch_controller_proximity
(internal MR 2412) - New vendor extension:
XR_ML_global_dimmer
(internal MR 2461) - New vendor extension:
XR_ML_frame_end_info
(internal MR 2462, internal MR 2536) - New vendor extension:
XR_ML_compat
(internal MR 2473) - New vendor extension:
XR_EXT_local_floor
(internal MR 2503, internal issue 746, internal issue 1606, OpenXR-Docs issue 103) - New vendor extension:
XR_BD_controller_interaction
(internal MR 2527) - New vendor extension:
XR_MNDX_force_feedback_curl
(OpenXR-Docs PR 136) - Register author ID for Matthieu Bucchianeri. (OpenXR-Docs PR 143)
- Rename tag name to a short one for ByteDance. (internal MR 2502)
- Schema: Add initial tests for Schematron rules. (internal MR 2512)
- Schema: Add author ID schematron checks and change duplicate name/number report to an assert (internal MR 2514)
- Schema: Fix Relax-NG checks of naming convention, and add naming convention checks to Schematron. (internal MR 2538)
- Schematron: Update extension naming rule to allow for vendor tags to be followed by an X for experimental and a version number (internal MR 2518)
- scripts: Let
deprecated
overrideprovisional
when choosing extension table of contents section. (internal MR 2547) - scripts: Fix leftover exclusion of
extensions/meta
fromcheckMarkup
now that it no longer generated files. (internal MR 2560)
- Add interaction profile definitions to
- SDK
- Experimental Extension Naming: Allow vendor tags to be followed by an "X" for experimental and an optional version number (e.g. XR_EXTX2_hand_tracking). Update source generator vendor checks accordingly (internal MR 2518)
- Fix typo in API Dump generation script (internal MR 2608)
- Loader: Fix dynamic build on MinGW. (OpenXR-SDK-Source PR 362, OpenXR-SDK-Source issue 367)
- Loader and layers: In debug builds, log when non-empty environment variables are being ignored due to executing with elevated privilege. (OpenXR-SDK-Source PR 336)
- Loader doc: Minor cleanups to API layer section. (internal MR 2581)
- Loader doc: Fix incorrect markup/dead links. (internal MR 2598)
- Remove third-party dependencies in
external/include/utils
. (internal MR 2528) - Update all XrStructureType initialization to use standard OpenXR style. (internal MR 2557)
- Update URLs with branch names in manpages. (internal MR 2648)
- Validation layer: Fix function signature for xrNegotiateLoaderApiLayerInterface in core validation api layer (internal MR 2607, OpenXR-SDK-Source issue 378, internal issue 1929)
- clang-format: Add clang-format-15 as acceptable clang formats (OpenXR-SDK-Source PR 359)
- doc: Add VS 2022 version code to BUILDING.md (OpenXR-SDK-Source PR 381)
- headers: Remove spurious space in preprocessor conditional, that was causing
defined
to be treated as an operator. (internal MR 2491) - hello_xr: Correct domain in Android package identifier. (internal MR 2513)
- hello_xr: Update Vulkan plugin to use the newer
VK_EXT_debug_utils
extension, and provide names for most Vulkan objects used by the app to aid in debugging. (Utility code shared with CTS.) (internal MR 2524, internal MR 2579, internal MR 2637) - hello_xr: Zero initialize XrSwapchainImage* structs (internal MR 2551)
- hello_xr: Export built-in NativeActivity (OpenXR-SDK-Source PR 358)
- hello_xr: Use correct lost event count (OpenXR-SDK-Source PR 359)
- loader: Prefer cstdio and cstdlib for c++ files (OpenXR-SDK-Source PR 357)
- loader,api_layers: Fix finding wayland-client.h on linux (OpenXR-SDK-Source PR 346)
- sdk-source: Add
list_json
, a small app to print json similar to the schema used by OpenXR-Inventory. (internal MR 2541, internal MR 2658) - xr_linear.h: Add some extra linear algebra functions (internal MR 2532)
This release contains new reflection headers, fixes and improvements to the loader and hello_xr (especially on Android), some spec clarifications, improvements to tooling, and a variety of new vendor and multi-vendor extensions.
- Registry
- Add new
XR_EXT_active_action_set_priority
vendor extension. (internal MR 2288, internal issue 1699) - Add new
XR_HTC_passthrough
vendor extension. (internal MR 2349) - Add new
XR_HTC_foveation
vendor extension. (internal MR 2377) - Add a warning to
XR_COMPOSITION_LAYER_CORRECT_CHROMATIC_ABERRATION_BIT
saying that it is not in use and planned for deprecation (internal MR 2378, internal issue 1751) - Add new
XR_META_headset_id
vendor extension. (internal MR 2410) - Improve Schematron rules for the registry XML and update the tool version used. (internal MR 2418, internal MR 2426, internal MR 2457, internal MR 2460, internal MR 2465)
- Register author ID and reserve vendor extensions for ByteDance. (internal MR 2482, OpenXR-Docs PR 137)
- Register author ID for danwillm and reserve vendor extensions. (OpenXR-Docs PR 138)
- Reserve vendor extensions for Microsoft. (internal MR 2478)
XR_EXTX_overlay
: Fix XML markup to correct generated valid usage for the event structure. (internal MR 2307)XR_EXT_performance_settings
: Fix XML markup to correct generated valid usage, bump revision. (internal MR 2306)XR_HTCX_vive_tracker_interaction
: Fix XML markup to correct generated valid usage for the event structure. (internal MR 2310)XR_HTC_facial_tracking
: Update vendor extension to version 2. (internal MR 2416)- specification/scripts: Added new functionality in codegen scripts to support
creating single extension headers. Usage:
python3 scripts/genxr.py -registry registry/xr.xml -standaloneExtension XR_FB_color_space standalone_header
(internal MR 2417)
- Add new
- SDK
- In-line comments added to
openxr_reflection.h
(internal MR 2357) - New
openxr_reflection_structs.h
andopenxr_reflection_parent_structs.h
reflection headers, containing additional, limited reflection expansion macro definitions. (internal MR 2357) - loader: Add missing
RegCloseKey
call. (internal MR 2433) - loader: Report STL usage as "none" in script-built Android AAR because we expose no C++ symbols. (OpenXR-SDK-Source PR 332, internal issue 1829, internal issue 1831)
- loader: Minor changes to fix a missing-prototypes warning/error. (OpenXR-SDK-Source PR 345)
- hello_xr: Correctly handle the case of 0 items returned in the Vulkan plugin. (internal MR 2363)
- hello_xr: Android exit should use
ANativeActivity_finish
. (internal MR 2409, OpenXR-SDK-Source issue 329, internal issue 1820) - hello_xr: Simplify platform plugin for POSIX platforms. (internal MR 2443, internal MR 2436)
- hello_xr: Minor tidy up of initialization code. (internal MR 2449)
- hello_xr: Add
android.permission.VIBRATE
permission needed by some runtimes for the controller haptics. (internal MR 2486) - hello_xr: Bump Android Gradle Plugin usage to 7.0.4 to fix building of hello_xr on M1 device (OpenXR-SDK-Source PR 334)
- cmake: Use standard
CMAKE_INSTALL_INCLUDEDIR
to specify included directories. (OpenXR-SDK-Source PR 347) - Android: Remove Gradle build files from loader directory: they were unused because the Android Gradle Plugin could not build our AAR file correctly as desired. (internal MR 2453)
- Android: Upgrade to gradle version 7. (internal MR 2474)
- Enable dependabot for GitHub Actions. (OpenXR-SDK-Source PR 351, OpenXR-SDK-Source PR 352, OpenXR-SDK-Source PR 256)
- Fix CI generation of NuGet packages. (OpenXR-SDK-Source PR 350)
- Improve GitHub CI for OpenXR-SDK-Source. (OpenXR-SDK-Source PR 351, OpenXR-SDK-Source PR 352, OpenXR-SDK-Source PR 256)
- In-line comments added to
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
andXR_MSFT_scene_understanding_serialization
vendor extensions to list error codes that may be returned by functions. (internal MR 2316) XR_FB_color_space
: MarkXrSystemColorSpacePropertiesFB
as "returned-only" for consistency and to correct the implicit valid usage. (internal MR 2304)XR_FB_display_refresh_rate
: MarkXrEventDataDisplayRefreshRateChangedFB
as "returned only" for consistency. (internal MR 2308)XR_FB_hand_tracking_mesh
: Fix two-call-idiom markup forXrHandTrackingMeshFB
, affecting implicit valid usage, and increment the revision. (internal MR 2311)XR_FB_passthrough
: AddXrSystemPassthroughProperties2FB
andXR_PASSTHROUGH_LAYER_DEPTH_BIT_FB
, update spec version to 3. (internal MR 2333)XR_FB_render_model
: MarkXrRenderModelCapabilitiesRequestFB
as "returned- only" for consistency and to correct the implicit valid usage. (internal MR 2309)
- Add new
- 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)
- Registry
- Add new
XR_EXT_palm_pose
multi-vendor extension. (internal MR 2112) - Add new
XR_FB_scene
vendor extension. (internal MR 2237) - Fix structure definition in
XR_FB_spatial_entity_container
. (internal MR 2278) - scripts: Teach xr_conventions that 2D, 3D, etc. are words for the purposes of structure type enum generation. (internal MR 2237)
- Add new
- SDK
- Loader: Fix filename and native lib dir sequence for log (OpenXR-SDK-Source PR 311)
- Loader: Fix loader building with Gradle and add CI checking for loader building with Gradle (OpenXR-SDK-Source PR 312)
- hello_xr: Pick background clear color based on the selected environment blend mode. (internal MR 2275)
- hello_xr: Defer Vulkan CPU sync until the next frame begins. (OpenXR-SDK-Source PR 277)
- hello_xr: Fix shader compile on Mali driver (OpenXR-SDK-Source PR 310)
- scripts: Delegate generating structure types to the conventions object as done elsewhere in the repo. (internal MR 2237)
This release primarily features a large number of new vendor and multi-vendor extensions, as well as some updates to existing extensions. Some improvements and fixes were made in SDK as well.
- Registry
- Add new
XR_ULTRALEAP_hand_tracking_forearm
vendor extension. (internal MR 2154) - Add new
XR_EXT_dpad_binding
multi-vendor extension. (internal MR 2159) - Add "externally synchronized" markup for
xrBeginFrame
andxrEndFrame
so they get the matching box and their session parameters are included in the list of externally-synchronized parameters in the "Threading" section. (internal MR 2179, OpenXR-Docs issue 23, internal issue 1216) - Add new
XR_FB_spatial_entity
vendor extension. (internal MR 2194) - Add new
XR_FB_spatial_entity_storage
vendor extension. (internal MR 2194) - Add new
XR_FB_spatial_entity_query
vendor extension. (internal MR 2194) - Add new
XR_FB_composition_layer_settings
vendor extension. (internal MR 2221) - Add new
XR_FB_spatial_entity_container
vendor extension. (internal MR 2236) - Add new
XR_HTC_vive_wrist_tracker_interaction
vendor extension. (internal MR 2252) - Add XR_HTC_hand_interaction extension. (internal MR 2254)
- Add new
XR_VARJO_view_offset
vendor extension. (internal MR 2255) - Add new
XR_META_performance_metrics
vendor extension. (internal MR 2256) - Add new
XR_META_vulkan_swapchain_create_info
vendor extension. (internal MR 2257) - Change the XML type of
XR_MIN_COMPOSITION_LAYERS_SUPPORTED
so it outputs an includable snippet for the spec text. (internal MR 2201, internal issue 1652, OpenXR-Docs issue 117) - Fix registry consistency script and codegen scripts to allow extension of KHR and EXT enumerations with vendor-specific members. (internal MR 2213, internal MR 2243)
- Fix warning print statement arguments in header generation/validation script. (internal MR 2244)
- Reserve the extension number for multi-vendor hand interaction profile extension. (internal MR 2206)
- Reserve vendor extensions 304-317 for Qualcomm (internal MR 2258)
- Reserve vendor extensions 318-370 for HTC. (internal MR 2266)
KHR_composition_layer_depth
: Update spec version to 6 for updated spec text. (internal MR 2207, internal issue 1651)XR_EXT_eye_gaze_interaction
: Update the spec version for spec text change. (internal MR 2227)XR_EXT_uuid
: Add enum tags toXR_UUID_SIZE_EXT
to ensure it is defined beforeXrUuidEXT
in generated header (internal MR 2234, internal issue 1673)XR_FB_hand_aim_tracking
,XR_FB_hand_tracking_capsule
,XR_FB_hand_tracking_mesh
: Fix documentation to specify correctnext
chain usage. (internal MR 2229)XR_FB_hand_tracking_capsules
: UpdateXrHandCapsuleFB
andXrHandTrackingCapsulesStateFB
to useXR_HAND_TRACKING_CAPSULE_POINT_COUNT_FB
andXR_HAND_TRACKING_CAPSULE_COUNT_FB
enums when defining arrays so they match the usual practice for vendor extensions (internal MR 2216)XR_FB_passthrough_keyboard_hands
: AddXR_PASSTHROUGH_LAYER_PURPOSE_TRACKED_KEYBOARD_MASKED_HANDS_FB
, update spec version to 2. (internal MR 2270)XR_FB_passthrough
: addXrPassthroughBrightnessContrastSaturationFB
, update spec version to 2 (internal MR 2222)XR_FB_render_model
: Add capability support levels, bump spec version to 2. (internal MR 2264)XR_FB_space_warp
: AddXR_COMPOSITION_LAYER_SPACE_WARP_INFO_FRAME_SKIP_BIT_FB
intoXrCompositionLayerSpaceWarpInfoFlagBitsFB
, update spec version to 2. (internal MR 2193)XR_HTC_vive_focus3_controller_interaction
: Support component path "/input/squeeze/value", update spec version to 2. (internal MR 2253)XR_KHR_D3D11_enable
andXR_KHR_D3D12_enable
: Update to describe error conditions forXR_ERROR_GRAPHICS_DEVICE_INVALID
. (internal MR 2176, internal issue 1617)XR_MSFT_spatial_graph_bridge
: Update to revision 2. (internal MR 2182)
- Add new
- SDK
- Add
org.khronos.openxr.intent.category.IMMERSIVE_HMD
category to intent- filter forAndroidManifest.xml
, to indicate immersive application (internal MR 2219) - Common: Fix definitions in
xr_linear.h
so that it can be compiled as C or C++. (internal MR 2217) - Fix warnings raised by Clang on various platforms. (internal MR 2197)
- Fix source-generation script and codegen scripts to allow extension of KHR and EXT enumerations with vendor-specific members. (internal MR 2240, internal MR 2243)
- Fix warning print statement arguments in header generation/validation script. (internal MR 2244)
- Loader: Adjust Android loader build to use the static C++ runtime, since we do not expose any C++ interfaces. (OpenXR-SDK-Source PR 307, internal issue 1712)
- Remove "Draft" status accidentally left on the loader design doc/spec. (OpenXR-SDK-Source PR 300, internal issue 1688)
- Validation Layer: Functions that start with
xrTryCreate
will receive the same warnings as functions that start withxrCreate
. (internal MR 2182) - cmake: Install pkgconfig file in mingw (OpenXR-SDK-Source PR 308)
- hello_xr: Shutdown OpenGL graphics to allow it to be restarted (internal MR 2241)
- hello_xr: remove call to swapbuffers to fix OpenGL frame timing. (internal MR 2249)
- hello_xr: Fix typo in declspec keyword (OpenXR-SDK-Source PR 302, internal issue 1691)
- Add
This release features a number of new extensions, as well as some software updates and fixes, especially for Android. If you are using the bundled jsoncpp, this is also a security release as the bundled jsoncpp was upgraded to incorporate security improvements from upstream.
- Registry
- Add new
XR_FB_render_model
vendor extension. (internal MR 2117, internal MR 2169) - Add new
XR_HTC_facial_expression
vendor extension. (internal MR 2120) - Add new
XR_FB_keyboard_tracking
vendor extension. (internal MR 2128) - Add new
XR_EXT_uuid
multi-vendor extension. (internal MR 2152) - Add new
XR_FB_passthrough_keyboard_hands
vendor extension. (internal MR 2162) - Add new
XR_HTC_vive_focus3_controller_interaction
vendor extension. (internal MR 2178) - Add new
XR_ALMALENCE_digital_lens_control
vendor extension. (OpenXR-Docs PR 104, internal issue 1615) - Correct winding order for
XR_MSFT_hand_tracking_mesh
extension to clockwise to match runtime behavior. (internal MR 2151) - Fix typos/naming convention errors in
XR_FB_hand_tracking_capsules
: renameXR_FB_HAND_TRACKING_CAPSULE_POINT_COUNT
toXR_HAND_TRACKING_CAPSULE_POINT_COUNT_FB
andXR_FB_HAND_TRACKING_CAPSULE_COUNT
toXR_HAND_TRACKING_CAPSULE_COUNT_FB
, providing the old names as compatibility aliases. (internal MR 1547, internal issue 1519) - Reserve vendor extensions 208 - 299 for Facebook. (internal MR 2158)
- Reserve extension numbers for anticipated multi-vendor extensions. (internal MR 2173)
- Add new
- SDK
- Android loader: Update vendored jnipp project, including crash/exception fixes if an application manually attached or detached a thread. (OpenXR-SDK-Source PR 286, OpenXR-SDK-Source PR 285)
- Docs: Fixed typo in docs. (OpenXR-SDK-Source PR 284)
- Fix detection of std::filesystem options on GCC 11 and newer. (OpenXR-SDK-Source PR 276, OpenXR-SDK-Source issue 260, internal issue 1571)
- Loader: Add
ifdef
guards around contents of Android-specific files so all platforms may still glob all source files in OpenXR-SDK to build the loader with a custom build system. (OpenXR-SDK-Source PR 274) - Loader: Fixed incorrect return value when no broker is present on Android but
runtime defined via
active_runtime.json
. (OpenXR-SDK-Source PR 284) - Loader: Added
/system
to the search path on Android as per documentation. (OpenXR-SDK-Source PR 284) - Loader doc: Use
nativeLibraryDir
(property, part of API) instead ofgetNativeLibraryDir()
(function generated by wrapping library) (OpenXR-SDK-Source PR 278) - Update vendored copy of jsoncpp from 1.8.4 to 1.9.5 for security and other fixes. (internal MR 2168, OpenXR-SDK-Source issue 265, internal issue 1582)
- Update android-jni-wrappers to fix missing include. (OpenXR-SDK-Source PR 280, OpenXR-SDK-Source issue 275, internal issue 1616)
- Update jnipp to fix crash on Android if app detaches thread from JVM (e.g. on shutdown). (OpenXR-SDK-Source PR 280)
- scripts: Populate
ext_name
inHandleData
too, for use by language wrapper generation scripts. (internal MR 2184)
This release was withdrawn due to a typo noticed after initial publication. All changes are now listed under 1.0.22.
This release includes a proposed cross-vendor OpenXR loader for Android, Android build system for hello_xr, and a number of new vendor extensions.
- Registry
- Add new
XR_HTCX_vive_tracker_interaction
provisional vendor extension. (internal MR 1983) - Add new
XR_VARJO_marker_tracking
vendor extension. (internal MR 2129) - Add new
XR_FB_triangle_mesh
vendor extension. (internal MR 2130) - Add new
XR_FB_passthrough
vendor extension. (internal MR 2130) - Reserve vendor extensions for Facebook. (internal MR 2131)
- Reserve a vendor extension for Almalence. (OpenXR-Docs PR 99)
- XR_FB_color_space: Fix XML markup to indicate that
XrSystemColorSpacePropertiesFB
is chained toXrSystemProperties
. (internal MR 2143)
- Add new
- SDK
- Loader specification: Describe a cross-vendor loader for use on Android. (internal MR 1949, internal issue 1425)
- hello_xr: Add Android build system, using new cross-vendor loader, and make some improvements/fixes. (internal MR 1949, internal issue 1425)
- loader: Implement cross-vendor loader for Android, with AAR Prefab packaging. (internal MR 1949, internal issue 1425)
This release features a number of new or updated vendor extensions, as well as some minor cleanups and bug fixes in the SDK.
- Registry
- Add
XR_SESSION_NOT_FOCUSED
as a possible success return code toxrApplyHapticFeedback
andxrStopHapticFeedback
. (internal MR 2106, internal issue 1270) - Add new
XR_FB_hand_tracking_mesh
vendor extension. (internal MR 2089) - Add new
XR_FB_hand_tracking_capsules
vendor extension. (internal MR 2089) - Add new
XR_FB_hand_tracking_aim
vendor extension. (internal MR 2089) - Add version 1 of new
XR_FB_space_warp
vendor extension. (internal MR 2115) - Register new Author ID for Almalence. (OpenXR-Docs PR 92, OpenXR-Docs PR 93)
- Update to version 2 of
XR_VALVE_analog_threshold
. (internal MR 2113)
- Add
- SDK
- scripts: Some typing annotations and type-related cleanup found by using type- aware Python editors. (internal MR 2100)
xr_linear.h
: Fix bug inXrVector3f_Cross
(internal MR 2111)
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 ofXR_MND_swapchain_usage_input_attachment_bit
, which is now deprecated.) (internal MR 2045) - Add new
XR_FB_foveation
,XR_FB_foveation_configuration
, andXR_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)
- Add ratified
- 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-nestedif ... 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)
This release features an important fix to the loader for an invalid-iterator bug introduced in 1.0.16. All developers shipping the loader are strongly encouraged to upgrade. It also includes a variety of new vendor extensions.
- Registry
- Add
XR_MSFT_scene_understanding
vendor extension. (internal MR 2032) - Add
XR_MSFT_scene_understanding_serialization
vendor extension. (internal MR 2032) - Add
XR_MSFT_composition_layer_reprojection
vendor extension. (internal MR 2033) - Add
XR_OCULUS_audio_device_guid
vendor extension. (internal MR 2053) - Add version 3 of
XR_FB_swapchain_update_state
vendor extension, which splits platform and graphics API specific structs into separate extensions. (internal MR 2059) - Apply formatting to registry XML by selectively committing changes made by https://github.com/rpavlik/PrettyRegistryXml. (internal MR 2070, OpenXR-SDK-Source/#256)
- Enforce that all
xrCreate
functions must be able to returnXR_ERROR_LIMIT_REACHED
andXR_ERROR_OUT_OF_MEMORY
, and adjust lists of error codes accordingly. (internal MR 2064) - Fix a usage of
>
without escaping as an XML entity. (internal MR 2064) - Fix all cases of a success code (most often
XR_SESSION_LOSS_PENDING
) appearing in theerrorcodes
attribute of a command. (internal MR 2064, internal issue 1566) - Improve comments for several enum values. (internal MR 1982)
- Perform some script clean-up and refactoring, including selective type
annotation and moving the Conventions abstract base class to
spec_tools
. (internal MR 2064) - Sort return codes, with some general, popular codes made to be early. Script
sort_codes.py
can be used to maintain this, though it mangles other XML formatting, so use it with care. https://github.com/rpavlik/PrettyRegistryXml can format, and eventually sort return codes (currently sort order does not match). (internal MR 2064, OpenXR-SDK-Source/#256)
- Add
- SDK
- Loader: Fix iteration over explicit layer manifests. (OpenXR-SDK-Source/#256)
- validation layer: Don't try to apply
strlen
towchar_t
-based output buffers. (internal MR 2053)
This release contains an update to define a new error code,
XR_ERROR_RUNTIME_UNAVAILABLE
, now returned by the loader at xrCreateInstance
and xrEnumerateInstanceProperties
when it cannot find or load a runtime for
some reason. This should be more clear for developers when encountering it, as
well as helpful when troubleshooting errors hit by users. (The
previously-returned error was typically XR_ERROR_INSTANCE_LOST
, which is
confusing when returned when trying to create an instance.) This release also
includes a new multi-vendor extension, a new vendor extension, and improved
concurrency handling in the loader, among smaller fixes.
- Registry
- Add new
XR_ERROR_RUNTIME_UNAVAILABLE
error code, addXR_ERROR_RUNTIME_UNAVAILABLE
as a supported error code toxrCreateInstance
andxrEnumerateInstanceProperties
, and removeXR_ERROR_INSTANCE_LOST
as a supported error code fromxrCreateInstance
. (internal MR 2024, internal issue 1552, OpenXR-SDK-Source/#177) - Add
XR_EXT_hand_joint_motion_range
multi-vendor extension. (internal MR 1995) - Add
XR_FB_swapchain_update_state
vendor extension. (internal MR 1997) - Fix missing
XR_ERROR_INSTANCE_LOST
return codes for extension functions inXR_EXT_performance_settings
,XR_EXT_debug_utils
,XR_EXT_conformance_automation
, andXR_EXT_thermal_query
. (internal MR 2023, OpenXR-Docs/#10, internal issue 1256) - Reserve extension 166 for working group use. (internal MR 2025)
- Add new
- SDK
- Loader: Change runtime part to return
XR_ERROR_RUNTIME_UNAVAILABLE
when there is an error loading a runtime. (internal MR 2024, internal issue 1552, OpenXR-SDK-Source/#177) - Loader: Simplify in areas where code paths were dead. (internal MR 2024)
- Loader: Improved locking around a few areas of the loader that aren't robust against usual concurrent calls. (OpenXR-SDK-Source/#252)
- validation layer: Fix generated code when a protected extension contains a base header type. (internal MR 1997)
- Loader: Change runtime part to return
The main SDK change in this release is that the OpenXR headers no longer expose extension function prototypes because extension functions are not exported by the loader. This should prevent some confusion during development without affecting code that correctly compiles and links with older SDKs. Code that was compiled but not linked (for instance, the automated tests of example source in the specification) and that would not have successfully linked may have their defects highlighted by this change, however. If you need those prototypes still available, there is a preprocessor define that can re-enable them. The function pointer definitions are always available.
In addition to that header change, this release contains three new vendor extensions plus an assortment of SDK fixes.
- Registry
- Add
XR_VARJO_foveated_rendering
vendor extension. (internal MR 1981) - Add
XR_VARJO_composition_layer_depth_test
vendor extension. (internal MR 1998) - Add
XR_VARJO_environment_depth_estimation
vendor extension. (internal MR 1998) - Add
uint16_t
toopenxr_platform_defines
(and associated scripts) so it may be used easily by extensions. (internal MR 2017) - Reserve extension 149 for working group use. (internal MR 1999)
- Reserve extension numbers 150 to 155 for ULTRALEAP extensions (internal MR 2006)
- Reserve extension numbers 156-165 for Facebook. (internal MR 2018)
- Add
- SDK
- Hide prototypes for extension functions unless explicitly requested by defining
XR_EXTENSION_PROTOTYPES
. These functions are not exported from the loader, so having their prototypes available is confusing and leads to link errors, etc. (OpenXR-SDK-Source/#251, OpenXR-SDK-Source/#174, internal issue 1554, internal issue 1338) - Also list API layers in list tool. (internal MR 1991)
- Ensure we expose the OpenXR headers in the build-time interface of the loader, as well as the install-time interface, for use with FetchContent.cmake. (OpenXR-SDK-Source/#242, OpenXR-SDK-Source/#195, internal issue 1409)
- Improve
BUILDING.md
, including adding details on how to specify architecture for VS2019. (OpenXR-SDK-Source/#245, OpenXR-SDK-Source/#253) - Loader: Fix loader failing to load on Windows 7 due to
pathcch
dependency. (OpenXR-SDK-Source/#239, OpenXR-SDK-Source/#214, internal issue 1471, OpenXR-SDK-Source/#236, internal issue 1519) - Loader: Fix conflicting filename in
openxr_loader.def
causing a linker warning when building debug for Windows. (OpenXR-SDK-Source/#246) - Update
cgenerator.py
to generate header comments inopenxr.h
to show when a struct extends another struct (internal MR 2005) - hello_xr: Check for
shaderStorageImageMultisample
feature in Vulkan plugin before using it. (OpenXR-SDK-Source/#234, OpenXR-SDK-Source/#233, internal issue 1518) - hello_xr: Make sure
common.h
includes the reflection header that it uses. (OpenXR-SDK-Source/#247) - layers: Revise documentation, re-formatting and updating to refer to real functions and URLs. (internal MR 2012)
- loader: Check the instance handle passed to
xrGetInstanceProcAddr
. (internal MR 1980) - loader: Fix building OpenXR-SDK with CMake's multi-config Ninja generator. (OpenXR-SDK-Source/#249, OpenXR-SDK-Source/#231)
openxr_reflection.h
: Make reproducible/deterministic by sorting protection defines in the script. (internal MR 1993, internal issue 1424)- xr_dependencies (shared utility): Include
unknwn.h
on Windows, even without D3D enabled. (OpenXR-SDK-Source/#250, OpenXR-SDK-Source/#237)
- Hide prototypes for extension functions unless explicitly requested by defining
This release contains a collection of fixes and improvements, including one new vendor extension. Notably, we have relicensed all files that become part of the loader, so the loader may be "Apache-2.0 OR MIT" for downstream license compatibility.
- Registry
- Add new
XR_FB_android_surface_swapchain_create
vendor extension. (internal MR 1939, internal issue 1493, internal MR 1968) - Add missing
optional
attributes toXR_KHR_vulkan_enable2
structs. Fixes validation layer. (OpenXR-Docs/#72) - Correction to
locationFlags
field inXrHandJointLocationEXT
to be optional. (internal MR 1945) - Reserve vendor extensions for Varjo. (internal MR 1935)
- Reserve vendor extensions for Magic Leap. (internal MR 1967, internal MR 1970)
- Reserve extension number 143 to 148 for MSFT extensions. (internal MR 1969)
- Update Magic Leap ID and contact information. (internal MR 1967)
- Add new
- SDK
- Add
./
to the start of the library name in API layer manifests on Windows, so they are treated as a relative path. (internal MR 1975) - Fix searching for prerequisites in generated CMake config files. (internal MR 1963)
- Start shipping the OpenXR API layers with the release artifacts. (internal MR 1975)
- cmake: Debug library uses d suffix on Windows. CMake
OPENXR_DEBUG_POSTFIX
variable can be set to something else to change it. (OpenXR-SDK-Source/#229) - hello_xr: Remove redundant call to
xrInitializeLoaderKHR
. (internal MR 1933) - hello_xr: Return supported sample count as 1 for GLES, GL and D3D11. (internal MR 1962)
- hello_xr: Use
android.app.NativeActivity
correctly in place of NativeActivity subclass. (internal MR 1976) - hello_xr: On Vulkan, explicitly add surface extensions for mirror window. (OpenXR-SDK-Source/#230, internal MR 1934)
- loader: Relicense all files that become part of the loader, so the loader may be "Apache-2.0 OR MIT" for downstream license compatibility. (internal MR 1937, internal issue 1449, OpenXR-SDK-Source/#205)
- loader: Protect against the application overriding loader symbols. (internal MR 1961)
- loader: Handle JSON files in the search path that are not objects. (internal MR 1979)
- Add
The SDK in this release features some fixes to the loader's layer parsing: upgrading is recommended. The hello_xr example has also been improved. The registry for this release features a new ratified Khronos extension which will serve as the basis of other extensions, as well as a number of new vendor extensions.
- Registry
- Add
XR_HTC_vive_cosmos_controller_interaction
vendor extension. (internal MR 1907) - Add
XR_FB_display_refresh_rate
vendor extension. (internal MR 1909) - Add
XR_MSFT_perception_anchor_interop
vendor extension. (internal MR 1929) - Added ratified
KHR_binding_modifications
Khronos extension. (internal MR 1878, internal issue 1413) - Reserve vendor extensions for HTC. (internal MR 1907)
- Reserve vendor extension numbers 109-120 for Facebook extensions. (internal MR 1913)
- Add
- SDK
- Fix build errors under mingw-w64. (OpenXR-SDK-Source/#212)
- Include PDB symbols to go along with the openxr_loader.dll Windows artifacts. (OpenXR-SDK-Source/#225)
XrMatrix4x4f_CreateProjection
: Explicitly define matrix values as floats. Prevents potential division by zero. (OpenXR-SDK-Source/#219)- build: Normalize how we detect and utilize threading libraries in the build process. (internal MR 1910)
- build: Search for OpenGL ES and other things needed on Android. (internal MR 1910)
- build: Normalize how we detect and utilize Vulkan in the build process. (internal MR 1910)
- build/ci: Have Windows loader artifacts organize themselves by architecture/platform, and bundle the CMake config files and a "meta" CMake config. (OpenXR-SDK-Source/#224, OpenXR-SDK-Source/#185)
- documentation: Make API Layer manifest example for "disable_environment" and "enable_environment" match the loader behavior (internal MR 1917, OpenXR-SDK-Source/#213)
- hello_xr: Don't use subaction paths for quit_session action, it's unnecessary. (internal MR 1898)
- hello_xr: Add initial build system support for building for Android. (No gradle support yet.) (internal MR 1910)
- hello_xr: Call
xrInitializeLoaderKHR
and dynamically loadopenxr_loader
on Android. (internal MR 1910) - hello_xr: Fix printing of action bindings and make it prettier. (internal MR 1914)
- hello_xr: Fix break on Oculus Quest. (internal MR 1921)
- hello_xr: The D3D12 and Vulkan graphics plugins sometimes did not update their swapchain image context maps due to rare key collisions. (OpenXR-SDK-Source/#217)
- loader: Stub in some preliminary code for Android loader support - not a complete port. (internal MR 1910)
- loader: Add Android logcat logger. (internal MR 1910)
- loader: Fix parsing of XR_ENABLE_API_LAYERS environment variable (internal MR 1912)
- loader: Fix issues around
xrInitializeLoaderKHR
. (internal MR 1922) - loader: Replace
#if _WIN32
with#ifdef _WIN32
. (OpenXR-SDK-Source/#215)
This release features a number of new ratified KHR extensions, as well as a new vendor extension.
- Registry
- Add ratified
XR_KHR_vulkan_enable2
Khronos extension. (internal MR 1627, internal issue 1249, internal issue 1283, internal MR 1863) - Add ratified
XR_KHR_loader_init
Khronos extension. (internal MR 1744) - Add ratified
XR_KHR_loader_init_android
Khronos extension. (internal MR 1744) - Add ratified
XR_KHR_composition_layer_equirect2
Khronos extension. (internal MR 1746) - Add ratified
XR_KHR_composition_layer_color_scale_bias
Khronos extension. (internal MR 1762) - Add
XR_MSFT_controller_model
extension. (internal MR 1832) - Add vendor tag
LIV
for LIV Inc. (internal MR 1896) - Fix
structextends
attribute ofXrHandPoseTypeInfoMSFT
. (OpenXR-SDK-Source/#207) - schema: Update to permit aliases for commands and struct types. (Already supported by tooling.) (internal MR 1627)
- Add ratified
- SDK
- cmake: fix openxr_loader target export when installing both Release and Debug config on Windows. (OpenXR-SDK-Source/#206)
- hello_xr: Support the new
XR_KHR_vulkan_enable2
extension. (internal MR 1627) - hello_xr: Use the
XR_KHR_loader_init_android
extension on Android. (internal MR 1903) - layers: Fix ARM builds by re-adding function attributes. (OpenXR-SDK-Source/#193)
- Misc
- Clean up trailing whitespace, byte-order marks, anda ensure trailing newlines. (OpenXR-SDK-Source/#208)
This release is mainly for SDK improvements, with only small changes to the
docs. A new error code is provided for xrCreateSession
for developers
convenience.
- Registry
- Register
ULTRALEAP
author ID for Ultraleap. (internal MR 1877) - Reserve the extension number 98 to 101 for future MSFT extensions. (internal MR 1879)
- schema: Distinguish
parentstruct
andstructextends
attributes in comments. (internal MR 1881, OpenXR-Docs/#51, internal issue 1396) - Add a new result code,
XR_ERROR_GRAPHICS_REQUIREMENTS_CALL_MISSING
, for runtimes to return ifxrBeginSession
is called before calling one of thexrGetGraphicsRequirements
calls. (internal MR 1882, OpenXR-Docs/#53, internal issue 1397)
- Register
- SDK
- Improve language usage in code and comments to be more respectful. (internal MR 1881)
- Loader: Correct type of "extension_version" in API layer manifest files to string, while maintaining backwards compatibility. Remove undocumented and unused "device_extensions" and "entrypoints" keys. (internal MR 1867, internal issue 1411)
- Replace usage of
std::filesystem::canonical
withPathCchCanonicalize
on Windows platform to work around bug on UWP platforms. This also replacesPathCanonicalize
withPathCchCanonicalize
and adds the appropriate library for linking in. (OpenXR-SDK-Source/#198) - Support for building more projects when targeting UWP, and support for all architectures when targeting Win32. (OpenXR-SDK-Source/#199)
- hello_xr: fix Vulkan image layout transitions. (internal MR 1876)
- validation: Enable three additional checks (on optional arrays with non- optional counts) that were missing because of a script error. (internal MR 1881)
Note the relicensing of the registry XML file and some include files provided by
or generated by this repository (first item in each changelog section). Each
file's header, or an adjacent file with .license
appended to the filename, is
the best reference for its license terms. We are currently working on ensuring
all files have an SPDX license identifier tag either in them or in an adjacent
file. This is still in progress but mostly complete.
- Registry
- Relicense registry XML from MIT-like "Khronos Free Use License for Software and Documentation" to, at your option, either the Apache License, Version 2.0, found at http://www.apache.org/licenses/LICENSE-2.0, or the MIT License, found at http://opensource.org/licenses/MIT, for broader license compatibility with downstream projects. (SPDX License Identifier expression "Apache-2.0 OR MIT") (internal MR 1814, OpenXR-Docs/#3, internal issue 958)
- Add
XR_MSFT_holographic_window_attachment
vendor extension. (internal MR 1833) - Add
XR_EXT_hp_mixed_reality_controller
multi-vendor extension. (internal MR 1834) - Add
XR_EXT_samsung_odyssey_controller
multi-vendor extension. (internal MR 1835) - Add
XR_VALVE_analog_threshold
vendor extension. (internal MR 1859) - Add
XR_MND_swapchain_usage_input_attachment_bit
vendor extension. (internal MR 1865) - Reserve extension numbers 71 to 78 for Facebook extensions. (internal MR 1839)
- Reserve extension numbers 79 to 88 for Valve extensions. (internal MR 1842)
- Reserve extension numbers 89 to 92 for Khronos extensions. (internal MR 1844)
- Reserve extension numbers 93 to 94 for
EXT_unbounded_reference_space
andEXT_spatial_anchor
. (internal MR 1854) XR_EPIC_view_configuration_fov
: FixrecommendedFov
incorrectly being namedrecommendedMutableFov
. This is a source-incompatible change to a vendor extension. (internal MR 1812)- schema: Adjust to permit bitmask expansion in extensions, already supported by toolchain thanks to Vulkan. (internal MR 1865)
- scripts: Teach xml-consistency to handle bitmask values defined in extensions. (internal MR 1865)
- SDK
- Relicense generated headers
openxr.h
,openxr_platform.h
,openxr_reflection.h
, and static headeropenxr_platform_defines.h
from the Apache License, version 2.0, to, at your option, either the Apache License, Version 2.0, found at http://www.apache.org/licenses/LICENSE-2.0, or the MIT License, found at http://opensource.org/licenses/MIT, for broader license compatibility with downstream projects. (SPDX License Identifier expression "Apache-2.0 OR MIT") (internal MR 1814, OpenXR-Docs/#3, internal issue 958) - Loader: Fix loading relative runtime libraries on Linux. (internal MR 1817)
- Loader: Fix error on xrCreateInstance when explicitly trying to enable an implicit API layer. (internal MR 1858)
- Modify Azure DevOps build pipeline to automatically generate a NuGet package. (OpenXR-SDK-Source/#196)
- Partially revert build system changes related to detecting Direct3D, to fix builds. (internal MR 1802)
- Portability fixes, including checking for
timespec_get
before enablingXR_USE_TIMESPEC
. (internal MR 1804) - cmake: export
OpenXRConfig.cmake
during install. Two targets can be imported by another CMake application:OpenXR::openxr_loader
andOpenXR::headers
. (OpenXR-SDK-Source/#191, OpenXR-SDK-Source/#185) - hello_xr: Fix disparity between swapchain and render pass sample count in Vulkan in the case where implementation recommends a value higher than one. (internal MR 1794)
- hello_xr: Fix build on a minimal Linux install by ensuring we check for all dependencies we use. We had missed checking for xcb_glx. (internal MR 1799, internal issue 1360)
- hello_xr: Fix a Vulkan crash on Windows related to the mirror window. (internal MR 1823)
- hello_xr: Use more proper linear formats (internal MR 1840)
- hello_xr: Enable use of glslangValidator to compile shaders if shaderc is not available. (internal MR 1857)
- hello_xr: Fix verbose per-layer information. (internal MR 1866)
- hello_xr: Add Valve Index Controller bindings. Also use trigger value instead of squeeze click for grab action on Vive Wand controller. (OpenXR-SDK-Source/#163)
- openxr_reflection: Add
XR_LIST_STRUCT_
expansion macros for structure types, as well asXR_LIST_STRUCTURE_TYPES
macro associating types withXrStructureType
values. (internal MR 1495) - openxr_reflection: Adds
XR_LIST_EXTENSIONS()
macro, which will call your supplied macro name with the name and extension number of all known extensions. (internal MR 1864)
- Relicense generated headers
- Registry
- Add an author ID, and reserve a vendor extension for Huawei. (OpenXR-Docs/#46)
- Reserve vendor extensions for future LunarG overlay and input focus functionality. (internal MR 1720)
- Reserve vendor extensions for Microsoft. (internal MR 1723)
- Add
XR_EXT_hand_tracking
multi-vendor extension. (internal MR 1554, internal issue 1266, internal issue 1267, internal issue 1268, internal issue 1269) - Add
XR_HUAWEI_controller_interaction
vendor extension. (OpenXR-Docs/#47) - Add
XR_MNDX_egl_enable
provisional vendor extension. (OpenXR-Docs/#48) - Add
XR_MSFT_spatial_graph_bridge
vendor extension. (internal MR 1730) - Add
XR_MSFT_secondary_view_configuration
andXR_MSFT_first_person_observer
vendor extensions. (internal MR 1731) - Add
XR_MSFT_hand_mesh_tracking
vendor extension. (internal MR 1736) - Fix missing space in XML definition of
XrSpatialAnchorCreateInfoMSFT
. (internal MR 1742, internal issue 1351, OpenXR-SDK-Source/#187) - Update a number of contacts for author/vendor tags. (internal MR 1788, internal issue 1326)
- SDK
- Replaced usage of the
_DEBUG
macro withNDEBUG
. (internal MR 1756) - Allow disabling of
std::filesystem
usage via CMake, and detect if it's available and what its requirements are. (OpenXR-SDK-Source/#192, OpenXR-SDK-Source/#188) - CI: Modifications to Azure DevOps build pipeline. Now builds UWP loader DLLs in addition to Win32 loader DLLs. No longer builds static loader libraries due to linkability concerns. Re-arranged release artifact zip to distinguish architecture from 32-bit or 64-bit.
- Loader: Replace global static initializers with functions that return static locals. With this change, code that includes OpenXR doesn't have to page in this code and initialize these during startup. (OpenXR-SDK-Source/#173)
- Loader: Unload runtime when
xrCreateInstance
fails. (internal MR 1778) - Loader: Add "info"-level debug messages listing all the places that we look for the OpenXR active runtime manifest. (OpenXR-SDK-Source/#190)
- Validation Layer: Fix crash in dereferencing a nullptr optional array handle
when the
count > 0
. (internal MR 1709, OpenXR-SDK-Source/#161, internal issue 1322) - Validation Layer: Fix static analysis error and possible loss of validation error. (internal MR 1715, OpenXR-SDK-Source/#160, internal issue 1321)
- Validation Layer: Simplify some generated code, and minor performance improvements. (OpenXR-SDK-Source/#176)
- API Dump Layer: Fix crash in dereferencing a
nullptr
while constructing astd::string
. (internal MR 1712, OpenXR-SDK-Source/#162, internal issue 1323) - hello_xr: Fix releasing a swapchain image with the incorrect image layout. (internal MR 1755)
- hello_xr: Prefer
VK_LAYER_KHRONOS_validation
overVK_LAYER_LUNARG_standard_validation
when available. (internal MR 1755) - hello_xr: Optimizations to D3D12 plugin to avoid GPU pipeline stall. (internal MR 1770) (OpenXR-SDK-Source/#175)
- hello_xr: Fix build with Vulkan headers 1.2.136. (OpenXR-SDK-Source/#181, OpenXR-SDK-Source/#180, internal issue 1347)
- hello_xr: Fix build with Visual Studio 16.6. (OpenXR-SDK-Source/#186, OpenXR-SDK-Source/#184)
- Replaced usage of the
Patch release for the 1.0 series.
- Registry
XR_EXTX_overlay
: upgrade overlay bit names to match the convention, and increase extension version number. This is a source-incompatible change to a provisional multi-vendor extension. (internal MR 1697, internal issue 1318, internal issue 42, internal MR 171)- Introduce
XR_EXT_eye_gaze_interaction
extension for eye gaze interaction profile. (internal MR 1556) - Add SPDX license identifier tag to registry schema. (internal MR 1686)
- Add missing error codes to
xrCreateActionSet
,xrCreateAction
, andxrGetInputSourceLocalizedName
. (internal MR 1698)
- SDK
- Add SPDX license identifier tags to nearly all (code) files, including generated files. (internal MR 1686)
- Fix build system behavior with MSVC building in Release mode: only attempt to copy PDB files if they exist. (internal MR 1701)
Patch release for the 1.0 series.
Note: Changelogs are now being assembled with the help of the Proclamation tool, so the format has changed somewhat.
- Registry
- Introduce
XR_MSFT_hand_interaction
extension for hand interaction profile. (internal MR 1601) - Introduce
XR_EPIC_view_configuration_fov
extension for system field-of-view queries. (internal MR 1170) - Indicate that
xrBeginFrame
returnsXR_ERROR_CALL_ORDER_INVALID
when not paired with a correspondingxrWaitFrame
call. (internal MR 1673) - Update the version number of
XR_KHR_D3D12_enable
extension. (internal MR 1681) - Introduce
XR_EXTX_overlay
extension for Overlay sessions (which can provide overlay composition layers). (internal MR 1665)
- Introduce
- SDK
- loader: Add linker export map/version script to avoid exporting implementation symbols from C++ on non-MSVC platforms. (internal MR 1641, OpenXR-SDK-Source/#159)
- Add tracking and destruction of debug messengers in the loader. (internal MR 1668, OpenXR-SDK-Source/#29, internal issue 1284)
- Fix issue in
hello_xr
breaking the build in certain limited conditions. (OpenXR-SDK-Source/#170) - Add initial (partial) Android support for
hello_xr
. (internal MR 1680) - Fix a mismatched type signature, breaking compiles of hello_xr in at least some Linux environments. (OpenXR-SDK-Source/#164, internal MR 166)
- Explicitly link in
advapi32
for many of the APIs the loader uses on Windows, needed when building for ARM/ARM64 (non-UWP only). (internal MR 1664) - Remove "Dev Build" string from loader resources and fix version. (internal MR 1664)
- Add manual pages for
openxr_runtime_list
andhello_xr
(based on their--help
), and install in the standard location on non-Windows platforms. (OpenXR-SDK-Source/#169) - Silence some noisy warnings in hello_xr and the layers. (OpenXR-SDK-Source/#165)
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
.
These had been integrated into the public repo incrementally.
- hello_xr
- Loader
- Build
- Clean up linking, build loader and layers with all available
platform/presentation support, fix pkg-config file, rename
runtime_list
test executable toopenxr_runtime_list
#149
- Clean up linking, build loader and layers with all available
platform/presentation support, fix pkg-config file, rename
- 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.
- Allow use of
- Build
- Improve messages
- hello_xr
- Add D3D12 graphics plugin (internal MR 1616)
- Fix comment typo.
Patch release for the 1.0 series.
This release primarily contains extension reservations and small specification clarifications/fixes.
These had been integrated into the public repo incrementally.
- Loader tests
- #147 - Small bugfix and output extension
- Registry
- Reserve Microsoft extension numbers (Internal MR 1613)
Patch release for the 1.0 series.
This release includes some fixes, extensions, and a small build system change: the build system is now configured to use C++14. No code changes in the loader or layers have yet taken place that require C++14. Please file an issue in OpenXR-SDK-Source if there is some deployment platform where you would be unable to use a loader making use of C++14 features.
These had been integrated into the public repo incrementally.
- General, Build, Other
- #141 - Support system libs better (permit system jsoncpp, etc. for easier packaging)
- hello_xr
- #144 - Fix hello_xr when running under Linux OpenGL X11
- Registry
- Reserve a Monado EGL extension KhronosGroup/OpenXR-Docs#39
- General, Build, Other
- Switch C++ standard version to C++14 (internal MR 1602)
- Remove unused/unneeded files (internal MR 1609)
- Loader
- Fix typo in parameter/member names (internal MR 1607, internal issue 1233)
- Fix deprecated usage of JsonCpp (internal MR 1604, internal issue 1212)
- hello_xr
- Resolve misleading use of
xrLocateViews
beforexrWaitFrame
in helloXR and spec (internal MR 1584, internal issue 1227, public issue #134)
- Resolve misleading use of
- Registry
- Add
XR_EXT_conformance_automation
extension, for use only by conformance testing (internal MR 1577, 1608)
- Add
Patch release for the 1.0 series.
Note that this release includes changes to adjust the symbol exports from
dynamic library versions of the loader to align with the specification. Only
core symbols are currently exported. All extension symbols must be retrieved
using xrGetInstanceProcAddr
.
These had been integrated into the public repo incrementally.
- General, Build, Other
- #139 - Write output atomically at the end of generator scripts
- #119 - Loader test updates.
- #116 - Static analysis cleanups.
- Loader
- #140 - Permit broader valid usage re: layers
- #133 - Remove shwapi dependency
- #132 - Fix directory searching for layers
- #130 - Fix exporting of symbols on Windows.
- #129 - Remove debug ext only when added by loader - fixes usage of debug ext on runtimes that do not provide it themselves.
- #125 - Include a
OutputDebugString
logger for Win32
- Layers
- #138 - Don't validate output enum buffer values
- #137 - Fix incorrect filenames in the generated API layer JSON
- General, Build, Other
- Fix warnings in MSVC static code analysis mode (internal MR 1574)
- Validation layer improvements and fixes (internal MR 1568)
- Update vendored jsoncpp to 1.9.1 (internal MR 1523)
- Loader
- Add ability to quiet the loader's default output (internal MR 1576)
- Fix conformance of loader in
xrEnumerateApiLayerProperties
/xrEnumerateInstanceExtensionProperties
- hello_xr
- Simplify action usage in hello_xr (internal MR 1553)
- Registry
- Add
XR_EXT_view_configuration_depth_range
extension (internal MR 1502, internal issue 1201) - Reserve a Monado extension (internal MR 1541)
- Add
Patch release for the 1.0 series.
Note that the loader on Windows has a security fix: All developers incorporating the OpenXR loader should update immediately.
These had been integrated into the public repo incrementally.
- General, Build, Other
- #112 - Update active runtime search documentation
- #106 - List app changes
- #114 - Support for building WindowsStore loader and layers, and simplified filename
- #96 - Misc cleanup: build simplification, install hello_xr, allow building as subproject, fix null deref in validation layer.
- Loader
- #102 - Default to catching exceptions, since not being able to catch (and having a non-throwing standard library) is less common
- #109 - Factor out some debug-utils related code from the loader, and migrate validation layer to that shared code.
- #108 - Update json_stream initialization to improve compatibility
- #118 - Fix logic error in Linux active runtime search
- #115, #117 - Simplification and refactoring.
- Layers
- #111 - Some fixes to Validation Layer (as found applying to the UE4 OpenXR plugin)
- #110 - Fix cleaning up session labels in validation layer
- From OpenXR-Docs:
- #26 - Proposal for unbounded space and spatial anchor extensions (vendor extensions)
- General, Build, Other
- Allow project to be included in a parent project. (Internal MR 1512)
- hello_xr
- Fix OpenGL version number to be XrVersion. (Internal MR 1515)
- Make D3D11 debug device handling more friendly. (Internal MR 1504)
- Registry
- Fix error in extension-added function. (Internal MR 1510)
- Add Oculus Android extension. (Internal MR 1518)
- Reserve additional extension number for Oculus. (Internal MR 1517)
- Loader
- Security fix: Do not use HKEY_CURRENT_USER or environment variables when the process is running higher than medium-integrity on Windows. (Internal issue 1205, internal MR 1511)
- Small updates to the loader documentation.
XR_OCULUS_android_session_state_enable
Patch release for the 1.0 series.
These had been integrated into the public repo incrementally.
- General, Build, Other
- #87 - Fix makefiles
- #88 - Remove unneeded generation (corresponds to issue #74, internal issue 1139, internal MR 1491)
- #101 - Fix install of header and loader.
- Loader
- #91 - Fix a loader bug which prevented Layers from not implementing all XR functions
- #95 - Guard config includes/defines (relates to #81, #92)
- #97 - Remove a constant static std::vector, use a std::array instead.
- Layers
- #84 - Fix Linux warning for apidump
- From OpenXR-Docs:
- #26 - Proposal for unbounded space and spatial anchor extensions (vendor extensions)
- General, Build, Other
- Makefile cleanups (internal MR 1469, 1489)
- Add release scripts (internal MR 1496)
- Registry
- Reserve Oculus extension numbers (internal MR 1493)
- Add Monado headless (vendor extension) (internal MR 1482)
- Loader
- Remove unnecessary
#ifdef _WIN32
in loader. (internal MR 1487)
- Remove unnecessary
XR_MND_headless
XR_MSFT_spatial_anchor
XR_MSFT_unbounded_reference_space
Incorporates spec changes from OpenXR 1.0, all public pull requests incorporated in the 0.90 series, and additional fixes and improvements not previously published.
These had been integrated into the public repo incrementally.
- General, Build, Other
- #40 - Update BUILDING.md with some Linux pre-requisites
- #43 - Make manifest file more compatible
- #44 - Remove pkg-config dependency from xlib backend
- #46 - Support building with "embedded" Python
- #48 - Install layers and pkg-config file on Linux
- #66 - Install the layers libraries on Linux
- #71 - Validation layer: fix logic error
- hello_xr
- #49 - Fix hello_xr to properly use two call idiom
- Loader
- #38 - Remove dead file-locking code
- #51 - Idiomatic Linux active_runtime.json search logic
- #55, #58, #68 - Purge std::map bracket operations that might do inadvertent insertions
- #56 - Make
filesystem_util.cc
#define UNICODE
-compatible - #57 - Make it possible to bypass macro that checks which
filesystem
to use - #60 - Fix build error with shlwapi function
- #62 - Don't limit contents of
XristanceCreateInfo
next chain - #65 - Fix minor substr error
- #69 - Simplify loader
- #70, #76 - Make loader exception free
- #72 - filesystem: fix theoretical bug on Linux
- #73 - Loader proper UNICODE support
- #75 - Clang tidy
- #80 - Switchable exceptions
- #82 - Add folder properties to all CMake targets.
No API changes, and only minimal consistency changes to the spec/registry. Mostly an update for tooling, layers, loader, and sample code. Header version has been bumped to 43, but no symbols that should have actually been in use have changed.
These had been integrated into the public repo incrementally.
- General, Build, Other
- #8, #11, #12 - Improve BUILDING and README
- #9 - Make Vulkan SDK dependency optional
- #17 - Add install target to CMake files
- #17 - API dump layer, build: timespec extension fixes
- #19 - build: fix CMAKE_PRESENTATION_BACKEND default on linux
- #34 - list: Fix list test output
- validation layer
- #18, #22, #23 - Fix build and execution
- #24 - Fix crash and refactor
- hello_xr
- #13 - Do not query GL context API version before creating context
- #26 - Fix a warning
- Loader
- #3 - Don't cross 32/64 registry silos
- #14 - Initialize XrExtensionProperties array parameter for rt_xrEnumerateInstanceExtensionProperties
- #20 - Fix Linux manifest file search
- #30 - Add default implementations of API functions to dispatch chains
- #32 - Avoid crash when evaluating layer disable environment vars
- #35 - Add 'unknown' strings to loader's *ToString fallback functions
- #36 - Allow null instance in xrGetInstanceProcAddr() for certain entry points
- #39 - Default to static loader only on Windows
- General, Build, Other
- Unify (for the most part) the OpenXR and Vulkan generator scripts. (internal MR 1166)
- List instance extensions in the "list" test. (internal MR 1169)
- Avoid dllexport for all apps compiled with
openxr_platform_defines.h
(internal MR 1187) - Don't offer
BUILD_SPECIFICATION
unless the spec makefile is there. (internal MR 1179) - Add simple input example to hello_xr. (internal MR 1178)
- Add a clang-format script for ease of development.
- API Registry and Headers
- Remove impossible and undocumented error codes. (internal MR 1185 and 1189)
- Mark layers in
XrFrameEndInfo
as optional. (internal MR 1151, internal issue 899) - Remove unused windows types from
openxr_platform.h
(internal MR 1197) - Make
openxr_platform.h
includeopenxr.h
on which it depends. (internal MR 1140, internal issue 918) - Remove unused, undocumented defines. (internal MR 1238, internal issue 1012)
- Loader
- Fix loader regkey search logic so 64bit application loads 64bit regkey value. (internal MR 1180)
- Modify loader to be friendly to UWP (Universal Windows Platform) build target. (internal MR 1198)