From: Changyeon Lee Date: Mon, 30 Mar 2020 07:18:23 +0000 (+0900) Subject: e_presentation_time: consider subsurface synchronized mode X-Git-Tag: submit/tizen/20200403.093600~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F92%2F229192%2F1;p=platform%2Fupstream%2Fenlightenment.git e_presentation_time: consider subsurface synchronized mode merged pending feedback to feedback container of subsurface cache data when synchronized mode. Change-Id: I21c7fb9a13f4246895b1c5fa6891baa7e8514acb --- diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index 17cc721a04..e075dbafc3 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -2620,7 +2620,7 @@ _e_comp_wl_surface_state_commit(E_Client *ec, E_Comp_Wl_Surface_State *state) e_presentation_time_container_feedback_discard(&ec->comp_data->presentation_container); e_presentation_time_container_feedback_merge(&ec->comp_data->presentation_container, - &ec->comp_data->pending.presentation_container); + &state->presentation_container); buffer = e_pixmap_resource_get(ec->pixmap); diff --git a/src/bin/e_comp_wl_subsurface.c b/src/bin/e_comp_wl_subsurface.c index 1cd53e8563..0684737a7c 100644 --- a/src/bin/e_comp_wl_subsurface.c +++ b/src/bin/e_comp_wl_subsurface.c @@ -390,6 +390,10 @@ _e_comp_wl_subsurface_commit_to_cache(E_Client *ec) l); } + e_presentation_time_container_feedback_discard(&sdata->cached.presentation_container); + e_presentation_time_container_feedback_merge(&sdata->cached.presentation_container, + &cdata->pending.presentation_container); + sdata->cached.has_data = EINA_TRUE; }