Hello, I begin with android apps and my aim is to create an application with a 3D picture moving. The code of this picture is already done in c++ by a friend. But I have no idea how export his code in java correctly. What I have done is take the helloGL2 sample in the ndk and modify the c++ source code to draw my picture. To explain quickly, Instead of draw the green triangle, my c++ code draw my picture and make it rotate. It works but it is flickering. I don't know how use the function eglswapbuffer(eglSurface, eglDisplay). I just know that in a egl surface there are already double buffering. In this sample, how I can use this function? I have to use it in the c+ + code or into the OnDrawFram() function in the renderer class?
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en