summaryrefslogtreecommitdiffstats
path: root/modules/gralloc
Commit message (Collapse)AuthorAgeFilesLines
* gralloc: Correct stride for maguroreplicant-4.2-0004replicant-4.2-0003replicant-4.2-0002replicant-4.2-0001replicant-4.2Paul Kocialkowski2013-12-312-0/+13
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* gralloc: RGB565 framebuffer formatPaul Kocialkowski2013-10-291-1/+36
| | | | | Change-Id: I17dcc28b8bb78a74f227d5e1edcf82e6f69ba242 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Add camera parameters for htc evo 3D. (2/2)Kevin Bruckert2013-04-282-0/+9
| | | | | | Use BOARD_HTC_3D_SUPPORT to enable. Change-Id: I23b668a7a5d88770cbc290940444f55f157630d3
* am 8405fe5a: am 1fbbb08d: Merge "remove seemed useless gralloc_open() call ↵Jean-Baptiste Queru2012-06-121-5/+0
|\ | | | | | | | | | | | | in fb_device_open()" * commit '8405fe5a5203af18f39fd47b35606f0b32cd956c': remove seemed useless gralloc_open() call in fb_device_open()
| * am 1fbbb08d: Merge "remove seemed useless gralloc_open() call in ↵Jean-Baptiste Queru2012-06-121-5/+0
| |\ | | | | | | | | | | | | | | | | | | fb_device_open()" * commit '1fbbb08ddda4321ccdb05345658044c1f0235997': remove seemed useless gralloc_open() call in fb_device_open()
| | * remove seemed useless gralloc_open() call in fb_device_open()suyi Yuan2012-03-151-5/+0
| | | | | | | | | | | | | | | Change-Id: I520e460bd558934c71042b5a4fdb03b3935ad720 Signed-off-by: suyi Yuan <yuan.suyi@gmail.com>
* | | 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-084-7/+7
| | | | | | | | | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: I0cbe865d464a37365fa3be84948b07e5a0d181d0
* | Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGESteve Block2012-01-051-2/+2
| | | | | | | | | | | | | | See https://android-git.corp.google.com/g/157065 Bug: 5449033 Change-Id: I135fadaf10e95af1eb918889a22980c194c650ca
* | Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGESteve Block2012-01-041-2/+2
| | | | | | | | | | | | | | See https://android-git.corp.google.com/g/156801 Bug: 5449033 Change-Id: Ia8b6f74b27098b3dba27f177a76264eb23f849ee
* | Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGESteve Block2012-01-031-2/+2
|/ | | | | | | See https://android-git.corp.google.com/g/156016 Bug: 5449033 Change-Id: I98e83cc9d22f0ea8fbf397ccccd9ce7773119551
* Remove workarounds for buggy /dev/fb0 driversJean-Baptiste Queru2011-06-062-29/+0
| | | | Change-Id: Ideadd5f39693d05cf29a81d9f87ed804d7e52380
* am cb4ea7ac: am 7b584867: am cd347fdf: Allow to force 16bpp when 32bpp has ↵Jean-Baptiste Queru2011-04-052-0/+21
|\ | | | | | | | | | | | | problems * commit 'cb4ea7ac8af7ac0732f480dc4938e62566bd5550': Allow to force 16bpp when 32bpp has problems
| * Allow to force 16bpp when 32bpp has problemsJean-Baptiste Queru2011-03-312-0/+21
| | | | | | | | | | | | Bug: 4197654 Change-Id: Icf1e8793d6a4d2e070a8f232efd4136d79339496
* | hardware/libhardware: remove LOCAL_PRELINK_MODULEIliyan Malchev2011-03-141-2/+2
|/ | | | | Change-Id: I8a0ba7e4c99e334b9789d88b48383439eb7cc780 Signed-off-by: Iliyan Malchev <malchev@google.com>
* gralloc: Add support for 32-bit framebuffers.David 'Digit' Turner2011-01-171-14/+4
| | | | | | | Note: The code under hardware/libhardware/modules/gralloc/ is only used when running the system under the emulator. Change-Id: I022978aeaacc5137c9917cd2ef6952dd3897ece4
* gralloc: Fix division-by-0 during system emulation.David 'Digit' Turner2011-01-151-1/+5
| | | | | | | | This patch avoids a division-by-0 when the system is running under emulation (the kernel driver reports pixclock as 0, for some reason). Which results in a SIGFPE during the boot sequence. Change-Id: Idb6bcdd58999ea9231f2411481c25929d5d02f1d
* Allow disabling page-flipping.Jean-Baptiste Queru2010-10-142-0/+9
| | | | | | | | | | Some devices have low-level bugs in their page-flip. Disabling it at this level gives us more flexibility than trying to control it elsewhere. Bug: 3097357 Change-Id: Icc6ae172264e453bec0680e74a497a2b24299c4a
* fix [2444483] gralloc size for YUV formatsMathias Agopian2010-02-161-40/+22
|
* remove unused codeMathias Agopian2009-12-151-11/+0
|
* remove all references to pmem and simplify the lock/unlock hooksMathias Agopian2009-12-158-637/+45
| | | | | | | | | | 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.
* Remove call to dump_l.Patrick Scott2009-10-291-5/+0
| | | | | This fail to compile without NDEBUG and the following log statement does something similar.
* split gralloc_priv.h and make sure it is C friendlyMathias Agopian2009-08-184-36/+74
|
* integrate this change from the generic grallocMathias Agopian2009-08-181-4/+8
|
* 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-163-15/+46
| | | | we now automatically size the pmem region isntead of using hardcoded values
* generic gralloc HAL doesn't need to support partial updates using msm7k ↵Mathias Agopian2009-07-151-13/+0
| | | | specific ioctl.
* better logsMathias Agopian2009-07-131-2/+2
|
* automatically detect update-on-demandMathias Agopian2009-07-131-6/+4
|
* more fixes for [1965730]. We now free (unmap) both ashmem and pmem regions.Mathias Agopian2009-07-073-22/+56
|
* 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
|
* 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.