diff options
author | Eino-Ville Talvala <etalvala@google.com> | 2012-05-14 15:57:29 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-05-14 15:57:29 -0700 |
commit | 15d4e5d07327c20a61173f23b0db30179a9f90be (patch) | |
tree | 4688b2f002550338148a9b4888322d7fe4cc8c5e /modules | |
parent | 2f96c60cc42734555f0022585da7fd16166a8931 (diff) | |
parent | 984272d92e40941f3d140f2cecb5f05986ac66b1 (diff) | |
download | hardware_libhardware-15d4e5d07327c20a61173f23b0db30179a9f90be.zip hardware_libhardware-15d4e5d07327c20a61173f23b0db30179a9f90be.tar.gz hardware_libhardware-15d4e5d07327c20a61173f23b0db30179a9f90be.tar.bz2 |
Merge "Add RAW_SENSOR to gralloc sample"
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gralloc/gralloc.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gralloc/gralloc.cpp b/modules/gralloc/gralloc.cpp index a6b4edd..99aeb01 100644 --- a/modules/gralloc/gralloc.cpp +++ b/modules/gralloc/gralloc.cpp @@ -219,6 +219,7 @@ static int gralloc_alloc(alloc_device_t* dev, 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; default: |