Unify tracked and non tracked foveation

This commit is contained in:
Patrick Nicolas
2025-06-24 15:29:12 +02:00
parent 9e3951da78
commit b75714c936
2 changed files with 38 additions and 26 deletions
+2
View File
@@ -57,9 +57,11 @@ class wivrn_foveation
bool flip_y = false;
xrt_rect src[2] = {};
xrt_fov fovs[2] = {};
std::array<from_headset::tracking::view, 2> views = {};
};
P last;
// must hold lock on mutex to call it
void compute_params(
xrt_rect src[2],
const xrt_fov fovs[2]);