David Given wrote:
[...]
> If we instead use GLES, displaying a single polygon
> that fills the screen, we can change the image by uploading new textures
> with glTexImage2d.

I'm now doing this... and am getting 40-50fps full screen! Which I think 
is quite reasonable; frame locked to 20fps or so, it should provide 
plenty of CPU time to run the game in.

Oddly enough, the fastest GL texture format is RGB_5_5_5_1. RGB_5_6_5, 
which is what I would intuitively expect to be the fastest, gives about 
30fps.

(However, I should point out that this is using a SurfaceView. The 
example on the website that uses GLES on a View produces a 'This doesn't 
work yet' exception. Hopefully we should get further speedup when View 
GLES gets implemented...)

-- 
David Given
[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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to