Re: vbo - DrawArrays - threading question
Posted by
gouessej on
Sep 08, 2012; 7:23pm
URL: https://forum.jogamp.org/vbo-DrawArrays-threading-question-tp4026028p4026045.html
rtayek wrote
are you suggesting that i can get by with just rendering the data
that has changed as opposed to the entire screen?
No. Just update your data at the beginning of the method GLEventListener.display(GLAutoDrawable) only when needed.
Your problem has nothing to do with Java. Ditching it would probably not solve it and maybe you have just forgotten to disable the vertical synchronization or maybe you use OpenGL in a very unoptimized way, it would be the same in C/C++. Why not trying to use NEWT? You can put a NEWT GLWindow into a NewtCanvasAWT and use it inside your AWT-based GUI.