summaryrefslogtreecommitdiffstats
path: root/modules/gralloc
Commit message (Collapse)AuthorAgeFilesLines
...
* fix [1965730] Device always give force close screen and completely unusable ↵Mathias Agopian2009-07-071-0/+6
| | | | in Éclair build ERC07,rebooted automatically
* better fix for gralloc on simMathias Agopian2009-07-071-10/+14
|
* Merge change 6375Android (Google) Code Review2009-07-071-1/+5
|\ | | | | | | | | * changes: Fix build on some linux distros.
| * Fix build on some linux distros.Andy McFadden2009-07-071-1/+5
| | | | | | | | | | | | | | 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.
* | fix [1965734] Screen flickers a lot [Sholes]Mathias Agopian2009-07-071-10/+9
|/
* Simulator build fixes for the new GL stuff. The simulator still doesn't run, ↵Marco Nelissen2009-07-074-3/+25
| | | | but at least it builds.
* workaroud [1964234] emulator renders funny with new gralloc.Mathias Agopian2009-07-061-0/+10
| | | | we detect we're running on the emu (using a very bad heuristic, see 1964251) and switch UPDATE_ON_DEMAND off.
* fix [1964228] emulator crash with the new GLMathias Agopian2009-07-061-2/+2
| | | | gralloc didn't keep the error state properly, so after the first pmem allocation failure, it would systematically fail without reverting to ashmem.
* make sure to UNSLAP pmem buffers when they're destroyed/freed, as the client ↵Mathias Agopian2009-07-021-21/+48
| | | | could still have them mmapped
* add support for YUV formatsMathias Agopian2009-06-251-18/+38
|
* copybit now uses a native_handle_t* instead of a fd/offsetMathias Agopian2009-06-241-0/+2
|
* fallback to ashmem when pmem is not availlableMathias Agopian2009-06-191-2/+17
|
* suppress debug logMathias Agopian2009-06-161-1/+1
|
* pmem allocator in gralloc. enabled for all surfaces. currently it uses a lot ↵Mathias Agopian2009-06-166-41/+448
| | | | more address space than needed.
* add an offset field to gralloc handles so the framebuffer can work with copybitMathias Agopian2009-06-102-3/+5
|
* with the new lock/unlock API we don't really mean reference counting on ↵Mathias Agopian2009-06-093-306/+78
| | | | | | 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.
* suppress spurious debug logMathias Agopian2009-06-031-3/+3
|
* better documentation for (*setUpdateRect)()Mathias Agopian2009-05-071-0/+5
|
* better documentation and implementation for lock/unlockMathias Agopian2009-05-052-29/+77
|
* get rid of unused/needed flagsMathias Agopian2009-05-051-1/+1
|
* lock will now return the vaddr of the buffer. map/umap are gone.Mathias Agopian2009-05-044-64/+151
| | | | | | - 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".
* don't automatically unmap buffers when they're freedMathias Agopian2009-04-141-2/+2
| | | | this is in preparation to an api change wrt gralloc map/unmap
* Integrate from //sandbox/mathias/donut/...@145728Mathias Agopian2009-04-105-0/+1143
SurfaceFlinger rework for new EGL driver model support.