diff options
-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; } |