set refresh rate on session pause / resume

This commit is contained in:
caszuu
2026-02-27 16:03:18 +01:00
committed by xytovl
parent 9a81bc8213
commit b5e93607df
3 changed files with 16 additions and 0 deletions
+5
View File
@@ -869,6 +869,11 @@ void wivrn_comp_target::set_refresh_rate(float refresh_rate_hz)
encoder->set_framerate(refresh_rate_hz);
}
float wivrn_comp_target::get_refresh_rate()
{
return desc.fps;
}
wivrn_comp_target::wivrn_comp_target(wivrn::wivrn_session & cnx, struct comp_compositor * c) :
comp_target{
.c = c,