[android-developers] Re: glTexImage2D very slow on phones like Nexus one

2010-04-19 Thread Charles Li
我觉得这个事情也不太妥. It's not a good choice to update texture(huge texture) every frame. (and yes, nexus one has its issues) I think the better solution for video output in game development is let your video be a standard mpeg file. And Launch a new activity to play it. On Apr 19, 2:40 pm, Eong

[android-developers] Re: Weird OpenGL performance in Nexus one

2010-04-14 Thread Charles Li
The test(not my code) just hold a Texture array ( one background and the others are spirits). Every frame render the background with fullscreen and move the spirit. The following codes in GLSpirit.java do the actually draw. public void draw(GL10 gl) {