From 4c39f4550a471cc98c7f485d2fa7e3976370f8a1 Mon Sep 17 00:00:00 2001 From: "joonbum.ko" Date: Mon, 28 Nov 2016 18:49:10 +0900 Subject: [PATCH] tpl_wayland_egl: For the hide effect, client should not attach 'NULL' when surface destroy. - If client attach 'NULL' to wl_surface when the surface destroy, server cannot show hide effect of that surface. - This commit was requested by effect member. (minjjj.kim@samsung.com) Change-Id: I349bbb5885dd86bd6c95d523d9fee6851c181c03 Signed-off-by: joonbum.ko --- src/tpl_wayland_egl.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/tpl_wayland_egl.c b/src/tpl_wayland_egl.c index d16aa84..2569a00 100644 --- a/src/tpl_wayland_egl.c +++ b/src/tpl_wayland_egl.c @@ -594,16 +594,6 @@ __tpl_wayland_egl_surface_fini(tpl_surface_t *surface) wl_egl_window->private = NULL; - /* Detach all pending buffers */ - if (wl_egl_window->surface && - /* if-statement to be removed once evas/gl patch is in place */ - wl_egl_window->width == wl_egl_window->attached_width && - wl_egl_window->height == wl_egl_window->attached_height) { - - wl_surface_attach(wl_egl_window->surface, NULL, 0, 0); - wl_surface_commit(wl_egl_window->surface); - } - wl_display_flush(wayland_egl_display->wl_dpy); wl_display_dispatch_queue_pending(wayland_egl_display->wl_dpy, wayland_egl_display->wl_tbm_event_queue); -- 2.7.4