derekf pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=0ad6c47ec2838d50d17fcb7b026a061043afc3ab

commit 0ad6c47ec2838d50d17fcb7b026a061043afc3ab
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Tue Sep 26 11:39:19 2017 -0500

    efl_wl: Stop queuing buffer release events
    
    This was an optimization that caused more pain than benefit in the
    long term.  Weston no longer does it, so we're just following suit.
---
 src/lib/efl_wl/efl_wl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/efl_wl/efl_wl.c b/src/lib/efl_wl/efl_wl.c
index 8a1a7c2b7c..6be0f3a340 100644
--- a/src/lib/efl_wl/efl_wl.c
+++ b/src/lib/efl_wl/efl_wl.c
@@ -1298,7 +1298,7 @@ comp_surface_buffer_detach(Comp_Buffer **pbuffer)
    wl_list_remove(&buffer->destroy_listener.link);
    //if (buffer->dbg) fprintf(stderr, "BUFFER(%d) RELEASE\n", 
wl_resource_get_id(buffer->res));
    if (buffer->pool) wl_shm_pool_unref(buffer->pool);
-   wl_resource_queue_event(buffer->res, WL_BUFFER_RELEASE);
+   wl_buffer_send_release(buffer->res);
    free(buffer);
    *pbuffer = NULL;
 }

-- 


Reply via email to