diff options
author | Eino-Ville Talvala <etalvala@google.com> | 2015-03-06 13:19:36 -0800 |
---|---|---|
committer | Eino-Ville Talvala <etalvala@google.com> | 2015-03-06 13:19:36 -0800 |
commit | e69efbbabf26569ddd0ca12dda44d830a251a07f (patch) | |
tree | 8d4f935c3ea418d556b8f3bb22ce41746c2a7992 /modules/gralloc | |
parent | 8558510d59f659d83b44728331e88f106ff735c8 (diff) | |
download | hardware_libhardware-e69efbbabf26569ddd0ca12dda44d830a251a07f.zip hardware_libhardware-e69efbbabf26569ddd0ca12dda44d830a251a07f.tar.gz hardware_libhardware-e69efbbabf26569ddd0ca12dda44d830a251a07f.tar.bz2 |
Replace/rename old HAL graphics formats
- Replace RAW_SENSOR with RAW16
- Remove sRGB formats
Change-Id: Ic5c44878c638c3d3559495ea5685e10fcc2c39e1
Diffstat (limited to 'modules/gralloc')
-rw-r--r-- | modules/gralloc/gralloc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gralloc/gralloc.cpp b/modules/gralloc/gralloc.cpp index bdc789d..a9fbc80 100644 --- a/modules/gralloc/gralloc.cpp +++ b/modules/gralloc/gralloc.cpp @@ -217,7 +217,7 @@ static int gralloc_alloc(alloc_device_t* dev, bpp = 3; break; case HAL_PIXEL_FORMAT_RGB_565: - case HAL_PIXEL_FORMAT_RAW_SENSOR: + case HAL_PIXEL_FORMAT_RAW16: bpp = 2; break; default: |