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:
Sushil Chauhan
2013-12-19 10:35:54 -08:00
parent 36afacbc0a
commit f10c523a41
2 changed files with 2 additions and 0 deletions

View File

@@ -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);

View File

@@ -271,6 +271,7 @@ enum eMdpFlags {
OV_MDP_PP_EN = MDP_OVERLAY_PP_CFG_EN,
OV_MDSS_MDP_BWC_EN = MDP_BWC_EN,
OV_MDSS_MDP_DUAL_PIPE = MDSS_MDP_DUAL_PIPE,
OV_MDP_SOLID_FILL = MDP_SOLID_FILL,
};
enum eZorder {