AI 143161: am: CL 142857 Add some bluring to the animation. This requires a new kernel which will be checked-in later, at which point the blur effect will automatically be enabled.

Original author: mathias
  Merged from: //branches/cupcake/...

Automated import of CL 143161
This commit is contained in:
Mathias Agopian 2009-03-27 15:40:04 -07:00 committed by The Android Open Source Project
parent c4989dc74f
commit 800452873e

View File

@ -228,6 +228,13 @@ static int set_parameter_copybit(
ctx->mFlags &= ~MDP_DITHER;
}
break;
case COPYBIT_BLUR:
if (value == COPYBIT_ENABLE) {
ctx->mFlags |= MDP_BLUR;
} else if (value == COPYBIT_DISABLE) {
ctx->mFlags &= ~MDP_BLUR;
}
break;
case COPYBIT_TRANSFORM:
ctx->mFlags &= ~0x7;
ctx->mFlags |= value & 0x7;