summaryrefslogtreecommitdiff
path: root/apps/mudraw.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2013-01-10 20:19:20 +0000
committerRobin Watts <robin.watts@artifex.com>2013-01-11 15:19:34 +0000
commitf30db116a89652de0da03e27513753f0e432fd1a (patch)
tree91886a9cdfc9ead7acdefa86b5a7b7e876e3e894 /apps/mudraw.c
parent57c0f109b4c0d13813ca6cbc463468b503f91048 (diff)
downloadmupdf-f30db116a89652de0da03e27513753f0e432fd1a.tar.xz
Bug 693546: Improve Bitmap recycling in Android app.
Thanks to Andre Ferreira for bringing this up and submitting a patch. (Andre should have &eacute, but this upsets git/my editor, sorry!) Change BitmapHolder handling so that we explicitly recycle bitmaps. Old versions of Android need this to avoid bitmaps 'sticking' in memory, and it doesn't hurt on new versions. Also, explicitly empty the bitmap holder before creating a new bitmap. This avoids us holding more than one copy of the (potentially large) bitmaps.
Diffstat (limited to 'apps/mudraw.c')
0 files changed, 0 insertions, 0 deletions