summaryrefslogtreecommitdiff
path: root/gralloc
AgeCommit message (Collapse)AuthorFilesLines
2016-08-16gralloc: Check for page flip capabilities at runtimeChristopher N. Hesse1-32/+46
Change-Id: I68d1721158d1f322f72297cc69de7078226917bc
2016-07-08gralloc: Avoid swapping buffers in background threadsChristopher N. Hesse2-2/+23
Finish all current drawcalls for the composition thread and continue once the operation is complete. Change-Id: I6bc46ae0e6ee7150f7452c170fdb4a5283a0b8ff
2016-07-08gralloc: Implement fb_setSwapintervalChristopher N. Hesse3-5/+97
Change-Id: I01a886ff0fe336d2a582a70491c4f9a3293fda7c
2016-06-29gralloc: Add BGRA_8888 fb format supportChristopher N. Hesse2-1/+10
BGRA offers better GL readback performance over RGBA on ARM Mali GPUs. Change-Id: If397e3509f68a5685d63a3926d21db5faf088a3a
2016-06-29gralloc: Improve map/unmap loggingChristopher N. Hesse1-0/+2
Change-Id: I4ffee430d69a0e64cc3adf6bf6fb986417b9f9f9
2016-06-29gralloc: Define sRGB formatsChristopher N. Hesse1-0/+8
Android M does not define these anymore, but there are blobs around that need them. Change-Id: I81281f6af2e363866447d6217e88937da729a036
2016-06-29Handle sRGB gralloc formats.Jesse Hall1-0/+2
gralloc: recognize and allocate sRGB_{A,X}_8888 hwcomposer: punt sRGB formats to FRAMEBUFFER composition - This would happen already due to the format-supported test, this change just avoids an unrecognized-format log warning from exynos5_format_to_bpp(). Bug: 10134664 Change-Id: I78b7791217cbde28d5bc7d02caf6a955960828ce
2016-03-15gralloc: Enable HWC backed page flippingChristopher N. Hesse1-1/+1
Change-Id: I5449b42adb36d54c93c4b886afa82de635370b46
2015-12-08Lose HAVE_ANDROID_OS from hardware/samsung_slsi/exynos5.Elliott Hughes1-1/+1
Change-Id: I638a8fdc13603448b96cc66e8cc517302ce04936
2015-10-29gralloc: HAL_PIXEL_FORMAT_RAW_SENSOR has been renamed to RAW16Andreas Schneider1-1/+1
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-08-18exynos5430: Correct path for CM variant of SLSI HALsAndreas Schneider1-2/+2
2015-07-08gralloc: Make sure several variables are not used uninitializedAndreas Schneider1-3/+3
2015-07-07gralloc: use BGRA byte order for video encoder targetsGreg Hackmann1-5/+13
Encoder does not recognize RGBA byte order, so refuse to allocate if SW usage flags are set Bug: 10429036 Change-Id: I3b9d0e71566c3565068b7c38c4f9189f4bb93fd0 Signed-off-by: Greg Hackmann <ghackmann@google.com>
2015-07-07gralloc: read the screen res from the framebuffer modes listDima Zavin1-17/+56
Change-Id: Icd69c79b85ec5ce4a4ff444a98afc0da4e5c0a87 Signed-off-by: Dima Zavin <dima@android.com>
2015-07-07gralloc: refcount private_module_tGreg Hackmann1-1/+14
gralloc_open() can be called multiple times in the same process, which led to the existing ion fd leaking on each open; the surviving fd also leaked on close. Refcount the private_module_t to prevent this. Bug: 13633155 Change-Id: I09ac8096fe0101b91b23e7c8d2ee9e11efe29b03 Signed-off-by: Greg Hackmann <ghackmann@google.com>
2015-07-07Remove #include <asm/page.h>.Elliott Hughes1-5/+0
Change-Id: I29a9f289cc053aaf017aa316bc9232885139e0e4
2015-07-07gralloc: use BGRA byte order for framebuffer targetGreg Hackmann1-0/+7
Bug: 10429036 Change-Id: Idac73fd588cca70e075c017af00dd590b14b0c7e Signed-off-by: Greg Hackmann <ghackmann@google.com>
2015-07-07gralloc: register buffers in allocColin Cross4-61/+7
gralloc_alloc was creating buffers with ion_alloc_fd, which results in a dmabuf but no ion handle. This makes it hard to track buffers that are never registered with another process, or ones that are unregistered from their process like the wallpaper. Call gralloc_register_buffer from inside alloc to convert the dmabufs to ion handles, and gralloc_unregister_buffer inside free. gralloc_register_buffer currently unnecissarily maps the buffer as well, which gralloc_lock will do as necessary, so remove the map. gralloc_unregister_buffer will unmap if necesssary, so remove the call to grallocUnmap in gralloc_free. That leaves no callers to grallocUnmap (and there weren't any callers to grallocMap), so remove them and gr.h. Change-Id: I959feb48e6899ba28028c2e17d304ddf76346fd3
2015-07-07Use 64B alignment for RGB buffersBartosz Szatkowski1-1/+2
Change-Id: Idf46c8552223a538ecf9a4bc3516b165275b2eab
2014-08-19Samsung Patch (05/27/2014) - RTM 1.00codewalker5-0/+1087
Change-Id: I013f933ac0a52c4cc1b5e5b550a92b06534a0a34