mesa/src/egl
Juan A. Suarez Romero 552aaefff2 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>
(cherry picked from commit 54a9622dd5)
2018-09-04 23:39:10 +03:00
..
drivers egl/wayland: do not leak wl_buffer when it is locked 2018-09-04 23:39:10 +03:00
generate egl: Add dma_buf_import_modifiers for glvnd 2017-08-21 12:13:50 +01:00
main egl: Fix missing clamping in eglSetDamageRegionKHR 2018-07-24 14:46:21 +01:00
wayland egl: remove wayland-egl now that we're using libwayland-egl 2018-06-06 12:12:01 -07:00
.gitignore egl: add gitignore 2017-04-22 00:42:38 +01:00
Android.mk egl: Use the canonical drm-uapi fourcc header to avoid local defines. 2018-07-18 10:37:54 -07: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 egl: Use the canonical drm-uapi fourcc header to avoid local defines. 2018-07-18 10:37:54 -07:00
Makefile.sources egl: remove suprous header eglcompiler.h 2017-05-08 15:33:59 +01:00
meson.build meson: fix egl build for android 2018-08-24 00:24:37 +03:00
SConscript egl: Use the canonical drm-uapi fourcc header to avoid local defines. 2018-07-18 10:37:54 -07:00