OSDN Git Service
(root)
/
android-x86
/
hardware-libhardware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbd278c
)
get rid of HAL pixelformats 5551 and 4444
author
Mathias Agopian
<mathias@google.com>
Fri, 26 Jul 2013 23:23:33 +0000
(16:23 -0700)
committer
Mathias Agopian
<mathias@google.com>
Fri, 26 Jul 2013 23:23:33 +0000
(16:23 -0700)
Change-Id: I196ee30ed57707ed4cc46fb3a9c5c07c5bac6fff
modules/gralloc/gralloc.cpp
patch
|
blob
|
history
diff --git
a/modules/gralloc/gralloc.cpp
b/modules/gralloc/gralloc.cpp
index
99aeb01
..
a2dec6b
100644
(file)
--- 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;