hwc/overlay: Set MDP_SOLID_FILL flag for Color layer.
Set MDP_SOLID_FILL flag while configuring MDP pipe for Color layer. Change-Id: Ia48e6e3e759ae026510544cad8a6c1a6256d82e7
This commit is contained in:
@@ -1403,6 +1403,7 @@ int configColorLayer(hwc_context_t *ctx, hwc_layer_1_t *layer,
|
||||
uint32_t color = layer->transform;
|
||||
Whf whf(w, h, getMdpFormat(HAL_PIXEL_FORMAT_RGBA_8888), 0);
|
||||
|
||||
ovutils::setMdpFlags(mdpFlags, ovutils::OV_MDP_SOLID_FILL);
|
||||
if (layer->blending == HWC_BLENDING_PREMULT)
|
||||
ovutils::setMdpFlags(mdpFlags, ovutils::OV_MDP_BLEND_FG_PREMULT);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user