[gnome-remote-desktop] rdp-surface: Also track the refresh rate



commit c6cd75697da8d3fc6c3f58a19e6617c9440816a4
Author: Pascal Nowack <Pascal Nowack gmx de>
Date:   Thu Mar 25 08:34:23 2021 +0100

    rdp-surface: Also track the refresh rate
    
    The refresh rate will later be used to determine the activate threshold
    for the throttling mechanism in the GFX surface, when also considering
    the round trip time.

 src/grd-rdp-surface.h | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/grd-rdp-surface.h b/src/grd-rdp-surface.h
index 2f5e4c7..01a0190 100644
--- a/src/grd-rdp-surface.h
+++ b/src/grd-rdp-surface.h
@@ -38,6 +38,7 @@ struct _GrdRdpSurface
   gboolean valid;
 
   GrdRdpGfxSurface *gfx_surface;
+  uint16_t refresh_rate;
   gboolean encoding_suspended;
 };
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]