[android-developers] Re: Is there a large efficiency difference between Canvas.drawBitmap or OpenGL?

2009-03-17 Thread William
I am not too familiar with how GL works. Is the performance gain happen in writing to the screen or doing the image manipulation or BOTH. I mean I know I can convert a bitmap to a texture and put it on the GL surface. Most of my code is done using canvas to draw to off screen bitmaps before i

[android-developers] Re: Is there a large efficiency difference between Canvas.drawBitmap or OpenGL?

2009-03-17 Thread Jon Colverson
On Mar 17, 7:27 pm, William william.caine...@gmail.com wrote: Do I have to convert all that to GL textures or can I keep all the bitmap work and convert the final image to a texture to be drawn to the GL surface.  If I have to convert it all to the textures and draw to the textures, will

[android-developers] Re: Is there a large efficiency difference between Canvas.drawBitmap or OpenGL?

2009-03-15 Thread Jon Colverson
On Mar 11, 3:31 pm, William william.caine...@gmail.com wrote: Is there a large efficiency difference between Canvas.drawBitmap or OpenGL.  I am drawing using Canvas.drawBitmap and running slowing FPS, would openGL speed that up a lot you think? In short, yes. I was initially trying to use

[android-developers] Re: Is there a large efficiency difference between Canvas.drawBitmap or OpenGL?

2009-03-15 Thread Tim Bray
On Sun, Mar 15, 2009 at 1:30 PM, Jon Colverson jjc1...@gmail.com wrote: Interestingly, the emulator is slower than the G1 when using OpenGL because the emulator uses a (emulated) software OpenGL implementation. Interestingly, on my app (decorating a map with geotagged points, recording and

[android-developers] Re: Is there a large efficiency difference between Canvas.drawBitmap or OpenGL?

2009-03-11 Thread Stoyan Damov
What is it that you are drawing, how are you drawing it, have you profiled your code? On Wed, Mar 11, 2009 at 5:31 PM, William william.caine...@gmail.com wrote: Greetings Developers, I am just putting this question out there. Is there a large efficiency difference between Canvas.drawBitmap

[android-developers] Re: Is there a large efficiency difference between Canvas.drawBitmap or OpenGL?

2009-03-11 Thread MrSnowflake
I think it probably would speed up your drawing, but OpenGL probably also uses more battery because it needs the hardware gpu to be enabled too. On 11 mrt, 16:46, Stoyan Damov stoyan.da...@gmail.com wrote: What is it that you are drawing, how are you drawing it, have you profiled your code?