Add chunk heap, use it for gralloc buffers
authorRebecca Schultz Zavin <rebecca@android.com>
Wed, 9 Jan 2013 23:37:04 +0000 (15:37 -0800)
committerRebecca Schultz Zavin <rebecca@android.com>
Tue, 15 Jan 2013 20:55:27 +0000 (12:55 -0800)
commit88c9cff4734fb44e5b02ead6e45cc8cc163e790a
tree04723fb52a5c90aea48981277ef740b665f15fdc
parent7bfc1ef50251fe84d138cea9c7e8c1c41ded6861
Add chunk heap, use it for gralloc buffers

Rather than allocating buffers solely from system memory
we will now attempt to first allocate them out of a specific
graphics carveout.  If there isn't space for a buffer in the
carveout the system heap will be used instead.

Change-Id: I30844123910209a0201c9462fb4776f123537e50
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
gralloc/gralloc.cpp
include/ion.h
libcamera2/ExynosCameraHWInterface2.cpp