Only send I frames when necessary

This commit is contained in:
Patrick Nicolas
2023-12-16 14:16:46 +01:00
committed by Guillaume Meunier
parent 6e14bac589
commit df786362e7
10 changed files with 42 additions and 15 deletions
+4
View File
@@ -37,12 +37,15 @@ struct audio_device;
struct xrt_system_devices;
struct xrt_space_overseer;
struct xrt_system_compositor;
struct wivrn_comp_target_factory;
namespace xrt::drivers::wivrn
{
struct wivrn_comp_target;
class wivrn_session : public std::enable_shared_from_this<wivrn_session>
{
friend wivrn_comp_target_factory;
wivrn_connection connection;
std::atomic<bool> quit = false;
@@ -52,6 +55,7 @@ class wivrn_session : public std::enable_shared_from_this<wivrn_session>
std::unique_ptr<wivrn_hmd> hmd;
std::unique_ptr<wivrn_controller> left_hand;
std::unique_ptr<wivrn_controller> right_hand;
wivrn_comp_target * comp_target;
clock_offset offset;
offset_estimator offset_est;