History log of /hardware/msm7k/libgralloc-qsd8k/allocator.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f5a83a9c024dee0617dbc3dab98cd307e8d54665 22-Apr-2010 Jamie Gennis <jgennis@google.com> Refactor the qsd8k gralloc implementation.

The purpose of this change is to add support for allocating gralloc buffers
from either /dev/pmem or /dev/pmem_adsp depending on the usage flags. It does
this by factoring out and abstracting the interactions with the pmem device.
For /dev/pmem allocations, the kernel allocator is not used, so a single master
fd is opened, and all the allocations are sub-allocated from that by gralloc.
For /dev/pmem_adsp the kernel allocator is used, so it simply opens a new fd
for each allocation.

A very basic unit test that can be run on the host is included. It requires
gtest, so to run it on a host system gtest must (currently) be compiled with
BUILD_WITH_ASTL=true.

Change-Id: If2ae0151698fad8107e18e808a3fa012a846263f
/hardware/msm7k/libgralloc-qsd8k/allocator.h
79c9ceea6ec3ac708ec7e27ab3af54ffdaf9338f 19-Aug-2009 Mathias Agopian <mathias@google.com> make gralloc-qsd8k closer to the generic gralloc so it's easier to maintain
/hardware/msm7k/libgralloc-qsd8k/allocator.h
0235ebcc09fe10371788dfcefa4e3f12de3783e4 05-Aug-2009 Dima Zavin <dima@android.com> qsd8k: add gralloc for 8k

Signed-off-by: Dima Zavin <dima@android.com>
/hardware/msm7k/libgralloc-qsd8k/allocator.h