Request powersaving performance

This commit is contained in:
Patrick Nicolas
2025-11-06 10:08:10 +01:00
parent 78ee60620a
commit 7b23715310
4 changed files with 17 additions and 0 deletions
+3
View File
@@ -492,6 +492,9 @@ void scenes::stream::on_focused()
setup_reprojection_swapchain(
video_stream_description->defoveated_width / view_count,
video_stream_description->defoveated_height);
session.set_performance_level(XR_PERF_SETTINGS_DOMAIN_CPU_EXT, XR_PERF_SETTINGS_LEVEL_POWER_SAVINGS_EXT);
session.set_performance_level(XR_PERF_SETTINGS_DOMAIN_GPU_EXT, XR_PERF_SETTINGS_LEVEL_POWER_SAVINGS_EXT);
}
void scenes::stream::on_unfocused()