From e448fc5d81346427815ac42961cfe05561878e54 Mon Sep 17 00:00:00 2001 From: Veeresh Kadasani Date: Tue, 12 Nov 2019 15:44:19 +0900 Subject: output:fix repaint func not to skip first buffer Bug-AGL: SPEC-2946 transmitter skipped the first buffer and was not pushed to remote side. Change-Id: I242a4623b180e0115cffc2e9b0935697530bfc1c Signed-off-by: Veeresh Kadasani --- waltham-transmitter/transmitter-plugin/plugin.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'waltham-transmitter/transmitter-plugin/plugin.c') 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); } -- cgit 1.2.3-korg