wayland_shm: Remove surface from buffer struct

All users are now removed so we no longer need this.
This commit is contained in:
Derek Foreman 2017-11-13 12:15:22 -06:00
parent 36f0a9a814
commit 2042e4bc21
1 changed files with 0 additions and 3 deletions

View File

@ -51,7 +51,6 @@ Buffer_Manager *buffer_manager = NULL;
struct _Ecore_Wl2_Buffer
{
Dmabuf_Surface *surface;
struct wl_buffer *wl_buffer;
int size;
int w, h;
@ -537,7 +536,6 @@ ecore_wl2_buffer_destroy(Ecore_Wl2_Buffer *b)
if (b->locked || b->busy)
{
b->orphaned = EINA_TRUE;
b->surface = NULL;
return;
}
if (b->fd != -1) close(b->fd);
@ -706,7 +704,6 @@ ecore_wl2_buffer_create(Dmabuf_Surface *s, int w, int h, Eina_Bool alpha)
if (!out) return NULL;
out->fd = -1;
out->surface = s;
out->alpha = alpha;
out->bh = _buffer_manager_alloc("name", w, h, &out->stride, &out->fd);
if (!out->bh)