summaryrefslogtreecommitdiffstats
path: root/modules/gralloc/framebuffer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* gralloc: let target configure page flipping ioctlBernhard Rosenkraenzer2014-06-021-1/+13
| | | | | | | | | | | | | Let vendor choose which framebuffer ioctl (FBIOPUT_VSCREENINFO or FBIOPAN_DISPLAY) is best suited to do page-flip on its target platform. Neither API is well documented about their usage and most of the time it really depends on the respective framebuffer driver implementation. * Default ioctl to do page-flip is FBIOPUT_VSCREENINFO. * Set "TARGET_USE_PAN_DISPLAY=true" in board config file to use FBIOPAN_DISPLAY. Change-Id: Ic3a50bd0f5fe37ac0149e11649c4abdadea85529 Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
* gralloc: dont hardcode 32bpp as RGBXBernhard Rosenkraenzer2014-02-211-1/+1
| | | | | | | Not every 32bpp is in RGBX format. Change-Id: Ic3c6a0cbf475bff2fe2fc4b023c6bc58e4fc295e Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
* 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>
* | 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
* | 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
* Remove workarounds for buggy /dev/fb0 driversJean-Baptiste Queru2011-06-061-23/+0
| | | | Change-Id: Ideadd5f39693d05cf29a81d9f87ed804d7e52380
* Allow to force 16bpp when 32bpp has problemsJean-Baptiste Queru2011-03-311-0/+18
| | | | | | Bug: 4197654 Change-Id: Icf1e8793d6a4d2e070a8f232efd4136d79339496
* 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-141-0/+5
| | | | | | | | | | 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
* remove all references to pmem and simplify the lock/unlock hooksMathias Agopian2009-12-151-12/+1
| | | | | | | | | | 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.
* split gralloc_priv.h and make sure it is C friendlyMathias Agopian2009-08-181-0/+1
|
* generic gralloc HAL doesn't need to support partial updates using msm7k ↵Mathias Agopian2009-07-151-13/+0
| | | | specific ioctl.
* automatically detect update-on-demandMathias Agopian2009-07-131-6/+4
|
* 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-071-0/+3
| | | | 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.
* with the new lock/unlock API we don't really mean reference counting on ↵Mathias Agopian2009-06-091-3/+6
| | | | | | 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.
* better documentation for (*setUpdateRect)()Mathias Agopian2009-05-071-0/+5
|
* 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-041-8/+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".
* Integrate from //sandbox/mathias/donut/...@145728Mathias Agopian2009-04-101-0/+356
SurfaceFlinger rework for new EGL driver model support.