summaryrefslogtreecommitdiff
path: root/libhwc
diff options
context:
space:
mode:
authorJesse Hall <jessehall@google.com>2013-09-23 16:07:31 -0700
committerJesse Hall <jessehall@google.com>2013-09-23 16:07:31 -0700
commitfefc73707fc629740988404eb84c907be90e0789 (patch)
tree5b08cee6ce5fa62753443ec8fd39538897627d29 /libhwc
parent24b40bec52d792aa9907d5b76fbb66ebc15a56ed (diff)
downloadexynos5-fefc73707fc629740988404eb84c907be90e0789.tar.gz
Restore overlay support for RGB565 layers
This was accidentally removed by change-id I2b0eb35344631d162b30dd22ee0ad7651f22e6fa which removed HAL formats 5551 and 4444. Bug: 10748683 Change-Id: Id610083732f0495a7c4a29660c7c2c8750929510
Diffstat (limited to 'libhwc')
-rw-r--r--libhwc/hwc.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libhwc/hwc.cpp b/libhwc/hwc.cpp
index 0e1477f..d5a7603 100644
--- a/libhwc/hwc.cpp
+++ b/libhwc/hwc.cpp
@@ -274,6 +274,8 @@ static enum s3c_fb_pixel_format exynos5_format_to_s3c_format(int format)
return S3C_FB_PIXEL_FORMAT_RGBA_8888;
case HAL_PIXEL_FORMAT_RGBX_8888:
return S3C_FB_PIXEL_FORMAT_RGBX_8888;
+ case HAL_PIXEL_FORMAT_RGB_565:
+ return S3C_FB_PIXEL_FORMAT_RGB_565;
case HAL_PIXEL_FORMAT_BGRA_8888:
return S3C_FB_PIXEL_FORMAT_BGRA_8888;
default: