Thursday, May 13, 2010

[android-developers] Re: FLAG_BLUR_BEHIND extremely slow on Droid?

The blur effect seems to be done in software on the NexusOne as well.
One can see that in Launcher2, when using an animated Live Wallpaper
and opening the "Power Options" menu (long press on HW power button):
The background scene has to be redrawn continuously and the whole
device feels VERY slow.

A.

On 12 mai, 19:21, EboMike <ebom...@gmail.com> wrote:
> Sure, it works, but it's unacceptably slow, so in the end I'm just
> dimming the background now.
>
> -Mike
>
> On May 10, 8:09 am, "John Woods" <jtwoo...@gmail.com> wrote:
>
>
>
>
>
> > Did you ever get the surface blur to work?
>
> > -----Original Message-----
> > From: android-developers@googlegroups.com
>
> > [mailto:android-developers@googlegroups.com] On Behalf Of EboMike
> > Sent: Sunday, May 09, 2010 10:10 PM
> > To: Android Developers
> > Subject: [android-developers]FLAG_BLUR_BEHINDextremely slow on Droid?
>
> > It seems like usingFLAG_BLUR_BEHINDmakes an activity extremely slow
> > - every redraw takes forever, even when just editing an EditText. It
> > almost sounds like the blur effect is being redone on the entire
> > screen in software (actually, even that couldn't possibly be that slow
> > with a normal blur kernel).
>
> > Is that specific to the Droid? Or the OS? It seems to happen on both
> > 2.0.1 and 2.1.FLAG_BLUR_BEHINDis lightning fast on a puny G1 with
> > 1.1/1.5/1.6, so it sounds like it's using a GL extension that's not
> > supported on the Droid, or something similar. Are there any known work-
> > arounds, or is there any word about a fix?
>
> > I've seen source codes that check for the OS version and do not setFLAG_BLUR_BEHINDif something => Eclair is detected, which sounds
> > hacky. If anything, it would be nice to see what exactly is missing
> > here (GL extension?), and check for that instead.
>
> > -Mike
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscribe@googlegroups.com
> > For more options, visit this group athttp://groups.google.com/group/android-developers?hl=en
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscribe@googlegroups.com
> > For more options, visit this group athttp://groups.google.com/group/android-developers?hl=en
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscribe@googlegroups.com
> For more options, visit this group athttp://groups.google.com/group/android-developers?hl=en

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment