Merge "hwc/overlay: Set MDP_SOLID_FILL flag for Color layer."

This commit is contained in:
Linux Build Service Account
2013-12-23 21:20:45 -08:00
committed by Gerrit - the friendly Code Review server
2 changed files with 2 additions and 0 deletions

View File

@@ -1405,6 +1405,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);