summaryrefslogtreecommitdiffstats
path: root/waltham-transmitter/transmitter-plugin/plugin.c
diff options
context:
space:
mode:
authorVeeresh Kadasani <external.vkadasani@jp.adit-jv.com>2019-11-12 15:44:19 +0900
committerVeeresh Kadasani <external.vkadasani@jp.adit-jv.com>2019-11-14 01:59:05 +0000
commite448fc5d81346427815ac42961cfe05561878e54 (patch)
tree5ef536abf080e1f526552f348214b8447713a913 /waltham-transmitter/transmitter-plugin/plugin.c
parent8409a6d28957c6edd9caae8143ee54877e0e1256 (diff)
output:fix repaint func not to skip first bufferhalibut_8.0.3halibut/8.0.38.0.3
Bug-AGL: SPEC-2946 transmitter skipped the first buffer and was not pushed to remote side. Change-Id: I242a4623b180e0115cffc2e9b0935697530bfc1c Signed-off-by: Veeresh Kadasani <external.vkadasani@jp.adit-jv.com>
Diffstat (limited to 'waltham-transmitter/transmitter-plugin/plugin.c')
-rw-r--r--waltham-transmitter/transmitter-plugin/plugin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/waltham-transmitter/transmitter-plugin/plugin.c b/waltham-transmitter/transmitter-plugin/plugin.c
index 65ebdf6..d372c65 100644
--- a/waltham-transmitter/transmitter-plugin/plugin.c
+++ b/waltham-transmitter/transmitter-plugin/plugin.c
@@ -260,6 +260,7 @@ transmitter_surface_set_ivi_id(struct weston_transmitter_surface *txs)
txs->wthp_ivi_surface = wthp_ivi_application_surface_create
(dpy->application, ivi_surf->id_surface, txs->wthp_surf);
+ wth_connection_flush(remote->display->connection);
weston_log("surface ID %d\n", ivi_surf->id_surface);
if(!txs->wthp_ivi_surface){
weston_log("Failed to create txs->ivi_surf\n");
@@ -325,6 +326,7 @@ transmitter_surface_push_to_remote(struct weston_surface *ws,
if (!txs->wthp_surf) {
weston_log("txs->wthp_surf is NULL\n");
txs->wthp_surf = wthp_compositor_create_surface(remote->display->compositor);
+ wth_connection_flush(remote->display->connection);
transmitter_surface_set_ivi_id(txs);
}