Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to OpenXR 1.0.32.1 #147

Merged
merged 8 commits into from
Apr 5, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions generator/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2135,6 +2135,8 @@ fn xr_enum_value_name(ty: &str, name: &str) -> Ident {
"XrStructureType" => "XR_TYPE_".len(),
"XrPerfSettingsNotificationLevel" => "XR_PERF_SETTINGS_NOTIF_LEVEL_".len(),
"XrResult" => "XR_".len(),
"XrMarkerArucoDict" => "XR_MARKER_ARUCO_".len(),
"XrMarkerAprilTagDict" => "XR_MARKER_APRIL_TAG_".len(),
_ => ty.to_shouty_snake_case().len() + 1,
};
let end = if !ext.is_empty() {
Expand Down
250 changes: 250 additions & 0 deletions openxr/src/generated.rs

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion openxr/src/graphics/d3d.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ impl Graphics for D3D11 {
}
}


/// The D3D12 graphics API
///
/// See [`XR_KHR_d3d12_enable`] for safety details.
Expand Down
4 changes: 2 additions & 2 deletions openxr/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
use std::os::raw::c_char;

pub use sys::{
self, AsyncRequestIdFB, Duration, Path, SystemId, Time, UuidEXT, Version, CURRENT_API_VERSION,
FREQUENCY_UNSPECIFIED, MAX_VIRTUAL_KEYBOARD_COMMIT_TEXT_SIZE_META,
self, AsyncRequestIdFB, Duration, LocalizationMapML, Path, SystemId, Time, UuidEXT, Version,
CURRENT_API_VERSION, FREQUENCY_UNSPECIFIED, MAX_VIRTUAL_KEYBOARD_COMMIT_TEXT_SIZE_META,
};

mod generated;
Expand Down
2 changes: 1 addition & 1 deletion sys/OpenXR-SDK
Submodule OpenXR-SDK updated 46 files
+1 −1 .appveyor.yml
+3 −2 .azure-pipelines/shared/build_jobs.yml
+8 −10 .azure-pipelines/shared/build_linux.yml
+3 −0 .azure-pipelines/shared/build_mingw.yml
+3 −0 .azure-pipelines/shared/build_msvc.yml
+6 −2 .azure-pipelines/shared/check_clang_format.yml
+20 −19 .azure-pipelines/shared/check_file_format.yml
+6 −2 .azure-pipelines/shared/codespell.yml
+6 −1 .github/workflows/check_clang_format_and_codespell.yml
+0 −19 .github/workflows/gradle-wrapper-validation.yml
+2 −0 .github/workflows/msvc-build-preset.yml
+5 −1 .gitignore
+89 −0 CHANGELOG.SDK.md
+77 −23 CMakeLists.txt
+1 −0 HOTFIX
+1 −4 include/CMakeLists.txt
+71 −48 include/openxr/CMakeLists.txt
+434 −3 include/openxr/openxr.h
+282 −0 include/openxr/openxr_reflection.h
+1 −0 include/openxr/openxr_reflection_parent_structs.h
+16 −0 include/openxr/openxr_reflection_structs.h
+551 −18 specification/registry/xr.xml
+201 −110 src/CMakeLists.txt
+12 −4 src/cmake/FindEGL.cmake
+2 −2 src/cmake/FindJsonCpp.cmake
+16 −12 src/cmake/FindOpenGLES.cmake
+0 −88 src/cmake/FindVulkanHeaders.cmake
+1 −1 src/cmake/metaconfig.cmake.in
+11 −5 src/cmake/presentation.cmake
+0 −24 src/loader/AndroidManifest.xml
+3 −0 src/loader/AndroidManifest.xml.in
+297 −193 src/loader/CMakeLists.txt
+7 −0 src/loader/additional_manifest.mf.in
+2 −0 src/loader/additional_manifest.mf.in.license
+24 −4 src/loader/android_utilities.cpp
+65 −0 src/loader/api_layer_interface.cpp
+2 −1 src/loader/loader_core.cpp
+59 −0 src/loader/loader_init_data.cpp
+92 −0 src/loader/loader_init_data.hpp
+3 −2 src/loader/manifest_file.cpp
+1 −1 src/loader/module.json
+1 −108 src/loader/runtime_interface.cpp
+0 −12 src/loader/runtime_interface.hpp
+57 −9 src/version.cmake
+25 −0 src/xr_generated_dispatch_table.c
+25 −0 src/xr_generated_dispatch_table.h
955 changes: 952 additions & 3 deletions sys/src/generated.rs

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,11 @@ wrapper! {
RenderModelKeyFB(u64)
}

wrapper! {
#[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)]
MarkerML(u64)
}

wrapper! {
#[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)]
Version(u64)
Expand Down
Loading