Skip to content

Commit

Permalink
Update to OpenXR 1.0.20
Browse files Browse the repository at this point in the history
  • Loading branch information
BastiaanOlij authored and m4gr3d committed Nov 18, 2021
1 parent 930b2d0 commit f60a85a
Show file tree
Hide file tree
Showing 96 changed files with 823 additions and 1,598 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:
name: build-files-windows
path: |
demo/addons/godot-openxr/bin/win64/libgodot_openxr.dll
thirdparty/openxr_loader/x64/bin/openxr_loader.dll
thirdparty/openxr_loader/native/x64/release/bin/openxr_loader.dll
if: matrix.platform == 'windows'

# for android, copy aar
Expand Down Expand Up @@ -160,7 +160,7 @@ jobs:
cp -r godot_openxr/demo/addons/godot-openxr godot_openxr_plugin/addons
cp build-files-linux/libgodot_openxr.so godot_openxr_plugin/addons/godot-openxr/bin/linux/libgodot_openxr.so
cp build-files-windows/demo/addons/godot-openxr/bin/win64/libgodot_openxr.dll godot_openxr_plugin/addons/godot-openxr/bin/win64/libgodot_openxr.dll
cp build-files-windows/thirdparty/openxr_loader/x64/bin/openxr_loader.dll godot_openxr_plugin/addons/godot-openxr/bin/win64/openxr_loader.dll
cp build-files-windows/thirdparty/openxr_loader/native/x64/release/bin/openxr_loader.dll godot_openxr_plugin/addons/godot-openxr/bin/win64/openxr_loader.dll
cp build-files-android/sharedLibs/release/arm64-v8a/* godot_openxr_plugin/addons/godot-openxr/bin/android/
# cp build-files-android/outputs/aar/*.aar godot_openxr_plugin/addons/godot-openxr/bin/android/
# cp godot_openxr/android/godot_openxr.gdap godot_openxr_plugin/addons/godot-openxr/bin/android/godot_openxr.gdap
Expand Down
11 changes: 6 additions & 5 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,16 @@ if env['platform'] == "windows":
target_path += "win64/"
godot_cpp_library += '.windows'
openxr_include_path += env['openxr_loader_path'] + "include/"
openxr_library_path += env['openxr_loader_path'] + "x64/lib"
openxr_library_path += env['openxr_loader_path'] + "native/x64/release/lib"

# copy our loaded dll
openxr_loader_dll_source = env['openxr_loader_path'] + "x64/bin/openxr_loader.dll"
openxr_loader_dll_source = env['openxr_loader_path'] + "native/x64/release/bin/openxr_loader.dll"
openxr_loader_dll_target = target_path + "openxr_loader.dll"

if env['target'] in ('debug', 'd'):
openxr_loader_pdb_source = env['openxr_loader_path'] + "x64/bin/openxr_loader.pdb"
openxr_loader_pdb_target = target_path + "openxr_loader.pdb"
# no longer includes this in 1.0.20...
#if env['target'] in ('debug', 'd'):
# openxr_loader_pdb_source = env['openxr_loader_path'] + "x64/bin/openxr_loader.pdb"
# openxr_loader_pdb_target = target_path + "openxr_loader.pdb"

# Check some environment settings
if env['use_llvm']:
Expand Down
1 change: 1 addition & 0 deletions demo/addons/godot-openxr/CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Changes to the Godot OpenXR asset
1.1.1
-------------------
- Organised all third party resources into a thirdparty folder for easy maintenance.
- Update to OpenXR 1.0.20

1.1.0
-------------------
Expand Down
2 changes: 1 addition & 1 deletion thirdparty/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ This is a copy of the Oculus OpenXR mobile SDK downloaded from [here](https://de
This is a copy of the Khronos OpenXR loader library for Windows. We use the include files for all platforms.

- Upstream: https://github.com/KhronosGroup/OpenXR-SDK/releases
- Version 1.0.18
- Version 1.0.20
- License: Apache 2.0 or MIT
Binary file not shown.

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file removed thirdparty/openxr_loader/ARM64_uwp/bin/hello_xr.exe
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file removed thirdparty/openxr_loader/ARM_uwp/bin/hello_xr.exe
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Loading

0 comments on commit f60a85a

Please sign in to comment.