Skip to content

Commit

Permalink
OpenXR SDK 1.1.45 (2025-02-05)
Browse files Browse the repository at this point in the history
This release includes a new multi-vendor extension, a new vendor
extension, improvements to Android builds and artifacts, and a revision
to a new architecture added in 1.1.42.

Note that SDK release 1.1.44 was skipped to keep up with a monthly
cadence for patch releases.

-   Registry
    -   Extension reservation: Reserve 15 extensions for EpicGames.
        (internal MR 3649)
    -   Improvement: Clean up spacing in some functions, improving
        specification and header output appearance. (internal MR 3660)
    -   New multi-vendor extension: XR_EXT_frame_synthesis (internal MR
        2200, OpenXR-Docs PR 122)
    -   New vendor extension: XR_BD_body_tracking (internal MR 2867)
-   SDK
    -   Change: Update the ABI identifier of LoongArch64 in
        specification/loader/runtime.adoc and the loader. This
        introduces a small incompatibility on this platform, but only if
        you were already decorating your manifests with
        ABI/architecture, which is unlikely. (OpenXR-SDK-Source PR 523)
    -   Improvement: Update Gradle (for hello_xr and other tests) from
        7.5/7.5.1 to to 8.5, and Android Gradle Plugin to 8.1.4.
        (internal MR 3640)
    -   Improvement: Adjust build so that it is possible to build a new
        binary .aar file from an unzipped sources.jar file, by calling
        something like
        bash   org/khronos/openxr/openxr_loader_for_android/maintainer-scripts/build-aar.sh.
        (internal MR 3642)
    -   Improvement: In build-aar.sh, skip making a sources.jar
        automatically if we lack the requirements (such as when we are
        already building from one.) (internal MR 3642)

GitOrigin-RevId: 2f14f9d9ec0d6ef12a66266660fa2650f6711628
  • Loading branch information
rpavlik committed Feb 5, 2025
1 parent 22b2dc5 commit d7d6ff8
Show file tree
Hide file tree
Showing 32 changed files with 610 additions and 223 deletions.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: Apache-2.0

version: 1.1.43.{build}
version: 1.1.45.{build}
image: Visual Studio 2017


Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ jobs:
organizeAndRelease: true

macos-build:
uses: ./.github/workflows/macos-build-preset.yml
uses: ./.github/workflows/build-macos.yml
with:
organizeAndRelease: true
2 changes: 1 addition & 1 deletion .github/workflows/windows-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
# NuGet stuff now

- name: Setup NuGet
uses: "NuGet/setup-nuget@323ab0502cd38fdc493335025a96c8fdb0edc71f"
uses: "NuGet/setup-nuget@a21f25cd3998bf370fde17e3f1b4c12c175172f9"
with:
nuget-version: "5.x"

Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ local.properties
*.pom
clang-format-patches/
/*.jar
/*.diff
/*.log
/*.pdf

# Key stores
*.jks
37 changes: 37 additions & 0 deletions CHANGELOG.SDK.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,43 @@ 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.1.45 (2025-02-05)

This release includes a new multi-vendor extension, a new vendor extension,
improvements to Android builds and artifacts, and a revision to a new
architecture added in 1.1.42.

Note that SDK release 1.1.44 was skipped to keep up with a monthly cadence for
patch releases.

- Registry
- Extension reservation: Reserve 15 extensions for EpicGames.
([internal MR 3649](https://gitlab.khronos.org/openxr/openxr/merge_requests/3649))
- Improvement: Clean up spacing in some functions, improving specification and
header output appearance.
([internal MR 3660](https://gitlab.khronos.org/openxr/openxr/merge_requests/3660))
- New multi-vendor extension: `XR_EXT_frame_synthesis`
([internal MR 2200](https://gitlab.khronos.org/openxr/openxr/merge_requests/2200),
[OpenXR-Docs PR 122](https://github.com/KhronosGroup/OpenXR-Docs/pull/122))
- New vendor extension: `XR_BD_body_tracking`
([internal MR 2867](https://gitlab.khronos.org/openxr/openxr/merge_requests/2867))
- SDK
- Change: Update the ABI identifier of LoongArch64 in
`specification/loader/runtime.adoc` and the loader. This introduces a small
incompatibility on this platform, but only if you were already decorating your
manifests with ABI/architecture, which is unlikely.
([OpenXR-SDK-Source PR 523](https://github.com/KhronosGroup/OpenXR-SDK-Source/pull/523))
- Improvement: Update Gradle (for hello_xr and other tests) from 7.5/7.5.1 to to
8.5, and Android Gradle Plugin to 8.1.4.
([internal MR 3640](https://gitlab.khronos.org/openxr/openxr/merge_requests/3640))
- Improvement: Adjust build so that it is possible to build a new binary `.aar`
file from an unzipped sources.jar file, by calling something like `bash
org/khronos/openxr/openxr_loader_for_android/maintainer-scripts/build-aar.sh`.
([internal MR 3642](https://gitlab.khronos.org/openxr/openxr/merge_requests/3642))
- Improvement: In `build-aar.sh`, skip making a sources.jar automatically if we
lack the requirements (such as when we are already building from one.)
([internal MR 3642](https://gitlab.khronos.org/openxr/openxr/merge_requests/3642))

## OpenXR SDK 1.1.43 (2024-11-27)

This release has a few fixes and minor improvements, as well as support for
Expand Down
19 changes: 14 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -176,16 +176,25 @@ if(BASH_COMMAND AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/specification/Makefile")
endif()

if(ANDROID AND INSTALL_TO_ARCHITECTURE_PREFIXES)
set(LICENSE_DEST META-INF)
else()
set(LICENSE_DEST share/doc/openxr)
endif()

if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE")
install(
FILES "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE"
DESTINATION META-INF
DESTINATION ${LICENSE_DEST}
COMPONENT License
)

else()
elseif(EXISTS "${CMAKE_SOURCE_DIR}/../../../../LICENSES/Apache-2.0.txt")
# Building from a sources jar, where we omit that single file
# to avoid confusion regarding the combination of licenses in the sources.
# But for consistency, we will put it in the binaries.
install(
FILES "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE"
DESTINATION share/doc/openxr
FILES "${CMAKE_SOURCE_DIR}/../../../../LICENSES/Apache-2.0.txt"
RENAME LICENSE
DESTINATION ${LICENSE_DEST}
COMPONENT License
)
endif()
4 changes: 0 additions & 4 deletions changes/sdk/pr.523.gh.OpenXR-SDK-Source.md

This file was deleted.

9 changes: 6 additions & 3 deletions maintainer-scripts/build-aar.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ if [ -z "$ANDROID_NDK_HOME" ]; then
exit 1
fi

if [ ! -f "maintainer-scripts/archive-sdk.sh" ]; then
logMsg "archive-sdk.sh not found, assuming building from a source jar. Must skip generating a new one."
SKIP_SOURCES_JAR=true
fi

while getopts ":hsC" o; do

case "${o}" in
Expand Down Expand Up @@ -146,7 +151,7 @@ else
rm -f OpenXR-SDK.tar.gz
rm -rf ${SOURCES_JAR_ROOT}
mkdir -p ${SOURCES_JAR_ROOT}/${SOURCES_NAMESPACE_PATH}
maintainer-scripts/archive-sdk.sh
bash maintainer-scripts/archive-sdk.sh

logMsg "Repacking SDK sources as a sources jar"
SOURCESFILE="$ROOT/${DECORATED%.pom}-sources.jar"
Expand All @@ -157,8 +162,6 @@ else
# Add files we want, for reproducibility
mkdir -p maintainer-scripts
cp "${ROOT}/maintainer-scripts/build-aar.sh" maintainer-scripts
cp "${ROOT}/maintainer-scripts/archive-sdk.sh" maintainer-scripts
cp "${ROOT}/maintainer-scripts/common.sh" maintainer-scripts

# Drop files/dirs we don't care about
rm -rf \
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading

0 comments on commit d7d6ff8

Please sign in to comment.