Client-side post-processing - OpenXR native post-processing

This commit is contained in:
Baplar
2025-04-13 22:28:31 +02:00
parent 99fbedab02
commit 5f361f271a
8 changed files with 304 additions and 73 deletions
+7
View File
@@ -1044,6 +1044,7 @@ void application::initialize()
opt_extensions.push_back(XR_FB_COMPOSITION_LAYER_DEPTH_TEST_EXTENSION_NAME);
opt_extensions.push_back(XR_KHR_COMPOSITION_LAYER_COLOR_SCALE_BIAS_EXTENSION_NAME);
opt_extensions.push_back(XR_KHR_VISIBILITY_MASK_EXTENSION_NAME);
opt_extensions.push_back(XR_FB_COMPOSITION_LAYER_SETTINGS_EXTENSION_NAME);
for (const auto & i: interaction_profiles)
{
@@ -1120,6 +1121,12 @@ void application::initialize()
htc_face_tracking_lip_supported = htc_face_properties.supportLipFacialTracking;
}
if (utils::contains(xr_extensions, XR_FB_COMPOSITION_LAYER_SETTINGS_EXTENSION_NAME))
{
spdlog::info(" OpenXR post-processing extension support: true");
openxr_post_processing_supported = true;
}
switch (xr_system_id.passthrough_supported())
{
case xr::system::passthrough_type::no_passthrough: