summaryrefslogtreecommitdiffstats
path: root/modules/gralloc/gralloc.cpp
Commit message (Collapse)AuthorAgeFilesLines
* gralloc: Correct stride for maguroPaul Kocialkowski2015-12-151-0/+9
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Replace/rename old HAL graphics formatsEino-Ville Talvala2015-03-061-1/+1
| | | | | | | - Replace RAW_SENSOR with RAW16 - Remove sRGB formats Change-Id: Ic5c44878c638c3d3559495ea5685e10fcc2c39e1
* gralloc: fix warningsColin Cross2014-02-051-1/+1
| | | | | | | Fix LP64 pointer casting warnings, unused parameters, and turn off missing initializer warnings. Change-Id: Idb70f4534282fed64ae81cb1e154d3f5b93091b0
* Merge commit 'c9940a2bfe94dbe2ef3bfe5e8692bf4e3cea5ba0' into HEADThe Android Open Source Project2013-11-221-2/+0
|\
| * get rid of HAL pixelformats 5551 and 4444Mathias Agopian2013-07-261-2/+0
| | | | | | | | Change-Id: I196ee30ed57707ed4cc46fb3a9c5c07c5bac6fff
* | gralloc: do not use GNU old-style field designatorssynergy dev2013-11-061-20/+20
|/ | | | | | Avoiding the use of gnu extensions improves code portability Change-Id: Icf8e3d4813bcddff40548bb5e65e615f8697b75c
* Add RAW_SENSOR to gralloc sampleEino-Ville Talvala2012-05-071-0/+1
| | | | Change-Id: I0621bd70896385c3d522d283a1be714f5f29df3b
* Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-081-2/+2
| | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: I0cbe865d464a37365fa3be84948b07e5a0d181d0
* fix [2444483] gralloc size for YUV formatsMathias Agopian2010-02-161-40/+22
|
* remove all references to pmem and simplify the lock/unlock hooksMathias Agopian2009-12-151-170/+10
| | | | | | | | | | 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.
* don't memset ashmem region, especially before they're mmappedMathias Agopian2009-08-081-1/+1
|
* add support for RGBX_8888Mathias Agopian2009-08-071-0/+4
|
* make sure to clear surface's buffers when they are allocatedMathias Agopian2009-08-071-0/+1
|
* Fix the simulator build.Marco Nelissen2009-07-171-0/+4
|
* fix [1980202] Surfaceflinger crash with transparent rollo on firestoneMathias Agopian2009-07-161-3/+16
| | | | we now automatically size the pmem region isntead of using hardcoded values
* more fixes for [1965730]. We now free (unmap) both ashmem and pmem regions.Mathias Agopian2009-07-071-21/+19
|
* for [1965730], give a better name to gralloc buffersMathias Agopian2009-07-071-1/+1
|
* 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
|
* Simulator build fixes for the new GL stuff. The simulator still doesn't run, ↵Marco Nelissen2009-07-071-0/+12
| | | | but at least it builds.
* 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
|
* 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-161-21/+103
| | | | more address space than needed.
* add an offset field to gralloc handles so the framebuffer can work with copybitMathias Agopian2009-06-101-0/+1
|
* lock will now return the vaddr of the buffer. map/umap are gone.Mathias Agopian2009-05-041-35/+17
| | | | | | - 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-101-0/+320
SurfaceFlinger rework for new EGL driver model support.