diff options
author | Derek Foreman <derekf@osg.samsung.com> | 2017-11-08 13:58:07 -0600 |
---|---|---|
committer | Derek Foreman <derekf@osg.samsung.com> | 2017-11-08 15:12:51 -0600 |
commit | 4adf87ae91e56a97fa85694855d90e08c41b83e2 (patch) | |
tree | c17a36b3d79478234c2fc44c19c2c3cd4c327036 | |
parent | b5674b788539b9e0aa5ed1e11fe4d38de9a4772c (diff) | |
download | efl-4adf87ae91e56a97fa85694855d90e08c41b83e2.tar.gz |
wayland_shm: Simplify surface commits
We no longer have the concept of a "pre" buffer (allocated but not yet
registered as a wayland buffer)
-rw-r--r-- | src/modules/evas/engines/wayland_shm/evas_dmabuf.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/modules/evas/engines/wayland_shm/evas_dmabuf.c b/src/modules/evas/engines/wayland_shm/evas_dmabuf.c index ffa65e9ff2..2d263de0c1 100644 --- a/src/modules/evas/engines/wayland_shm/evas_dmabuf.c +++ b/src/modules/evas/engines/wayland_shm/evas_dmabuf.c @@ -74,7 +74,6 @@ struct _Dmabuf_Surface int compositor_version; Dmabuf_Buffer *current; - Dmabuf_Buffer *pre; Dmabuf_Buffer **buffer; int nbuf; @@ -667,18 +666,6 @@ _evas_dmabuf_surface_post(Surface *s, Eina_Rectangle *rects, unsigned int count) b->used = EINA_TRUE; b->age = 0; - /* If we don't yet have a buffer assignement we need to track the - * most recently filled unassigned buffer and make sure it gets - * displayed. - */ - if (surface->pre) surface->pre->busy = EINA_FALSE; - if (!b->wl_buffer) - { - surface->pre = b; - return; - } - surface->pre = NULL; - win = s->info->info.wl2_win; wls = ecore_wl2_window_surface_get(win); |