From a6abcb41dd243329a57b13373cbeb8eea26248d7 Mon Sep 17 00:00:00 2001 From: Mathias Agopian <> Date: Fri, 27 Mar 2009 17:59:34 -0700 Subject: [PATCH] AI 143310: am: CL 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/... Original author: android-build Merged from: //branches/donutburger/... Automated import of CL 143310 --- libcopybit/copybit.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libcopybit/copybit.c b/libcopybit/copybit.c index 168de4c..3565074 100644 --- a/libcopybit/copybit.c +++ b/libcopybit/copybit.c @@ -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;