Blender Git Commit Log
Git Commits -> Revision fac53c7
November 5, 2019, 11:32 (GMT) |
Core XR Support [part 1]: Add OpenXR-SDK dependency and WITH_XR build option Some points on the OpenXR-SDK dependency: * The repository is located at https://github.com/KhronosGroup/OpenXR-SDK (Apache 2). * We use the OpenXR loader lib from it, the headers, and some CMake utilities. * It contains a bunch of generated files, for which the sources are in a separate repository. * To use the injected OpenXR API-layers from the SDK (e.g. API validation layers), the SDK needs to be compiled from this other repository. * We could use that other repo by default, but I'd rather go with the simpler solution and allow people to opt in if they want advanced dev features. * I copied `presentation.cmake` and `xr_platform_defines.cmake` from the SDK. They contain logic that is not needed for us and prints at CMake generation. We could change that but figured it would also be helpful to keep the files equal to the SDK ones. * For Windows a patch is needed to link the CRT in a compatible way. * @LazyDodo already pushed the precompiled binaries for Windows. All this is entirely untested on macOS. Differential Revision: https://developer.blender.org/D6188 |
Commit Details:
Full Hash: fac53c7bc2e40201666cd9dc083f07a56ad5fbe5
Parent Commit: ea7e161
Lines Changed: +581, -189
7 Added Paths:
/build_files/build_environment/cmake/openxr.cmake (+53, -0) (View)
/build_files/build_environment/patches/openxr_sdk.diff (+28, -0) (View)
/build_files/cmake/Modules/FindOpenXR-SDK.cmake (+68, -0) (View)
/build_files/cmake/Modules/presentation.cmake (+115, -0) (View)
/build_files/cmake/Modules/xr_platform_defines.cmake (+50, -0) (View)
/release/windows/batch/blender_oculus.cmd (+8, -0) (View)
/release/windows/batch/oculus.json (+7, -0) (View)
/build_files/build_environment/patches/openxr_sdk.diff (+28, -0) (View)
/build_files/cmake/Modules/FindOpenXR-SDK.cmake (+68, -0) (View)
/build_files/cmake/Modules/presentation.cmake (+115, -0) (View)
/build_files/cmake/Modules/xr_platform_defines.cmake (+50, -0) (View)
/release/windows/batch/blender_oculus.cmd (+8, -0) (View)
/release/windows/batch/oculus.json (+7, -0) (View)
2 Deleted Paths:
/source/blender/CMakeLists.txt (+0, -159)
/source/CMakeLists.txt (+0, -25)
/source/CMakeLists.txt (+0, -25)
14 Modified Paths:
/build_files/build_environment/cmake/harvest.cmake (+2, -0) (Diff)
/build_files/build_environment/cmake/versions.cmake (+4, -0) (Diff)
/build_files/build_environment/CMakeLists.txt (+1, -0) (Diff)
/build_files/build_environment/install_deps.sh (+197, -5) (Diff)
/build_files/cmake/config/blender_full.cmake (+1, -0) (Diff)
/build_files/cmake/config/blender_lite.cmake (+1, -0) (Diff)
/build_files/cmake/config/blender_release.cmake (+1, -0) (Diff)
/build_files/cmake/macros.cmake (+3, -0) (Diff)
/build_files/cmake/platform/platform_apple.cmake (+8, -0) (Diff)
/build_files/cmake/platform/platform_unix.cmake (+9, -0) (Diff)
/build_files/cmake/platform/platform_win32.cmake (+12, -0) (Diff)
/CMakeLists.txt (+2, -0) (Diff)
/source/blender/python/intern/bpy_app_build_options.c (+7, -0) (Diff)
/source/blender/python/intern/CMakeLists.txt (+4, -0) (Diff)
/build_files/build_environment/cmake/versions.cmake (+4, -0) (Diff)
/build_files/build_environment/CMakeLists.txt (+1, -0) (Diff)
/build_files/build_environment/install_deps.sh (+197, -5) (Diff)
/build_files/cmake/config/blender_full.cmake (+1, -0) (Diff)
/build_files/cmake/config/blender_lite.cmake (+1, -0) (Diff)
/build_files/cmake/config/blender_release.cmake (+1, -0) (Diff)
/build_files/cmake/macros.cmake (+3, -0) (Diff)
/build_files/cmake/platform/platform_apple.cmake (+8, -0) (Diff)
/build_files/cmake/platform/platform_unix.cmake (+9, -0) (Diff)
/build_files/cmake/platform/platform_win32.cmake (+12, -0) (Diff)
/CMakeLists.txt (+2, -0) (Diff)
/source/blender/python/intern/bpy_app_build_options.c (+7, -0) (Diff)
/source/blender/python/intern/CMakeLists.txt (+4, -0) (Diff)