Automated import from //branches/cupcake/...@142857,142857

This commit is contained in:
Mathias Agopian 2009-03-25 21:43:45 -07:00 committed by The Android Open Source Project
parent d69d9ec304
commit 76c233c0a8

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;