Re: JOGL 2.3 Simplest Program Lag
Posted by Versus on Nov 12, 2015; 4:38pm
URL: https://forum.jogamp.org/JOGL-2-3-Simplest-Program-Lag-tp4035762p4035771.html
Hi, thanks for your reply.
Ran the first example with no problem. Also lagged a little in fullscreen mode.
Second one gave a GL4 error.
Regarding the code, my code is actually already taken from one of your tests. In fact, it is even more efficient as far I can tell, in that it does not buffer data to the buffer every time it draws (like it does in the first working example you suggested), rather it simply makes a single draw call and draws all of my triangles whose vertices were prebuffered in the initialization stage.
The question is why things to awfully wrong when I increase the number of triangles to some big amounts.