mesa/src/egl
Lepton Wu f4ba31ff50 egl/android: Remove our own reference to buffers.
We currently doesn't maintain it correctly and the buffer gets leaked if
surface is destroyed before calling swapping buffers.

From Android frameworks/native/libs/nativewindow/include/system/window.h:

  The window holds a reference to the buffer between dequeueBuffer and
  either queueBuffer or cancelBuffer, so clients only need their own
  reference if they might use the buffer after queueing or canceling it.

v2: Remove our own reference.

Fixes: 0212db3504 ("egl/android: Cancel any outstanding ANativeBuffer in surface destructor")

Reviewed-by: Chia-I Wu <olvaffe@gmail.com> (v1)
Reviewed-By: Tapani Pälli <tapani.palli@intel.com>
Signed-off-by: Lepton Wu <lepton@chromium.org>
2019-10-21 07:50:31 +00:00
..
drivers egl/android: Remove our own reference to buffers. 2019-10-21 07:50:31 +00:00
generate egl: Include stddef.h in generated source 2019-10-09 13:16:38 -07:00
main Revert "egl: Fixes transparency with EGL and X11." 2019-10-18 18:41:51 +00:00
wayland egl/wayland: Add FP16 format support 2019-09-20 19:10:31 +00:00
Android.mk egl: add EGL_platform_device support 2019-06-05 13:35:21 -04:00
egl-entrypoint-check.py egl: rewrite entrypoints check 2019-07-10 11:27:51 +00:00
egl-glvnd-symbols.txt egl: add glvnd symbols check 2019-07-10 11:27:51 +00:00
egl-symbols.txt egl: use new symbols check script 2019-07-10 11:27:51 +00:00
Makefile.sources egl: drop empty eglfallbacks.c 2019-06-25 06:36:54 +00:00
meson.build meson: rename glvnd_missing_pc_files to not glvnd_has_headers_and_pc_files 2019-10-10 22:18:04 +01:00
SConscript drm-uapi: use local files, not system libdrm 2019-02-14 11:20:00 +00:00