diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2018-03-13 09:48:19 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2018-03-13 09:48:19 +0000 |
commit | f4a94b3a02ed58c764d472efff2d317624abc02e (patch) | |
tree | e2552e22771fe82df02d43f63755540e424cb352 | |
parent | 192cd7f2d4c522f8637a69e7c781ba39af868a64 (diff) | |
parent | 24db414ebfd90a38d88979bf701983c3bd8c8703 (diff) | |
download | hikey-f4a94b3a02ed58c764d472efff2d317624abc02e.tar.gz |
Snap for 4651078 from 24db414ebfd90a38d88979bf701983c3bd8c8703 to pi-release
Change-Id: I5ad4053df8f6256a01b4f3f48031dd307ca859ee
-rw-r--r-- | gralloc960/mali_gralloc_formats.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/gralloc960/mali_gralloc_formats.cpp b/gralloc960/mali_gralloc_formats.cpp index 090e3386..67127fd0 100644 --- a/gralloc960/mali_gralloc_formats.cpp +++ b/gralloc960/mali_gralloc_formats.cpp @@ -99,20 +99,6 @@ static int map_flex_formats(int req_format, uint64_t *producer_runtime_mask) */ *producer_runtime_mask &= ~MALI_GRALLOC_FORMAT_CAPABILITY_AFBCENABLE_MASK; } - else if(req_format == HAL_PIXEL_FORMAT_YCbCr_422_888) - { - /* To be determined */ - - /* Disable AFBC until we know though */ - *producer_runtime_mask &= ~MALI_GRALLOC_FORMAT_CAPABILITY_AFBCENABLE_MASK; - } - else if(req_format == HAL_PIXEL_FORMAT_YCbCr_444_888) - { - /* To be determined */ - - /* Disable AFBC until we know though */ - *producer_runtime_mask &= ~MALI_GRALLOC_FORMAT_CAPABILITY_AFBCENABLE_MASK; - } return req_format; } |