Handle sRGB gralloc formats.
authorJesse Hall <jessehall@google.com>
Mon, 18 Aug 2014 04:41:25 +0000 (21:41 -0700)
committerJesse Hall <jessehall@google.com>
Mon, 18 Aug 2014 04:41:25 +0000 (21:41 -0700)
commit99e0c3cdbe7278cea88ada37aaa24ae0a51cabb5
tree3d28ed25ae3f890b5944e65829bdf07a9e1cfd42
parent4ec0f6d29023b78e08ed6afb3a985c91495ae381
Handle sRGB gralloc formats.

gralloc: recognize and allocate sRGB_{A,X}_8888
hwcomposer: punt sRGB formats to FRAMEBUFFER composition
- This would happen already due to the format-supported test, this
  change just avoids an unrecognized-format log warning from
  exynos5_format_to_bpp().

Bug: 10134664
Change-Id: I78b7791217cbde28d5bc7d02caf6a955960828ce
gralloc/gralloc.cpp
libhwc/hwc.cpp