History log of /hardware/samsung_slsi/exynos5/gralloc/framebuffer.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8a4849e175ecc8096c1f4f7d83f812a9ef719578 23-Aug-2013 Colin Cross <ccross@android.com> exynos: gralloc: register buffers in alloc

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: I20cf2d50732d018f12779d78582686ca622a332a
/hardware/samsung_slsi/exynos5/gralloc/framebuffer.cpp
9d35e00164820884b0c3922478c09e04f3dd78e9 05-Dec-2012 Dima Zavin <dima@android.com> gralloc/hwc: read the screen res from the framebuffer modes list

Change-Id: Icd69c79b85ec5ce4a4ff444a98afc0da4e5c0a87
Signed-off-by: Dima Zavin <dima@android.com>
/hardware/samsung_slsi/exynos5/gralloc/framebuffer.cpp
2480eccc3025c1a888e233e2ffbd3c098395de15 15-Aug-2012 Rebecca Schultz Zavin <rebecca@android.com> Move gralloc from vendor to here

Change-Id: I47bca624cfcbeaeb67321e17a2f755785da16aa5
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
/hardware/samsung_slsi/exynos5/gralloc/framebuffer.cpp