summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunkyeong, Kim <jk0430.kim@samsung.com>2021-08-31 19:19:26 +0900
committerJunkyeong, Kim <jk0430.kim@samsung.com>2021-08-31 19:19:43 +0900
commit04b533f2db91f1537f3f05c454ec81a6fabdb30c (patch)
tree87d5fdb7947449f12a1a1ee73a4c00e3b3dcecda
parent09e816532bb88164eed347e0a0a4f4c83b889482 (diff)
downloade-mod-tizen-rdp-tizen_6.5.tar.gz
e-mod-tizen-rdp-tizen_6.5.tar.bz2
e-mod-tizen-rdp-tizen_6.5.zip
Change-Id: Id3798b68035c1e2aaf81649e10f432f01cccfce3 Signed-off-by: Junkyeong, Kim <jk0430.kim@samsung.com>
-rw-r--r--src/e_mod_rdp.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/e_mod_rdp.c b/src/e_mod_rdp.c
index e477be9..051be70 100644
--- a/src/e_mod_rdp.c
+++ b/src/e_mod_rdp.c
@@ -54,6 +54,7 @@ typedef struct _E_Rdp_Peer_Item E_Rdp_Peer_Item;
typedef struct _E_Rdp_Peer_Context E_Rdp_Peer_Context;
static E_Rdp_Backend *g_rdp_backend;
+static unsigned int refresh_raw_frame_id;
struct _E_Rdp_Config
{
@@ -301,7 +302,11 @@ e_rdp_peer_refresh_raw(pixman_region32_t *region, pixman_image_t *image, freerdp
if (!nrects)
return;
- marker.frameId++;
+ if (refresh_raw_frame_id == 1024)
+ refresh_raw_frame_id = 0;
+ refresh_raw_frame_id++;
+
+ marker.frameId = refresh_raw_frame_id;
marker.frameAction = SURFACECMD_FRAMEACTION_BEGIN;
update->SurfaceFrameMarker(peer->context, &marker);