compositor: Drop e_comp_wl_subsurface_commit 06/321106/1
authorSeunghun Lee <shiin.lee@samsung.com>
Wed, 12 Mar 2025 08:49:27 +0000 (17:49 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Fri, 14 Mar 2025 04:24:49 +0000 (13:24 +0900)
This is no longer necessary. No functional changes.

Change-Id: Ia68a7b9a3f91abcc33328c38a95096d655ea6de8

src/bin/server/e_comp_wl_rsm.c
src/bin/server/e_comp_wl_subsurface_intern.h
src/bin/server/e_compositor.c

index bd00d521c3b7c2758ddb6298af67da90b9c36227..e2c0079d2d1e93cb3895b608cc614357f0378d2b 100644 (file)
@@ -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;
index 6c462e3752d44768f1684a630f0ebc123e1535aa..97ac26cb19c53cdad1976d87ed6cbd4e53637ec5 100644 (file)
@@ -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);
index e701451362adc518308f0e2bc4c05a74aad73550..1888c3932f9bf91fe262eef9953f98e446ae342c 100644 (file)
@@ -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)
 {