811677e68d8507efe47591dc6c2f3de7ff5dce53 |
|
30-Jan-2015 |
Lajos Molnar <lajos@google.com> |
gralloc: clarify lock_ycbcr in light of multimedia codec usage Bug: 19179927 Change-Id: I53886f8d1a3a998b958f031b04ddd4cbf19aad2c
/hardware/libhardware/include/hardware/gralloc.h
|
8931ce18e546fc80d6249f6d772865a73007e1ee |
|
09-Jul-2014 |
Greg Hackmann <ghackmann@google.com> |
gralloc: add GRALLOC_USAGE_CURSOR flag On many devices, hardware cursors have stricter layout constraints than other overlays. GRALLOC_USAGE_CURSOR indicates a buffer may be used as a cursor; byte order and padding should be chosen accordingly. GRALLOC_USAGE_CURSOR must not cause allocation failure. If the requested properties (dimensions, format, other usage flags, etc.) aren't compatible with the device's cursor hardware, the implementation must allocate the buffer anyway, acting as if GRALLOC_USAGE_CURSOR were not specified. Change-Id: I7d66e8d7c953421d996c5def3257d408f91962f4 Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/libhardware/include/hardware/gralloc.h
|
2e49f9acbb1039a8388b070332a5e2f35cd35343 |
|
01-Apr-2014 |
Francis Hart <fhart@nvidia.com> |
gralloc: Add asynchronous lock/unlock API The existing API exposed to clients for software lock/unlock forces the gralloc implementation to complete these operations synchronously. This change adds new entry points for lock/unlock functionality that is suited for use with Android's explicit synchronisation concept. This provides scope for the gralloc module to internally optimise the work it must do for lock/unlock and to hide this cost from the client. Change-Id: If4b1bb5490ab2b20d796214a7da8a96427cfe52d
/hardware/libhardware/include/hardware/gralloc.h
|
fd9dc630272d80eeb437ac955263fe11db4efb10 |
|
09-May-2014 |
Greg Hackmann <ghackmann@google.com> |
Revert "gralloc: Add asynchronous lock/unlock API" This reverts commit 2861789f4febe67e39de449488681edf3e98b6e2. Change-Id: I334b8ca9b9fdef510df514c18aabb6a593dfaa75
/hardware/libhardware/include/hardware/gralloc.h
|
2861789f4febe67e39de449488681edf3e98b6e2 |
|
01-Apr-2014 |
Francis Hart <fhart@nvidia.com> |
gralloc: Add asynchronous lock/unlock API The existing API exposed to clients for software lock/unlock forces the gralloc implementation to complete these operations synchronously. This change adds new entry points for lock/unlock functionality that is suited for use with Android's explicit synchronisation concept. This provides scope for the gralloc module to internally optimise the work it must do for lock/unlock and to hide this cost from the client. Change-Id: I6c41f4a532b705fc76c7777b2f04ea293506b381
/hardware/libhardware/include/hardware/gralloc.h
|
22423852817b19245a2134653eef3f71a39cf42a |
|
16-Jul-2013 |
Jason Sams <jsams@google.com> |
Add usage bit for RenderScript. Change-Id: I3ac3dc8e20e94ee885228febdc8eeb66278054cb
/hardware/libhardware/include/hardware/gralloc.h
|
6efab252d59ceff806840111b2e6c0e478d377ae |
|
06-May-2013 |
Eino-Ville Talvala <etalvala@google.com> |
gralloc: Clarify alloc stride for HAL_PIXEL_FORMAT_YCbCr_420_888 Bug: 8734880 Change-Id: I0cca7fd1965e1547991be06b6b18d6302dbe8670
/hardware/libhardware/include/hardware/gralloc.h
|
06e3bf25660a25b417e7a2e146327b35bee5ba00 |
|
20-Mar-2013 |
Alex Ray <aray@google.com> |
gralloc: add lock_ycbcr method This method is meant for locking the flexible YCbCr format documented in the system graphics header. Bug: 8734880 Change-Id: I45ae8937dcc16d0ae8a204a136121f78b4cc51e0
/hardware/libhardware/include/hardware/gralloc.h
|
a7c66429136efe294240ebe96cfe67881514849f |
|
19-Apr-2013 |
Alex Ray <aray@google.com> |
Revert "gralloc: add lock_ycbcr method" This reverts commit baa47f353a318b9f498f093e70d57e4f43f7c345.
/hardware/libhardware/include/hardware/gralloc.h
|
baa47f353a318b9f498f093e70d57e4f43f7c345 |
|
20-Mar-2013 |
Alex Ray <aray@google.com> |
gralloc: add lock_ycbcr method This method is meant for locking the flexible YCbCr format documented in the system graphics header. Change-Id: I98b196bab06f1d05fce725da44760180ce487034
/hardware/libhardware/include/hardware/gralloc.h
|
d6f7aad8de5d122d4189ecc608c749a63de4983d |
|
07-Dec-2012 |
Greg Hackmann <ghackmann@google.com> |
Fix GRALLOC_USAGE_SW_WRITE flag documentation Change-Id: Ie553c521290358bf37c6954f65f790162aa43730 Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/libhardware/include/hardware/gralloc.h
|
7f8dd0ad2d3d40b57c8359971a351fd194668613 |
|
04-Sep-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Revert "Revert "Add reprocess method, redefine gralloc ZSL usage flag"" Missing project ready to go. This reverts commit 536148699beffcc4e6a2ced7c41fbbc3bcfa9886 Change-Id: I101343b443be6febe160685de6d72ddbf7e6aea5
/hardware/libhardware/include/hardware/gralloc.h
|
3b98ffb168119f657befb1e3204183401ef4fd4f |
|
04-Sep-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Revert "Add reprocess method, redefine gralloc ZSL usage flag" More dependent projects than I realized This reverts commit 7fa4a7e706cd8da0a4fd6722ff3b00b8088a01ae Change-Id: I813ffde0f8d602fd6d75186bf82e93c7ffed9a9a
/hardware/libhardware/include/hardware/gralloc.h
|
70d87bf07ecd686a2860980fb8e7d18fb2312dbd |
|
31-Aug-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Add reprocess method, redefine gralloc ZSL usage flag - Camera2: Add allocate_reprocess_stream_from_stream for ZSL usecases - Gralloc: Make GRALLOC_USAGE_HW_CAMERA_ZSL be simply GRALLOC_USAGE_HW_CAMERA_READ | GRALLOC_USAGE_HW_CAMERA_WRITE - Gralloc: Add GRALLOC_USAGE_HW_CAMERA_MASK Change-Id: Icd8ac1f786e3adb6a422f27f03a5a4cb04a815cc
/hardware/libhardware/include/hardware/gralloc.h
|
2388a2dc91979364d96e49456b189f904f0267f3 |
|
28-Aug-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Camera2: Use HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED Align camera2's management of platform-opaque formats with rest of framework. Instead of using CAMERA2_PIXEL_FORMAT_OPAQUE, use HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED as the format for both the camera HAL and for gralloc, and depend on the gralloc usage flags to let the gralloc module select the appropriate real format for specific stream endpoints. Add a new gralloc usage for ZSL mode, where the camera service will hold a streaming circular buffer of opaque full-resolution images during camera preview. Since this is an opaque format that needs to be optimized for 30fps operation, need gralloc to be aware of this use case. Bug: 6243944 Change-Id: If7f2516649381ce9bcffe4e319b63cbc068f643f
/hardware/libhardware/include/hardware/gralloc.h
|
7797d75b12a90cd03a47642c59dbb677aa4daa88 |
|
16-Jul-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Add camera gralloc usage flags. GRALLOC_USAGE_HW_CAMERA_WRITE is for camera outputs in the new camera HAL. GRALLOC_USAGE_HW_CAMERA_READ is for sending previously captured camera data back into the camera pipeline for further processing. For example, for converting a raw sensor image into YUV or JPEG data. Bug: 6243944 Change-Id: If9011ec320a1a804f3337704243ed7fc410fec91
/hardware/libhardware/include/hardware/gralloc.h
|
bb56a1007d80ef8165493395ac8c9b0bf05a435f |
|
30-Nov-2011 |
Glenn Kasten <gkasten@google.com> |
Fix typo in gralloc.h Change-Id: I8d989b21e10e19ae4124188f02ef84eeabdb4654
/hardware/libhardware/include/hardware/gralloc.h
|
29ead941b377cb87bcc7fe48208b96d84d649d43 |
|
22-Nov-2011 |
Jamie Gennis <jgennis@google.com> |
Gralloc: add a usage bit for video encoding This change adds a new Gralloc usage bit to indicate that a buffer will be passed to the HW video encoder. Change-Id: I75c3fc514906e5b18fb60345a2d9c5a606403633
/hardware/libhardware/include/hardware/gralloc.h
|
4b560d5563ee4699cd24938c2f13b4a416408273 |
|
10-Aug-2011 |
Jamie Gennis <jgennis@google.com> |
Gralloc: add a HWComposer usage bit This change adds a new Gralloc usage bit to indicate that the Gralloc buffer being allocated will be passed to the HWComposer HAL module. Change-Id: If901f886cb22fc8379811898db3a380a61c0e442
/hardware/libhardware/include/hardware/gralloc.h
|
5337b102898cfd48eda7215df15baaf3bc96521f |
|
29-Apr-2011 |
Mathias Agopian <mathias@google.com> |
split fb.h out of gralloc.h fb and gralloc are part of the same HAL for now, but for clarity we split them into these two headers. Change-Id: I8e9e3068e47f0d94dd7c145d72fdc2e9fff24af5
/hardware/libhardware/include/hardware/gralloc.h
|
33c0fe022e166007547d9c7390e7e6dbba5122e7 |
|
03-May-2011 |
Iliyan Malchev <malchev@google.com> |
libhardware: move buffer_handle_t to system/core Change-Id: I2ed9ff7360086bc3458b2211437c102fee615481 Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/libhardware/include/hardware/gralloc.h
|
ef1ab51f163ec199b044210128908a56a1d969de |
|
14-Apr-2011 |
Iliyan Malchev <malchev@google.com> |
libhardware: minor cleanup in gralloc.h Change-Id: I2180725805e47d313e29ed80b4c9c05e06b77831 Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/libhardware/include/hardware/gralloc.h
|
53b8af5e9ccb7ab9b48b223d4efde9096890fd6a |
|
29-Apr-2011 |
Mathias Agopian <mathias@google.com> |
get rid of GRALLOC_MODULE_PERFORM_CREATE_HANDLE_FROM_BUFFER Change-Id: I916812dcfa2e1188e7e249303b80b7b221de71fd
/hardware/libhardware/include/hardware/gralloc.h
|
97c7c40b73329ee86ce2abe5c320dd82d117ea14 |
|
19-Apr-2011 |
Mathias Agopian <mathias@google.com> |
add a method to blank/unblank the screen Change-Id: I3874654248826c29e57bb62bb5217184bdfb4263
/hardware/libhardware/include/hardware/gralloc.h
|
7cb277a5c26447df01196bb19650235603062e93 |
|
20-Jan-2011 |
Glenn Kasten <gkasten@google.com> |
Protected surface API Change-Id: I63a16e77228b4a440ad08b9f21d8fbbacef3698e
/hardware/libhardware/include/hardware/gralloc.h
|
158549c89405186d9ecaefd3811cfae3949056ee |
|
02-Dec-2010 |
Erik Gilling <konkers@android.com> |
gralloc: add dump hooks to gralloc/hwcomposer Change-Id: I27bf46103b4d1d547c42a6de4f3270a6dfd7b7ec
/hardware/libhardware/include/hardware/gralloc.h
|
e99520400f228e45b1feff28eb4105b8e5599196 |
|
08-Dec-2010 |
Erik Gilling <konkers@android.com> |
gralloc: add padding to alloc_device_t and hwc_composer_device_t also adds version #defines Change-Id: I89f19fc7811ea9c9efb579a9f6abb4c3d9011bbf
/hardware/libhardware/include/hardware/gralloc.h
|
7edeaf91a8d066e6797f875451f8aa9e9a4682f6 |
|
18-Nov-2010 |
Jamie Gennis <jgennis@google.com> |
Add a gralloc usage flag for external displays. This change adds a gralloc usage flag to indicate that a buffer should be displayed full-screen on an external display if one is present. Change-Id: I3230a8dd2c49c89c81bf0ee9e646a448028bda2e
/hardware/libhardware/include/hardware/gralloc.h
|
95d78bef32edd183fb8c16b7775bf0a069948420 |
|
02-Jul-2010 |
Jamie Gennis <jgennis@google.com> |
Add 4 private gralloc usage bits. The private gralloc usage bits can be used to specify device-specific allocation requirements. Change-Id: Idc4fbdd3dd7b71767143cf3df5886dfaf43e50a4
/hardware/libhardware/include/hardware/gralloc.h
|
aabb70292351f231bfd4daae8b73edb788eeba1a |
|
02-Jul-2010 |
Jamie Gennis <jgennis@google.com> |
Fix a typo in the GRALLOC_USAGE_HW_2D constant. Change-Id: I3de500455715298765b2e27bc8c59e2ec6c7a34f
/hardware/libhardware/include/hardware/gralloc.h
|
cd2433f3804a537aedc26f595b1c05f95a05244a |
|
30-Oct-2009 |
Mathias Agopian <mathias@google.com> |
fix[2222341] Soft reset while going back from camcorder settings add a way to convert a mapped "pushbuffer" buffer to a gralloc handle which then can be safely used by surfaceflinger
/hardware/libhardware/include/hardware/gralloc.h
|
8255d9d3b62ddf90269ddbb54e6f92b29908fa75 |
|
18-Sep-2009 |
Mathias Agopian <mathias@google.com> |
Android side of the fix for [2121211] Sholes has stutter during animations a new method, compostionComplete() is added to the framebuffer hal, it is used by surfaceflinger to signal the driver that the composition is complete, BEFORE it releases its client. This gives a chance to the driver to perfrom the proper synchronization.
/hardware/libhardware/include/hardware/gralloc.h
|
9d82c1a447a72a2c086b9cd34c5b73b163d7acbc |
|
19-Aug-2009 |
Mathias Agopian <mathias@google.com> |
add typedefs to gralloc and hardware.h so it's more C friendly
/hardware/libhardware/include/hardware/gralloc.h
|
f5cf8f842a5736281098ef1f8f837ab688b35707 |
|
08-May-2009 |
Mathias Agopian <mathias@google.com> |
better documentation for (*setUpdateRect)()
/hardware/libhardware/include/hardware/gralloc.h
|
485e69809aef8bf301b6bf19c03dc2d7693aaa1a |
|
06-May-2009 |
Mathias Agopian <mathias@google.com> |
better documentation and implementation for lock/unlock
/hardware/libhardware/include/hardware/gralloc.h
|
295190f426a209cf08a21476f15e0e281db6fcb5 |
|
06-May-2009 |
Mathias Agopian <mathias@google.com> |
get rid of unused/needed flags
/hardware/libhardware/include/hardware/gralloc.h
|
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/include/hardware/gralloc.h
|
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/include/hardware/gralloc.h
|