diff options
author | Sven Gothel <[email protected]> | 2014-07-30 20:13:34 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-07-30 20:13:34 +0200 |
commit | ff5dba28610b4f680c9320e9e52669ed54d4de43 (patch) | |
tree | 916cc30ac361c3c4ca6a1d7ed81f7e28d040721f /src/jogl/classes/jogamp/opengl/SystemUtil.java | |
parent | adf8e6e40aa9513036864489642cfef252804d08 (diff) |
Bug 830 - Add Heuristics for to query whether GLDrawableUtil.swapGLContextAndAllGLEventListener is safe (Doesn't work w/ pre MSAA onscreen drawable)
GLDrawableUtil.isSwapGLContextSafe(..) allows user to query whether 'we think' it's safe
to utilize swapping of GLContext between GLAutoDrawable instances.
Currently known unsafe cases are:
- between on- and offscreen and one of the following:
- MSAA involved, or
- STEREO involved
Enhanced unit tests in this regard:
- TestGLContextDrawableSwitch02AWT
- using GLContextDrawableSwitchBase0
- TestGLContextDrawableSwitch02NEWT
- using GLContextDrawableSwitchBase0
Utilized safe query for setupPrint(..) action in:
- AWT GLCanvas
- AWT GLJPanel
- NewtCanvasAWT
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/SystemUtil.java')
0 files changed, 0 insertions, 0 deletions