Really thanks for the answer Romain, I appreciate it.
To make a try I enabled the "Force GPU rendering" option in my Galaxy
Nexus.

When this option is disabled my software is lightning fast, when this
option is enabled
I see many slow down. As I told my software draw is UI using canvas
completely, why
hardware acceleration didn't help in this case?

Thanks.


On 4 Gen, 19:14, Romain Guy <[email protected]> wrote:
> drawRect and drawLine are hardware accelerated with anti aliasing.
>
> On Wed, Jan 4, 2012 at 7:14 AM, sblantipodi
>
>
>
>
>
>
>
>
>
> <[email protected]> wrote:
> > As title.
>
> > ICS give us the possibility to force the Hardware Acceleration on our
> > app with a simple manifest attribute.
> > The UI of my app is drawn using canvas, completely canvas. No android
> > widget is used to draw the UI only canvas.
>
> > This means that I have a lot of drawLine(), drawRect() ecc. ecc. As
> > far as I know this primitives aren't accelerated by hardware
> > acceleration and hardware acceleration disable the antialias on this
> > methods.
>
> > Saied that, should I enable the hardware acceleration? Is there any
> > reason why enable it on a app like mine?
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Romain Guy
> Android framework engineer
> [email protected]

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

Reply via email to