client: support XR_META_foveation_eye_tracked (#1123)

This commit is contained in:
galister
2026-10-22 18:52:55 +02:00
committed by GitHub
parent 2e60fa75e4
commit 76da2e1cb7
20 changed files with 896 additions and 266 deletions
+2 -3
View File
@@ -675,7 +675,6 @@ void wivrn_session::operator()(const from_headset::tracking & tracking)
if (eye_tracker)
eye_tracker->update_tracking(tracking, offset);
compositor.update_tracking(tracking);
if (android_face_tracker)
android_face_tracker->update_tracking(tracking, offset);
@@ -685,9 +684,9 @@ void wivrn_session::operator()(const from_headset::tracking & tracking)
htc_face_tracker->update_tracking(tracking, offset);
}
void wivrn_session::operator()(from_headset::override_foveation_center && foveation_center)
void wivrn_session::operator()(const from_headset::foveation & packet)
{
compositor.update_foveation_center_override(foveation_center);
compositor.update_foveation(packet);
}
void wivrn_session::operator()(from_headset::derived_pose && derived)
+1 -1
View File
@@ -166,6 +166,7 @@ public:
void operator()(const from_headset::settings_changed &);
void operator()(from_headset::handshake &&) {}
void operator()(const from_headset::tracking &);
void operator()(const from_headset::foveation &);
void operator()(from_headset::derived_pose &&);
void operator()(from_headset::hand_tracking &&);
void operator()(from_headset::meta_body &&);
@@ -182,7 +183,6 @@ public:
void operator()(from_headset::user_presence_changed &&);
void operator()(from_headset::refresh_rate_changed &&);
void operator()(from_headset::stream_tab_changed &&);
void operator()(from_headset::override_foveation_center &&);
void operator()(from_headset::get_application_list &&);
void operator()(const from_headset::start_app &);
void operator()(const from_headset::get_running_applications &);