Merge "hwc/overlay: Set MDP_SOLID_FILL flag for Color layer."
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
e5e29c86a1
@@ -1405,6 +1405,7 @@ int configColorLayer(hwc_context_t *ctx, hwc_layer_1_t *layer,
|
|||||||
uint32_t color = layer->transform;
|
uint32_t color = layer->transform;
|
||||||
Whf whf(w, h, getMdpFormat(HAL_PIXEL_FORMAT_RGBA_8888), 0);
|
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)
|
if (layer->blending == HWC_BLENDING_PREMULT)
|
||||||
ovutils::setMdpFlags(mdpFlags, ovutils::OV_MDP_BLEND_FG_PREMULT);
|
ovutils::setMdpFlags(mdpFlags, ovutils::OV_MDP_BLEND_FG_PREMULT);
|
||||||
|
|
||||||
|
|||||||
@@ -271,6 +271,7 @@ enum eMdpFlags {
|
|||||||
OV_MDP_PP_EN = MDP_OVERLAY_PP_CFG_EN,
|
OV_MDP_PP_EN = MDP_OVERLAY_PP_CFG_EN,
|
||||||
OV_MDSS_MDP_BWC_EN = MDP_BWC_EN,
|
OV_MDSS_MDP_BWC_EN = MDP_BWC_EN,
|
||||||
OV_MDSS_MDP_DUAL_PIPE = MDSS_MDP_DUAL_PIPE,
|
OV_MDSS_MDP_DUAL_PIPE = MDSS_MDP_DUAL_PIPE,
|
||||||
|
OV_MDP_SOLID_FILL = MDP_SOLID_FILL,
|
||||||
};
|
};
|
||||||
|
|
||||||
enum eZorder {
|
enum eZorder {
|
||||||
|
|||||||
Reference in New Issue
Block a user