From 2507672482727e13b425b83fbf87cafc6c125a79 Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Wed, 12 Jan 2022 17:01:39 -0600 Subject: [PATCH] OpenXR SDK 1.0.22 (2022-01-12) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: rename XR_FB_HAND_TRACKING_CAPSULE_POINT_COUNT to XR_HAND_TRACKING_CAPSULE_POINT_COUNT_FB and XR_FB_HAND_TRACKING_CAPSULE_COUNT to XR_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) - 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 of getNativeLibraryDir() (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 in HandleData too, for use by language wrapper generation scripts. (internal MR 2184) This release replaces 1.0.21. --- .appveyor.yml | 2 +- CHANGELOG.SDK.md | 7 ++++++- specification/Makefile | 16 ++++++++++------ specification/registry/xr.xml | 6 +++--- 4 files changed, 20 insertions(+), 11 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 8fe17cd5..7c2ded7d 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: Apache-2.0 -version: 1.0.21.{build} +version: 1.0.22.{build} image: Visual Studio 2017 diff --git a/CHANGELOG.SDK.md b/CHANGELOG.SDK.md index 17b55881..09b1207f 100644 --- a/CHANGELOG.SDK.md +++ b/CHANGELOG.SDK.md @@ -19,7 +19,7 @@ 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. -## OpenXR SDK 1.0.21 (2022-01-10) +## OpenXR SDK 1.0.22 (2022-01-12) 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, @@ -96,6 +96,11 @@ incorporate security improvements from upstream. generation scripts. ([internal MR 2184](https://gitlab.khronos.org/openxr/openxr/merge_requests/2184)) +## OpenXR SDK 1.0.21 (2022-01-10) + +This release was withdrawn due to a typo noticed after initial publication. +All changes are now listed under 1.0.22. + ## OpenXR SDK 1.0.20 (2021-10-04) This release includes a proposed cross-vendor OpenXR loader for Android, Android diff --git a/specification/Makefile b/specification/Makefile index 1181f860..281d2fd5 100644 --- a/specification/Makefile +++ b/specification/Makefile @@ -44,7 +44,7 @@ ifneq (,$(strip $(VERY_STRICT))) ASCIIDOC := $(ASCIIDOC) --failure-level WARN endif -SPECREVISION = 1.0.21 +SPECREVISION = 1.0.22 REVISION_COMPONENTS = $(subst ., ,$(SPECREVISION)) MAJORMINORVER = $(word 1,$(REVISION_COMPONENTS)).$(word 2,$(REVISION_COMPONENTS)) @@ -101,7 +101,6 @@ default: echo "release-htmlpdf: build html pdf and copy output to an OpenXR-Registry-like layout"; \ echo "release: build html pdf manhtmlpages loader styleguide extprocess and copy output to an OpenXR-Registry-like layout"; \ fi - $(ECHO) "reflow: reflow AsciiDoctor source files in-place" $(ECHO) "clean_dirt: remove intermediate files" $(ECHO) "clean: remove targets and intermediate files" @@ -536,20 +535,25 @@ all: ################################################ -# Meta build for releases. Also copies into approximately the right layout for the OpenXR-Registry repo. +# Meta builds for releases. Also copies into approximately the right layout for the OpenXR-Registry repo. REGISTRYOUTDIR = $(OUTDIR)/../registry-release/specs/$(MAJORMINORVER)$(RELEASE_SPECS_SUFFIX) $(REGISTRYOUTDIR): $(QUIET)$(MKDIR) $@ -$(REGISTRYOUTDIR)/pdf $(REGISTRYOUTDIR)/html $(REGISTRYOUTDIR)/man: $(REGISTRYOUTDIR) +$(REGISTRYOUTDIR)/pdf $(REGISTRYOUTDIR)/html $(REGISTRYOUTDIR)/man $(REGISTRYOUTDIR)/headers: $(REGISTRYOUTDIR) + $(QUIET)$(MKDIR) $@ + +$(REGISTRYOUTDIR)/headers/openxr: $(REGISTRYOUTDIR)/headers $(QUIET)$(MKDIR) $@ release-htmlpdf: html pdf $(REGISTRYOUTDIR)/pdf $(REGISTRYOUTDIR)/html -asciidoctor-pdf-optimize $(PDFSPEC) - $(QUIET)$(CP) $(PDFSPEC) $(REGISTRYOUTDIR)/pdf/xrspec.pdf - $(QUIET)$(CP) $(HTMLSPEC) $(REGISTRYOUTDIR)/html/xrspec.html + $(QUIET)$(CP) $(PDFSPEC) $(REGISTRYOUTDIR)/pdf/$(SPEC_FILENAME_STEM).pdf + $(QUIET)$(CP) $(HTMLSPEC) $(REGISTRYOUTDIR)/html/$(SPEC_FILENAME_STEM).html .PHONY: release-htmlpdf + + release: release-htmlpdf manhtmlpages loader styleguide extprocess $(REGISTRYOUTDIR) $(REGISTRYOUTDIR)/man $(QUIET)$(CP) $(OUTDIR)/styleguide.html $(OUTDIR)/extprocess.html $(OUTDIR)/loader.html $(REGISTRYOUTDIR) $(QUIET)$(CP) -R $(MANHTMLDIR) $(REGISTRYOUTDIR)/man/html diff --git a/specification/registry/xr.xml b/specification/registry/xr.xml index 5b4975a2..05e083f3 100644 --- a/specification/registry/xr.xml +++ b/specification/registry/xr.xml @@ -122,7 +122,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. updates them automatically by processing a line at a time. --> // OpenXR current version number. -#define XR_CURRENT_API_VERSION XR_MAKE_VERSION(1, 0, 21) +#define XR_CURRENT_API_VERSION XR_MAKE_VERSION(1, 0, 22) - - + +