Implement refresh rate change

This commit is contained in:
Patrick Nicolas
2025-01-07 20:07:06 +01:00
parent c545db61d7
commit ad9300f842
7 changed files with 87 additions and 34 deletions
+3
View File
@@ -35,6 +35,7 @@
struct u_system;
struct xrt_space_overseer;
struct xrt_system_compositor;
union xrt_session_event;
namespace wivrn
{
@@ -166,6 +167,8 @@ public:
connection->send_control(std::forward<T>(packet));
}
xrt_result_t push_event(const xrt_session_event &);
std::array<to_headset::foveation_parameter, 2> set_foveated_size(uint32_t width, uint32_t height);
std::array<to_headset::foveation_parameter, 2> get_foveation_parameters();
bool apply_dynamic_foveation();