Hi,
We are developing 2D games. And we found our game works fine except
the snapdragon chips, like Nexus one and Liquid A1. It even runs fine
on G1.
We use GLSurfaceView, and we use glTexImage2D and glTexIsubmage2D to
put on the text and then draw.
The glTexImage2D class take more than 100ms on Nexus one (1024x512 pix
tex). It's very strange, G1 is even faster than this.
If anyone know something about this?
---------------------Code
snip-----------------------------------------------
gl.glClear(GL10.GL_COLOR_BUFFER_BIT |
GL10.GL_DEPTH_BUFFER_BIT);
gl.glTexSubImage2D(GL10.GL_TEXTURE_2D,
0, 0, 0, m_width,
m_height, GL10.GL_RGB, GL_UNSIGNED_SHORT_5_6_5, m_byteCanvas);
((GL11Ext)gl).glDrawTexiOES(0, 0, 0,
m_width, m_height);
--
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