hi!

i'm just a little confused - is the SurfaceView
with opengl/egl attached not OpenGl all the way?
You are saying this is somewhere in between opengl
and android's canvas stuff?

is there a way to use opengl directly, without SurfaceView,
that would make it all faster? if so, please let me know!

thanks!
Kris

On Aug 28, 10:17 pm, "Romain Guy" <[EMAIL PROTECTED]> wrote:
> > My understanding was that 2D graphics implemented on top of the Canvas
> > class would also be accelerated to some extent on the device.  Is this
> > not the case?
>
> No, currently the Canvas class uses pure software rendering. This may
> change in the future though.
>
> >  Are 2D graphics operations done on top ofOpenGL
> > substantially faster on device than 2D graphics operations done on top
> > of Canvas?
>
> UsingOpenGLlets you bypass the view hierarchy system, which would
> probably help in the case of a game. You can also use a solution
> halfway between the two and simply use a SurfaceView. You can refer to
> the LunarLander example to see how it's done.
>
> --
> Romain Guywww.curious-creature.org
--~--~---------~--~----~------------~-------~--~----~
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