d881a0ce901d839282ba2d4d724b9ae25c9d4e89 |
|
01-Nov-2012 |
Rebecca Schultz Zavin <rebecca@android.com> |
Allocate enough memory for HAL_PIXL_FORMAT_YV12 Previously we were not allocating enough memory to align the uv planes to 16 pixels. We were allocating: h * align(w,16) * 3 / 2 bytes This should be: h * align(w,16) + h * align(align(w,16)/2, 16) Bug: 7431048 Change-Id: Iaba969795e8d20c29ee0b703af5dd884a4c88d2e Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
/hardware/samsung_slsi/exynos5/gralloc/gralloc.cpp
|
ab73a889ad0d4ea853ab41a9f5b0cea11cac3fd8 |
|
06-Oct-2012 |
Rebecca Schultz Zavin <rebecca@android.com> |
Align secure video surfaces to 1 MB Change-Id: I6de31d4f07b31cbc40d08d8cddb076149455dc55 Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
/hardware/samsung_slsi/exynos5/gralloc/gralloc.cpp
|
4cc86ec14bdd6f9adf34b1fd7829041a5e4b84a0 |
|
08-Oct-2012 |
Greg Hackmann <ghackmann@google.com> |
gralloc: pad RGB buffers by a minimum of 2 extra lines If the buffer is xcrop pixels off the left edge of the screen, xcrop extra pixels are needed past the 1 line of padding normally expected by the FIMD. xcrop is not known at allocation time so assume the worst case of a full extra line. Bug: 7304464 Change-Id: I126992eccfb36a402a202a8236a07a5479332812 Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/gralloc/gralloc.cpp
|
5258c21c1bdeb412c4ad7982d95e587a121f00fc |
|
04-Oct-2012 |
Rebecca Schultz Zavin <rebecca@android.com> |
Fix bug in gralloc If buffers were allocated and then locked without ever being passed to another process lock would return NULL instead of a pointer to the buffer. Instead map the buffer from lock if it hasn't already been done by register. Also check in free and unmap the buffer it is mapped. Change-Id: I3fe670ccb429f3de5f2e4dd07768414e70a02036 Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
/hardware/samsung_slsi/exynos5/gralloc/gralloc.cpp
|
b7baa9851e23517dcef556ba7ae94c375bba935e |
|
03-Oct-2012 |
Rebecca Schultz Zavin <rebecca@android.com> |
Don't map gralloc buffers when you allocate them Bug: 7280662 Change-Id: I415be4741396436c1d95380082ab2d5c36b80e81 Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
/hardware/samsung_slsi/exynos5/gralloc/gralloc.cpp
|
6cc676b447554079d90b048c1b5bcf4130f2f434 |
|
30-Sep-2012 |
Seho Kim <sh1645.kim@samsung.com> |
gralloc: change align of stride for EXYNOS_YV12 alignment of stride for EXNOS_YV12 is changed to 32. Bug: 7225357 Change-Id: I6ed66ecba77fde6ad22cd366766bd79d7e1d2b50 Signed-off-by: Seho Kim <sh1645.kim@samsung.com>
/hardware/samsung_slsi/exynos5/gralloc/gralloc.cpp
|
39433170a04f1f9c307d29e3bb2d7d5e11bf7824 |
|
28-Sep-2012 |
Rebecca Schultz Zavin <rebecca@android.com> |
Revert "Double the memory in any blob allocations" This reverts commit 53efd24f292043771988c4715225a2bca32ad2a8.
/hardware/samsung_slsi/exynos5/gralloc/gralloc.cpp
|
53efd24f292043771988c4715225a2bca32ad2a8 |
|
26-Sep-2012 |
Rebecca Schultz Zavin <rebecca@android.com> |
Double the memory in any blob allocations Images can not be captured unless the jpeg buffers are twice what was requested -- this was previously masked by another issue causing us to allocate much more memory than requested (16x). With this patch we can still capture images. Bug: 7234975 Bug: 7223936 Change-Id: I7b6f167070a883621e0ba38e0a8d41eace6bc1b0 Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
/hardware/samsung_slsi/exynos5/gralloc/gralloc.cpp
|
d15fb8b7ac73bcc7b24999f1aadd52835ed4d95d |
|
26-Sep-2012 |
Rebecca Schultz Zavin <rebecca@android.com> |
Fix bug in allocation of HAL_PIXEL_FORMAT_BLOB Bug: 7223936 Change-Id: I36f0ac3ea3065b16c505be5dce33d3c6202285ea Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
/hardware/samsung_slsi/exynos5/gralloc/gralloc.cpp
|
f8552390550d9e8acfd3e87c9a306733842b7aa7 |
|
20-Sep-2012 |
Rebecca Schultz Zavin <rebecca@android.com> |
Update gralloc to use new ion flag Switches cached allocations from faulting in mappings, to allocating them at mmap time. Caches now have to be managed manually from gralloc lock/unlock Bug: 6854979 Change-Id: I2fa31719c70bb1ce836ca34c49cb34ab509ff1db Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
/hardware/samsung_slsi/exynos5/gralloc/gralloc.cpp
|
ce73ba18eb7ba692edf7c2ddcdf2163daeccc287 |
|
12-Sep-2012 |
Jihyun Kim <jihyun86.kim@samsung.com> |
hardware: samsung_slsi: exynos5: Seperate Secure memory region This patch update OMX and HWC to separate secure memory region. Secure memory region is separated with MFC_INPUT, MFC_OUTPU, FIMD_VIDEO. Change-Id: I83981ce288de76ea5fb123bfc471d790a7706cee Signed-off-by: Jihyun Kim <jihyun86.kim@samsung.com>
/hardware/samsung_slsi/exynos5/gralloc/gralloc.cpp
|
a776338e508221131a2a51d32b9a374a906390dc |
|
11-Sep-2012 |
Rebecca Schultz Zavin <rebecca@android.com> |
Remove compiler warning from gralloc, fix some white space Change-Id: I0cc4577a52bb1f63fae07a02d8c5df8562fcbaf1 Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
/hardware/samsung_slsi/exynos5/gralloc/gralloc.cpp
|
7d5efeeb8590f12075e4c05976083497d9bbd078 |
|
07-Sep-2012 |
Sungjoong Kang <sj3.kang@samsung.com> |
hardware: samsung_slsi: gralloc: Support HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED When allocation with HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED is requested, gralloc chooses proper format using the usage flag. Change-Id: Ie706444af82ba014a90af968703889963fb763d4 Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
/hardware/samsung_slsi/exynos5/gralloc/gralloc.cpp
|
c41b757cdf879f4a2dc4a6d6e796aa1cd76b86a9 |
|
29-Aug-2012 |
Greg Hackmann <ghackmann@google.com> |
gralloc: add extra line of padding after aligning Padding before aligning adds 15 unneeded lines. Also check that the extra line is needed (i.e., the alignment didn't add padding of its own). Change-Id: Iefbf5f26d8f346ba487195a5973693ae871f843f Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/gralloc/gralloc.cpp
|
3bad845cb63c86caa14fb2c43af4a1187834fec4 |
|
29-Aug-2012 |
Greg Hackmann <ghackmann@google.com> |
gralloc: make sure rgb buffers have at least 1 line of padding The display controller may read up to 1 line past the end of the image Change-Id: Ibb6ed15d1c02d07fe955922249c71b7ce9bce0fc Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/gralloc/gralloc.cpp
|
788e20df8364770ea8bca955d6c9d4da55b494ef |
|
09-Aug-2012 |
Sanghee Kim <haya93@samsung.com> |
gralloc: add support to allocate protected buffers Change-Id: I0c8cc054f5fa15544177a9b9042aca095c64eb82 Signed-off-by: Dima Zavin <dima@android.com>
/hardware/samsung_slsi/exynos5/gralloc/gralloc.cpp
|
bcf29611227fe5d7d34061b2b8a05f59ead56ac7 |
|
28-Aug-2012 |
Rebecca Schultz Zavin <rebecca@android.com> |
Fix whitespace in gralloc.cpp and mapper.cpp Change-Id: Ia710e1f6aada45644f4b062cca1288b306f4c06c Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
/hardware/samsung_slsi/exynos5/gralloc/gralloc.cpp
|
55a3039bed7dbb6694c0bfcd3bb621be3ab955db |
|
28-Aug-2012 |
Rebecca Schultz Zavin <rebecca@android.com> |
Add framework yv12 and nv21 formats to gralloc Change-Id: I115f2511503bc6d9e638df23fe14758e7ab45c9d Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
/hardware/samsung_slsi/exynos5/gralloc/gralloc.cpp
|
ec68ab2185767df2f9487f6501a5ef8d18ce1741 |
|
27-Aug-2012 |
Rebecca Schultz Zavin <rebecca@android.com> |
Import ion handles when registering buffers Import ion handles from registerBuffer, this will allow us to track ion buffers as they are passed between processes for debug purposes. Change-Id: I60f3b6c210c807c06dc312d3254644d2151c354f Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
/hardware/samsung_slsi/exynos5/gralloc/gralloc.cpp
|
c853be7b9977a6a0402bd5a65c0c32ac9e2fde1d |
|
23-Aug-2012 |
Rebecca Schultz Zavin <rebecca@android.com> |
Disambiguate framework formats from exynos formats Previously exynos hal code was using the framework definitions of YV12 and NV21 to describe custom exynos formats that are similar but not the same. This patch defines new formats that describe the custom formats that should be used instead. Change-Id: I05f5c07d4ab77ef614c765f51fb7254b47005f79 Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
/hardware/samsung_slsi/exynos5/gralloc/gralloc.cpp
|
da3d871233c291dd2c472c4a7f6bfe35e7c06fc9 |
|
16-Aug-2012 |
Rebecca Schultz Zavin <rebecca@android.com> |
gralloc: Store the usage flags in the gralloc handles Change-Id: I2e81eb98eb8d09e61ba53776cb35de0ad6e9e74a Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
/hardware/samsung_slsi/exynos5/gralloc/gralloc.cpp
|
70212e566f17b06d5ce613ab5ef1204334f03b86 |
|
15-Aug-2012 |
Rebecca Schultz Zavin <rebecca@android.com> |
gralloc: Add vstride to gralloc handles, pad rgb surfaces If rgb surfaces are padded to nearest 16 pixels in height, the gscalar can accept them. This change increases the number of cases where the hardware composer can make use of the gscalar. Change-Id: Iffacbdb2637c8b80c5cd0a8a62d015e854950a43 Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
/hardware/samsung_slsi/exynos5/gralloc/gralloc.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/gralloc.cpp
|