reset defoveator on decoder change

This commit is contained in:
Patrick Nicolas
2026-03-05 10:56:07 +01:00
parent bc115b9969
commit 9690633030
3 changed files with 13 additions and 0 deletions
+8
View File
@@ -283,6 +283,14 @@ stream_defoveator::stream_defoveator(
}
}
void stream_defoveator::reset_pipelines()
{
for (auto & p: pipeline_rgb)
p = {};
for (auto & p: pipeline_a)
p = {};
}
static size_t required_vertices(const wivrn::to_headset::foveation_parameter & p)
{
// strips are constructed like this: