[gnome-remote-desktop] session-rdp: Add status flags for the graphics pipeline



commit eed32dc1d87f36dee14802ed86480c02c7d7ed2c
Author: Pascal Nowack <Pascal Nowack gmx de>
Date:   Thu Mar 18 19:08:31 2021 +0100

    session-rdp: Add status flags for the graphics pipeline
    
    The graphics pipeline is a dynamic channel and has its own capability
    exchange.
    This means: If the connection is activated, then the graphics pipeline
    will not be ready yet.
    The RDP_PEER_PENDING_GFX_INIT flag signals, that there is a pending
    capability exchange (graphics pipeline not ready yet), while the
    RDP_PEER_PENDING_GFX_GRAPHICS_RESET flag signals, that
    gnome-remote-desktop needs to submit the monitor configuration and the
    size of the graphics output buffer to the client first, in order to be
    able to submit surface updates.

 src/grd-session-rdp.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/src/grd-session-rdp.c b/src/grd-session-rdp.c
index c3b9fa4..cc0f9f0 100644
--- a/src/grd-session-rdp.c
+++ b/src/grd-session-rdp.c
@@ -43,9 +43,11 @@
 
 typedef enum _RdpPeerFlag
 {
-  RDP_PEER_ACTIVATED            = 1 << 0,
-  RDP_PEER_OUTPUT_ENABLED       = 1 << 1,
-  RDP_PEER_ALL_SURFACES_INVALID = 1 << 2,
+  RDP_PEER_ACTIVATED                  = 1 << 0,
+  RDP_PEER_OUTPUT_ENABLED             = 1 << 1,
+  RDP_PEER_ALL_SURFACES_INVALID       = 1 << 2,
+  RDP_PEER_PENDING_GFX_INIT           = 1 << 3,
+  RDP_PEER_PENDING_GFX_GRAPHICS_RESET = 1 << 4,
 } RdpPeerFlag;
 
 typedef enum _PointerType


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