wayland: stop tracking compositor_version in engine
We don't need it anymore now that damage is posted from inside ecore_wl2.
This commit is contained in:
parent
6ea82f9f7e
commit
8cf0bfc9ef
|
@ -2211,8 +2211,6 @@ _ee_cb_sync_done(void *data, int type EINA_UNUSED, void *event EINA_UNUSED)
|
|||
if ((einfo = (Evas_Engine_Info_Wayland *)evas_engine_info_get(ee->evas)))
|
||||
{
|
||||
einfo->info.wl2_display = wdata->display;
|
||||
einfo->info.compositor_version =
|
||||
ecore_wl2_display_compositor_version_get(wdata->display);
|
||||
einfo->info.destination_alpha = EINA_TRUE;
|
||||
einfo->info.rotation = ee->rotation;
|
||||
einfo->info.wl2_win = wdata->win;
|
||||
|
@ -2518,8 +2516,6 @@ _ecore_evas_wl_common_new_internal(const char *disp_name, unsigned int parent, i
|
|||
einfo->info.rotation = ee->rotation;
|
||||
einfo->info.depth = 32;
|
||||
einfo->info.wl2_win = wdata->win;
|
||||
einfo->info.compositor_version =
|
||||
ecore_wl2_display_compositor_version_get(ewd);
|
||||
einfo->info.hidden = EINA_TRUE;
|
||||
|
||||
if (!evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo))
|
||||
|
|
|
@ -17,7 +17,6 @@ struct _Evas_Engine_Info_Wayland
|
|||
Ecore_Wl2_Display *wl2_display;
|
||||
Ecore_Wl2_Window *wl2_win;
|
||||
int depth, rotation, edges;
|
||||
int compositor_version;
|
||||
Eina_Bool destination_alpha : 1;
|
||||
Eina_Bool hidden : 1;
|
||||
} info;
|
||||
|
|
|
@ -71,7 +71,6 @@ struct _Dmabuf_Buffer
|
|||
struct _Dmabuf_Surface
|
||||
{
|
||||
Surface *surface;
|
||||
int compositor_version;
|
||||
|
||||
Dmabuf_Buffer *current;
|
||||
Dmabuf_Buffer **buffer;
|
||||
|
@ -762,7 +761,6 @@ _evas_dmabuf_surface_create(Surface *s, int w, int h, int num_buff)
|
|||
|
||||
surf->surface = s;
|
||||
surf->alpha = s->info->info.destination_alpha;
|
||||
surf->compositor_version = s->info->info.compositor_version;
|
||||
|
||||
/* create surface buffers */
|
||||
surf->nbuf = num_buff;
|
||||
|
|
Loading…
Reference in New Issue