This is no longer necessary. No functional changes.
Change-Id: Ia68a7b9a3f91abcc33328c38a95096d655ea6de8
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;
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);
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)
{