hwc: Add support for RGBA_4444 and RGBA_5551 formats

1. Modify gralloc library to allocate buffers for RGBA_4444 and
   RGBA_5551 formats
2. Modify copybit library to add composition support for RGBA_4444
   and RGBA_5551 layers
3. Modify hwc library to add MDP composition and rotator support for
   RGBA_4444 and RGBA_5551 layers.

Change-Id: I30dbc4e5e2c010835fa7e7663f996f67779a1803
This commit is contained in:
Ramkumar Radhakrishnan
2014-10-09 13:54:07 -07:00
parent 964395241b
commit b8eb16d792
4 changed files with 16 additions and 3 deletions

View File

@@ -1154,6 +1154,8 @@ bool isRotatorSupportedFormat(private_handle_t *hnd) {
if(hnd != NULL) {
switch(hnd->format) {
case HAL_PIXEL_FORMAT_RGBA_8888:
case HAL_PIXEL_FORMAT_RGBA_5551:
case HAL_PIXEL_FORMAT_RGBA_4444:
case HAL_PIXEL_FORMAT_RGB_565:
case HAL_PIXEL_FORMAT_RGB_888:
case HAL_PIXEL_FORMAT_BGRA_8888: