Login  Register

Re: OpenGL/CL Java Binding Performance

Posted by Wade Walker on Dec 29, 2011; 4:32pm
URL: https://forum.jogamp.org/OpenGL-CL-Java-Binding-Performance-tp3618916p3619192.html

Hi Itun,

In the comments of my blog post at http://wadeawalker.wordpress.com/2010/10/17/tutorial-faster-rendering-with-vertex-buffer-objects/, I show a small benchmark I wrote to test how many OpenGL calls per second could go through the JNI binding. For my computer, then number was >300,000 OpenGL calls/second, depending on the loop size.

So as long as your program does most of its work inside the OpenGL driver (i.e. you make a few big drawing calls, instead of millions of small ones), your performance should mostly depend on your graphics hardware, not on the language you call OpenGL from.