diff options
author | Naseer Ahmed <naseer@codeaurora.org> | 2018-01-24 14:41:46 -0500 |
---|---|---|
committer | Naseer Ahmed <naseer@codeaurora.org> | 2018-03-19 17:58:17 -0400 |
commit | 738da0798f9e65a21f16d4aab8190ff118b0606d (patch) | |
tree | c6d030ae8138efc7b41c3cf443cb0c6451ea6bd6 /sdm/libs/hwc2/hwc_layers.cpp | |
parent | c04be08e56e0deccdf61e7051a69bd616c59d3e7 (diff) |
sdm: Fallback on scRGB layers
We don't know how to handle blending when scRGB layers show up.
Fallback entirely to GPU.
Bug: 72125973
Change-Id: Ib01ac0c920bd34f011f0a4d3e76e71d4c7b036e2
Diffstat (limited to 'sdm/libs/hwc2/hwc_layers.cpp')
-rw-r--r-- | sdm/libs/hwc2/hwc_layers.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sdm/libs/hwc2/hwc_layers.cpp b/sdm/libs/hwc2/hwc_layers.cpp index 1193ec46..0f860d84 100644 --- a/sdm/libs/hwc2/hwc_layers.cpp +++ b/sdm/libs/hwc2/hwc_layers.cpp @@ -671,6 +671,9 @@ LayerBufferFormat HWCLayer::GetSDMFormat(const int32_t &source, const int flags) case HAL_PIXEL_FORMAT_YCbCr_420_P010_VENUS: format = kFormatYCbCr420P010Venus; break; + case HAL_PIXEL_FORMAT_RGBA_FP16: + format = kFormatInvalid; + break; default: DLOGW("Unsupported format type = %d", source); return kFormatInvalid; |