From: Seunghun Lee Date: Wed, 12 Mar 2025 08:49:27 +0000 (+0900) Subject: compositor: Drop e_comp_wl_subsurface_commit X-Git-Tag: accepted/tizen/unified/20250317.142111~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F06%2F321106%2F1;p=platform%2Fupstream%2Fenlightenment.git compositor: Drop e_comp_wl_subsurface_commit This is no longer necessary. No functional changes. Change-Id: Ia68a7b9a3f91abcc33328c38a95096d655ea6de8 --- diff --git a/src/bin/server/e_comp_wl_rsm.c b/src/bin/server/e_comp_wl_rsm.c index bd00d521c3..e2c0079d2d 100644 --- a/src/bin/server/e_comp_wl_rsm.c +++ b/src/bin/server/e_comp_wl_rsm.c @@ -3135,7 +3135,7 @@ _e_comp_wl_remote_surface_subsurface_commit(E_Comp_Wl_Remote_Provider *parent_pr Eina_Bool first_skip = EINA_TRUE; E_Comp_Wl_Buffer *buffer; - if (!e_comp_wl_subsurface_commit(ec)) return EINA_FALSE; + e_comp_wl_surface_commit(ec); buffer = e_pixmap_resource_get(ec->pixmap); if (!buffer) return EINA_TRUE; diff --git a/src/bin/server/e_comp_wl_subsurface_intern.h b/src/bin/server/e_comp_wl_subsurface_intern.h index 6c462e3752..97ac26cb19 100644 --- a/src/bin/server/e_comp_wl_subsurface_intern.h +++ b/src/bin/server/e_comp_wl_subsurface_intern.h @@ -19,7 +19,6 @@ EINTERN void e_comp_wl_subsurface_data_position_set(E_Comp_Wl_Subsurf_Data *sdat EINTERN void e_comp_wl_subsurface_data_coord_get(E_Comp_Wl_Subsurf_Data *sdata, int *x, int *y); EINTERN Eina_Bool e_comp_wl_subsurface_order_commit(E_Client *ec); -EINTERN Eina_Bool e_comp_wl_subsurface_commit(E_Client *ec); EINTERN Eina_Bool e_comp_wl_subsurface_can_show(E_Client *ec); EINTERN void e_comp_wl_subsurface_show(E_Client *ec); EINTERN void e_comp_wl_subsurface_hide(E_Client *ec); diff --git a/src/bin/server/e_compositor.c b/src/bin/server/e_compositor.c index e701451362..1888c3932f 100644 --- a/src/bin/server/e_compositor.c +++ b/src/bin/server/e_compositor.c @@ -319,25 +319,6 @@ e_subsurface_place_below_parent(E_Subsurface *sub) epc_cdata->sub.list_changed = EINA_TRUE; } -EINTERN Eina_Bool -e_comp_wl_subsurface_commit(E_Client *ec) -{ - E_Surface *surface; - - EINA_SAFETY_ON_NULL_RETURN_VAL(ec, EINA_FALSE); - - surface = e_surface_try_from_ec(ec); - if (!surface) - return EINA_FALSE; - - if (!_e_subsurface_try_from_surface(surface)) - return EINA_FALSE; - - e_comp_wl_surface_commit(ec); - - return EINA_TRUE; -} - EINTERN E_Surface * e_surface_from_resource(struct wl_resource *surface_resource) {