History log of /hardware/libhardware/modules/gralloc/gralloc.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bd9860160a3004b769f2de9e435fb051d4fbb775 01-Oct-2015 Nicolas Capens <capn@google.com> Adjust gralloc to SwiftShader's requirements.

SwiftShader processes 2x2 tiles of pixels simultaneously.
4 bytes of padding are required for reading 4-byte pixels in 8-byte chunks.

Change-Id: Ieb73df07859251cd0e5a649f9f3f16a318276e28
/hardware/libhardware/modules/gralloc/gralloc.cpp
e69efbbabf26569ddd0ca12dda44d830a251a07f 06-Mar-2015 Eino-Ville Talvala <etalvala@google.com> Replace/rename old HAL graphics formats

- Replace RAW_SENSOR with RAW16
- Remove sRGB formats

Change-Id: Ic5c44878c638c3d3559495ea5685e10fcc2c39e1
/hardware/libhardware/modules/gralloc/gralloc.cpp
febaaa937f2bb08197ab5636afce210028357888 06-Feb-2014 Colin Cross <ccross@android.com> gralloc: fix warnings

Fix LP64 pointer casting warnings, unused parameters, and
turn off missing initializer warnings.

Change-Id: Idb70f4534282fed64ae81cb1e154d3f5b93091b0
/hardware/libhardware/modules/gralloc/gralloc.cpp
bae5cf92cfa9e2867af91057265df7f029f7865e 22-Nov-2013 The Android Open Source Project <initial-contribution@android.com> Merge commit 'c9940a2bfe94dbe2ef3bfe5e8692bf4e3cea5ba0' into HEAD
6abbed50934dab5d73cd9e06086e37ac8d87ef18 07-Nov-2013 synergy dev <synergye@codefi.re> gralloc: do not use GNU old-style field designators

Avoiding the use of gnu extensions improves code portability

Change-Id: Icf8e3d4813bcddff40548bb5e65e615f8697b75c
/hardware/libhardware/modules/gralloc/gralloc.cpp
ba9c8badb7683f76eaa3f40f3b930410682bab69 27-Jul-2013 Mathias Agopian <mathias@google.com> get rid of HAL pixelformats 5551 and 4444

Change-Id: I196ee30ed57707ed4cc46fb3a9c5c07c5bac6fff
/hardware/libhardware/modules/gralloc/gralloc.cpp
984272d92e40941f3d140f2cecb5f05986ac66b1 13-Apr-2012 Eino-Ville Talvala <etalvala@google.com> Add RAW_SENSOR to gralloc sample

Change-Id: I0621bd70896385c3d522d283a1be714f5f29df3b
/hardware/libhardware/modules/gralloc/gralloc.cpp
60d056bf2926357260592409dee31374fa8e301b 08-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/157220

Bug: 5449033
Change-Id: I0cbe865d464a37365fa3be84948b07e5a0d181d0
/hardware/libhardware/modules/gralloc/gralloc.cpp
9da751bbf7cc6db4a0156b92bb1d3ae585bcdf32 16-Feb-2010 Mathias Agopian <mathias@google.com> fix [2444483] gralloc size for YUV formats
/hardware/libhardware/modules/gralloc/gralloc.cpp
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.cpp
ed04f7871bab3cb07e47e42fe4d9ebe5b02281a2 09-Aug-2009 Mathias Agopian <mathias@google.com> don't memset ashmem region, especially before they're mmapped
/hardware/libhardware/modules/gralloc/gralloc.cpp
7d512e3dc37cc921a3e0e541a0476a4168310ecc 08-Aug-2009 Mathias Agopian <mathias@google.com> add support for RGBX_8888
/hardware/libhardware/modules/gralloc/gralloc.cpp
e83629abb995cfdc49c0cd2ced2456c8eb41e73e 08-Aug-2009 Mathias Agopian <mathias@google.com> make sure to clear surface's buffers when they are allocated
/hardware/libhardware/modules/gralloc/gralloc.cpp
15c9d3af0d8bfb8afe6fb89b420746a139336f0f 17-Jul-2009 Marco Nelissen <marcone@google.com> Fix the simulator build.
/hardware/libhardware/modules/gralloc/gralloc.cpp
3e1f89bcca78fb5175043c76ff5a9310fae91829 17-Jul-2009 Mathias Agopian <mathias@google.com> fix [1980202] Surfaceflinger crash with transparent rollo on firestone

we now automatically size the pmem region isntead of using hardcoded values
/hardware/libhardware/modules/gralloc/gralloc.cpp
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.cpp
440d4e4741a2641173b44bd9b810c9a4960206c2 08-Jul-2009 Mathias Agopian <mathias@google.com> for [1965730], give a better name to gralloc buffers
/hardware/libhardware/modules/gralloc/gralloc.cpp
85ce19a4d3d3204cb9829dd74ac5bc2ba28ea654 08-Jul-2009 Mathias Agopian <mathias@google.com> fix [1965730] Device always give force close screen and completely unusable in Éclair build ERC07,rebooted automatically
/hardware/libhardware/modules/gralloc/gralloc.cpp
bfc010a750eb091017e370640d5c1644d671c7e4 07-Jul-2009 Mathias Agopian <mathias@google.com> better fix for gralloc on sim
/hardware/libhardware/modules/gralloc/gralloc.cpp
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.cpp
3d6ddfe77133198f48f0670d93172ee67d5b5ea7 07-Jul-2009 Mathias Agopian <mathias@google.com> fix [1964228] emulator crash with the new GL

gralloc didn't keep the error state properly, so after the first pmem allocation failure, it would systematically fail without reverting to ashmem.
/hardware/libhardware/modules/gralloc/gralloc.cpp
14784235ab872002e59a26a5c0f5b7edcf6ead4f 03-Jul-2009 Mathias Agopian <mathias@google.com> make sure to UNSLAP pmem buffers when they're destroyed/freed, as the client could still have them mmapped
/hardware/libhardware/modules/gralloc/gralloc.cpp
8bf1f752686a228256e2f3c29a374d76f42b126b 26-Jun-2009 Mathias Agopian <mathias@google.com> add support for YUV formats
/hardware/libhardware/modules/gralloc/gralloc.cpp
31802ca9c030b8f9a137f32826e9c9a76d0d6e17 20-Jun-2009 Mathias Agopian <mathias@google.com> fallback to ashmem when pmem is not availlable
/hardware/libhardware/modules/gralloc/gralloc.cpp
ed93e8b392e66e2a822f8b30ee7cefecd1036472 17-Jun-2009 Mathias Agopian <mathias@google.com> suppress debug log
/hardware/libhardware/modules/gralloc/gralloc.cpp
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.cpp
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.cpp
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.cpp
c3ce41d319fdb2b867f5f45783ced0276f723d01 15-Apr-2009 Mathias Agopian <mathias@google.com> don't automatically unmap buffers when they're freed

this is in preparation to an api change wrt gralloc map/unmap
/hardware/libhardware/modules/gralloc/gralloc.cpp
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.cpp