Dear Sir/Madam, When I use Swing MDI window with JDesktopPane embedded with many JInternalFrames. Each JInternalFrame contains one GLJPanel. When we start FPSAnimator with 30fps rate. Till 10 GLJPanel's, I can get GLEventListner::display function call at 30fps rate. When it increases beyond, for example, for 16 GLJPanel's, I can get only 20fps rate. I have done many way's to fix the issue, but nothing is working. In GLEventListner display function, I am not calling any GL functions, it will simply returns. Thanks and Regards, Anand
.. not a regession.
Referencing already fixed performance issues, i.e. Bug 891, Bug 894 and Bug 904.
As mentioned in a forum post, using vertical sync (vsync) on multiple GLEventListener each in their GLAutoDrawable (GLJPanel, GLCanvas, GLWindow, ..) may reduce the frames per seconds value. This is true for the NVidia driver at least. Only using one GLEventListener utilizing vsync solves the issue. vsync can be set via gl.setSwapInterval(int i).
(In reply to comment #3) > As mentioned in a forum post, > using vertical sync (vsync) on multiple GLEventListener each in their > GLAutoDrawable (GLJPanel, GLCanvas, GLWindow, ..) may reduce the > frames per seconds value. This is true for the NVidia driver at least. > > Only using one GLEventListener utilizing vsync solves the issue. > > vsync can be set via gl.setSwapInterval(int i). Only using V-Sync on one of many GLJPanel solves performance degradation w/ X11/NV: <http://jogamp.org/deployment/archive/master/gluegen_751-joal_502-jogl_1153-jocl_879-signed/jogl-applet-bug848_glcanvas01.html>
All depending bugs are resolved. With recommendation of comment 3 and comment 4 (vsync) this issue is considered to be resolved.