Have any one tried JNI opengl on android

Tutorials concerning the OpenGL® ES cross-platform API for full-function 2D and 3D graphics on the Google-Android platform.

Have any one tried JNI opengl on android

Postby darktemplar216 » Fri Nov 27, 2009 8:20 am

On android, opengl-ing in java is so fking slow... So I use Java GLSurface view to create the opengl enviroment and do all the rendering in c++. It works, performances improved too. BBBBut there comes the problem -> when phone call came or press "home" key and then back to the game, the entire opengl env lost, In java We can restore the eglXXXs and regenerate all the textures to get our game back. But this urgly trick doesn't work with c++ opengl, some of the texture regeneration fails and leave a black model rendering. I've tried many ways but all resulted in failure... missing windows. Any help or thought would be apreciated greatly and with a warm hug.

PS: I'm sorry with my poor English.
darktemplar216
Freshman
Freshman
 
Posts: 4
Joined: Thu Jul 09, 2009 10:42 am

Top

Postby darktemplar216 » Fri Nov 27, 2009 10:19 am

Forgot to mention: the demo provided by google "san-angeles" also got the same problem.
darktemplar216
Freshman
Freshman
 
Posts: 4
Joined: Thu Jul 09, 2009 10:42 am

Top

Return to Android 2D/3D Graphics - OpenGL Tutorials

Who is online

Users browsing this forum: No registered users and 4 guests