Synchronized buffer swapping in multi window application
Posted by Marc@56K on Jul 20, 2010; 10:25pm
URL: https://forum.jogamp.org/Synchronized-buffer-swapping-in-multi-window-application-tp982740.html
Hi,
I'm using JOGL 2.0 Beta 10 in a VR environment. It consists of two projectors an one pc with two grafic boards. The application creates two NEWT windows (com.sun.javafx.newt.opengl.GLWindow), one for each gpu. Every window runs in a separate render thread. So the application consists of two render threads an one main thread. The rendering is synchronized after each frame with a wait-notifyall structure.
My problem is to swap the buffers in all render threads at the same time. I deactivated the auto swapping and swap before i start to render the next frame (GLWindow.swapBuffers()). But the swapping isn't realy synchronized. Is there an easy way to swap all buffers at the same time?
thx