mesa/src
Tomasz Figa 9e1248d075 egl/android: Stop leaking DRI images
Current implementation of the DRI image loader does not free the images
created in get_back_bo() and so leaks memory. Moreover, it creates a new
image every time the DRI driver queries for buffers, even if the backing
native buffer has not changed. leaking memory again.

This patch adds missing call to destroyImage() in droid_enqueue_buffer()
and a check if image is already created to get_back_bo() to fix the
above.

Cc: "11.2 12.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Tomasz Figa <tfiga@chromium.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
2016-07-20 15:48:54 +01:00
..
compiler nir: Fix uninitialized use of 'replacement'. 2016-07-19 17:34:59 -07:00
egl egl/android: Stop leaking DRI images 2016-07-20 15:48:54 +01:00
gallium gallium/dri: Add shared glapi to LIBADD on Android 2016-07-20 15:10:33 +01:00
gbm gbm: Fix comments 2016-06-23 13:55:03 -07:00
getopt
glx glx: Fix for commit 2c86668694. 2016-07-08 16:46:17 -07:00
gtest Remove wrongly repeated words in comments 2016-06-23 13:55:03 -07:00
hgl
intel compiler: Rename INTERP_QUALIFIER_* to INTERP_MODE_*. 2016-07-17 19:26:48 -07:00
loader Android: move libdrm settings to top-level Android.common.mk 2016-06-13 15:31:29 +01:00
mapi mapi: Export all GLES 3.1 functions in libGLESv2.so 2016-06-29 14:28:59 -07:00
mesa i965: store reference to the context within struct brw_fence (v2) 2016-07-20 15:45:20 +01:00
util list: fix list_replace() for empty lists 2016-07-06 10:17:30 -04:00
Makefile.am automake: don't mandate git_sha1.h/MESA_GIT_SHA1 2016-07-05 12:16:20 +01:00
SConscript scons: put the generated git_sha1.h file in top-level src/ directory 2016-06-17 10:33:00 -06:00