Summary: | GLJPanel and GLOffscreenDrawable Performance | ||
---|---|---|---|
Product: | [JogAmp] Jogl | Reporter: | NewBie <anand1988> |
Component: | macosx | Assignee: | Sven Gothel <sgothel> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | --- | ||
Version: | 2 | ||
Hardware: | All | ||
OS: | macosx | ||
Type: | --- | SCM Refs: | |
Workaround: | --- | ||
Bug Depends on: | 891, 894, 904 | ||
Bug Blocks: | 888 |
Description
NewBie
2013-11-15 13:36:56 CET
.. not a regession. 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> |