diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2018-07-31 17:18:16 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-07-31 17:18:16 -0700 |
commit | d0253c70c4bba96d6af41fb095fcc77ede51c307 (patch) | |
tree | 768187d57cfb7ca94d941a511dc39008392e7939 /gralloc/gr_utils.cpp | |
parent | 5e3a0c04dca0c944426650ebb46e20d80142cbaa (diff) | |
parent | 11df8e18200f5319d2339d35a2a8fcadf07be485 (diff) |
Merge "Gralloc: Add UBWC support for AHWB formats."
Diffstat (limited to 'gralloc/gr_utils.cpp')
-rw-r--r-- | gralloc/gr_utils.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gralloc/gr_utils.cpp b/gralloc/gr_utils.cpp index 8b2d4954..dc64b584 100644 --- a/gralloc/gr_utils.cpp +++ b/gralloc/gr_utils.cpp @@ -566,6 +566,11 @@ bool IsUBwcSupported(int format) { case HAL_PIXEL_FORMAT_YCbCr_420_SP_VENUS: case HAL_PIXEL_FORMAT_RGBA_1010102: case HAL_PIXEL_FORMAT_RGBX_1010102: + case HAL_PIXEL_FORMAT_DEPTH_16: + case HAL_PIXEL_FORMAT_DEPTH_24: + case HAL_PIXEL_FORMAT_DEPTH_24_STENCIL_8: + case HAL_PIXEL_FORMAT_DEPTH_32F: + case HAL_PIXEL_FORMAT_STENCIL_8: return true; default: break; |