summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/wayland_shm/evas_shm.c
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-09-11 17:16:17 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-10-12 12:24:03 -0500
commit4a23e69bcc506b5ac7a77fa01044c26c4cc0c743 (patch)
treeb1b26e4c39d75fa4d250e74f5ab32065cb4e7772 /src/modules/evas/engines/wayland_shm/evas_shm.c
parent2b9a22e3a9aeb5b18913468744039da4628d7414 (diff)
wayland_shm: Remove surface_set function
Now that we use the display's shm and dmabuf pointers we don't need to update them.
Diffstat (limited to 'src/modules/evas/engines/wayland_shm/evas_shm.c')
-rw-r--r--src/modules/evas/engines/wayland_shm/evas_shm.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/modules/evas/engines/wayland_shm/evas_shm.c b/src/modules/evas/engines/wayland_shm/evas_shm.c
index 6ad24c48fc..4553edc7c1 100644
--- a/src/modules/evas/engines/wayland_shm/evas_shm.c
+++ b/src/modules/evas/engines/wayland_shm/evas_shm.c
@@ -576,20 +576,6 @@ _evas_shm_surface_post(Surface *s, Eina_Rectangle *rects, unsigned int count, Ei
576} 576}
577 577
578Eina_Bool 578Eina_Bool
579_evas_shm_surface_surface_set(Surface *s, struct wl_shm *wl_shm, struct zwp_linux_dmabuf_v1 *wl_dmabuf EINA_UNUSED)
580{
581 Shm_Surface *surf;
582
583 surf = s->surf.shm;
584
585 if ((surf->shm == wl_shm))
586 return EINA_FALSE;
587
588 surf->shm = wl_shm;
589 return EINA_TRUE;
590}
591
592Eina_Bool
593_evas_shm_surface_create(Surface *s, int w, int h, int num_buff) 579_evas_shm_surface_create(Surface *s, int w, int h, int num_buff)
594{ 580{
595 Shm_Surface *surf; 581 Shm_Surface *surf;
@@ -626,7 +612,6 @@ _evas_shm_surface_create(Surface *s, int w, int h, int num_buff)
626 s->funcs.data_get = _evas_shm_surface_data_get; 612 s->funcs.data_get = _evas_shm_surface_data_get;
627 s->funcs.assign = _evas_shm_surface_assign; 613 s->funcs.assign = _evas_shm_surface_assign;
628 s->funcs.post = _evas_shm_surface_post; 614 s->funcs.post = _evas_shm_surface_post;
629 s->funcs.surface_set = _evas_shm_surface_surface_set;
630 615
631 return EINA_TRUE; 616 return EINA_TRUE;
632 617