History log of /hardware/libhardware/modules/gralloc/gralloc_priv.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ee4e57e94903f497c936aa23e474e26ba74182c5 16-Dec-2009 Mathias Agopian <mathias@google.com> remove unused code
/hardware/libhardware/modules/gralloc/gralloc_priv.h
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/gralloc_priv.h
fc0541328190d60b3cf6beb72b630e115dc7a2be 19-Aug-2009 Mathias Agopian <mathias@google.com> split gralloc_priv.h and make sure it is C friendly
/hardware/libhardware/modules/gralloc/gralloc_priv.h
876b4e8b84087ad99f499c064758a2660a990e5c 19-Aug-2009 Mathias Agopian <mathias@google.com> integrate this change from the generic gralloc
/hardware/libhardware/modules/gralloc/gralloc_priv.h
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/gralloc_priv.h
f84106910d128885775b1e7b75e451d7d389889c 07-Jul-2009 Andy McFadden <fadden@android.com> Fix build on some linux distros.

The place where the PAGE_SIZE value is defined varies, mostly because
you're not supposed to be using it directly. sysconf(_SC_PAGE_SIZE)
is the approved method, and in fact some Linux distros actually #define
PAGE_SIZE to the library call.
/hardware/libhardware/modules/gralloc/gralloc_priv.h
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/gralloc_priv.h
689fa73c067e1618bbdb62f32c2a34750b8ec48b 25-Jun-2009 Mathias Agopian <mathias@google.com> copybit now uses a native_handle_t* instead of a fd/offset
/hardware/libhardware/modules/gralloc/gralloc_priv.h
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/gralloc_priv.h
72c8508db9c3895a34437a3e780b90ec43a920a2 11-Jun-2009 Mathias Agopian <mathias@google.com> add an offset field to gralloc handles so the framebuffer can work with copybit
/hardware/libhardware/modules/gralloc/gralloc_priv.h
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/gralloc_priv.h
485e69809aef8bf301b6bf19c03dc2d7693aaa1a 06-May-2009 Mathias Agopian <mathias@google.com> better documentation and implementation for lock/unlock
/hardware/libhardware/modules/gralloc/gralloc_priv.h
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/gralloc_priv.h
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/gralloc_priv.h