History log of /hardware/libhardware/modules/gralloc/mapper.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f96b2064d7753af7ab75f05eff9559f401e1a4ad 15-Dec-2009 Mathias Agopian <mathias@google.com> remove all references to pmem and simplify the lock/unlock hooks

this gralloc module is only used on the emulator or without a h/w
renderer. therefore there is no synchronization to do in lock/unlock
and pmem buffers are not relevant.

hopefully this will remove some of the confusion about how gralloc
should be implemented and make it more obvious that this implementation
is not intended to be used by h/w renderers.
/hardware/libhardware/modules/gralloc/mapper.cpp
05eacf533eb90f79f4af43e9cf86cdb3817a00ca 14-Jul-2009 Mathias Agopian <mathias@google.com> better logs
/hardware/libhardware/modules/gralloc/mapper.cpp
bd80b38f2945ac918f66fb336c149b28b9dd030e 08-Jul-2009 Mathias Agopian <mathias@google.com> more fixes for [1965730]. We now free (unmap) both ashmem and pmem regions.
/hardware/libhardware/modules/gralloc/mapper.cpp
a4b587cb063dfd1b11f0006b0149e5e3045cc873 07-Jul-2009 Marco Nelissen <marcone@google.com> Simulator build fixes for the new GL stuff. The simulator still doesn't run, but at least it builds.
/hardware/libhardware/modules/gralloc/mapper.cpp
8c4ab1fa14cc13c324bde91c0271f9ab5f4663d3 12-Jun-2009 Mathias Agopian <mathias@google.com> pmem allocator in gralloc. enabled for all surfaces. currently it uses a lot more address space than needed.
/hardware/libhardware/modules/gralloc/mapper.cpp
5115665397e5f5be5a5d464bc22b70b023d243d9 10-Jun-2009 Mathias Agopian <mathias@google.com> with the new lock/unlock API we don't really mean reference counting on mmap/munmap because we're guaranteed to map the buffers only once within a process.

no need to track all handles anymore, which simplifies the code a lot.
/hardware/libhardware/modules/gralloc/mapper.cpp
82f7c041552e52b7e6eb44d9f7e99959599c2da4 04-Jun-2009 Mathias Agopian <mathias@google.com> suppress spurious debug log
/hardware/libhardware/modules/gralloc/mapper.cpp
485e69809aef8bf301b6bf19c03dc2d7693aaa1a 06-May-2009 Mathias Agopian <mathias@google.com> better documentation and implementation for lock/unlock
/hardware/libhardware/modules/gralloc/mapper.cpp
988b8bd553180e8d71b4028ecb721f46312efe62 04-May-2009 Mathias Agopian <mathias@google.com> lock will now return the vaddr of the buffer. map/umap are gone.

- make sure to return an error if a buffer is locked twice or unlocked while not locked.
- added registerBuffer() and unregisterBuffer() to the gralloc module so that we can do some cleanup when a buffer is no longer needed. this became necessary after we removed map/unmap so we have a place to unmap buffers without the need of a kernel module.
- change the constants for GRALLOC_USAGE_SW_{READ|WRITE}_NEVER to 0, so that NOT specifying them means "NEVER".
/hardware/libhardware/modules/gralloc/mapper.cpp
a8a75166a2d3c7639a7432a67075c98796165206 10-Apr-2009 Mathias Agopian <mathias@google.com> Integrate from //sandbox/mathias/donut/...@145728

SurfaceFlinger rework for new EGL driver model support.
/hardware/libhardware/modules/gralloc/mapper.cpp