mesa/src/egl
Juan A. Suarez Romero 54a9622dd5 egl/wayland: do not leak wl_buffer when it is locked
If color buffer is locked, do not set its wayland buffer to NULL;
otherwise it can not be freed later.

Rather, flag it in order to destroy it later on the release event.

v2: instruct release event to unlock only or free wl_buffer too (Daniel)

This also fixes dEQP-EGL.functional.swap_buffers_with_damage.* tests.

CC: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Daniel Stone <daniels@collabora.com>
2018-08-31 16:29:36 +02:00
..
drivers egl/wayland: do not leak wl_buffer when it is locked 2018-08-31 16:29:36 +02:00
generate egl: Add dma_buf_import_modifiers for glvnd 2017-08-21 12:13:50 +01:00
main egl: implement EXT_surface_SMPTE2086_metadata and EXT_surface_CTA861_3_metadata 2018-08-20 09:44:53 +03:00
wayland autoconf: stop exporting internal wayland details 2018-08-07 17:23:17 +01:00
.gitignore egl: add gitignore 2017-04-22 00:42:38 +01:00
Android.mk egl: drop unused _EGL_BUILT_IN_DRIVER_DRI2 2018-08-23 14:47:59 +01:00
egl-entrypoint-check check: add support for running test as standalone 2017-02-26 13:39:45 +00:00
egl-symbols-check *-symbol-check: use correct nm path when cross-compiling 2018-02-26 13:50:59 +00:00
Makefile.am Revert "configure: allow building with python3" 2018-08-24 11:14:15 +01:00
Makefile.sources egl: remove suprous header eglcompiler.h 2017-05-08 15:33:59 +01:00
meson.build egl: drop unused _EGL_BUILT_IN_DRIVER_DRI2 2018-08-23 14:47:59 +01:00
SConscript egl: Use the canonical drm-uapi fourcc header to avoid local defines. 2018-07-18 10:37:54 -07:00