summaryrefslogtreecommitdiffstats
path: root/modules/gralloc
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2013-07-26 16:23:33 -0700
committerMathias Agopian <mathias@google.com>2013-07-26 16:23:33 -0700
commitba9c8badb7683f76eaa3f40f3b930410682bab69 (patch)
treeb6e0f51fee6a974878c337d44c1ff942ceef96e2 /modules/gralloc
parentdbd278cd076b6d0ad1a78dfcb37631784f557be9 (diff)
downloadhardware_libhardware-ba9c8badb7683f76eaa3f40f3b930410682bab69.zip
hardware_libhardware-ba9c8badb7683f76eaa3f40f3b930410682bab69.tar.gz
hardware_libhardware-ba9c8badb7683f76eaa3f40f3b930410682bab69.tar.bz2
get rid of HAL pixelformats 5551 and 4444
Change-Id: I196ee30ed57707ed4cc46fb3a9c5c07c5bac6fff
Diffstat (limited to 'modules/gralloc')
-rw-r--r--modules/gralloc/gralloc.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/gralloc/gralloc.cpp b/modules/gralloc/gralloc.cpp
index 99aeb01..a2dec6b 100644
--- a/modules/gralloc/gralloc.cpp
+++ b/modules/gralloc/gralloc.cpp
@@ -217,8 +217,6 @@ static int gralloc_alloc(alloc_device_t* dev,
bpp = 3;
break;
case HAL_PIXEL_FORMAT_RGB_565:
- case HAL_PIXEL_FORMAT_RGBA_5551:
- case HAL_PIXEL_FORMAT_RGBA_4444:
case HAL_PIXEL_FORMAT_RAW_SENSOR:
bpp = 2;
break;