openGL with multiple graphics card
I have an OpenGL application that renders in two widgets using two different threads ("A" and "B") sharing the same OpenGL context. So far this app runs on a Linux system with a single graphics card. I understand that when thread "A" renders in the first widget, thread "B" has to wait intil "A" finishes its work.
I was thinking about speeding up the app by using a system with two graphics cards (PCI Express) and two monitors. For simplicity, each card drives its own monitor. How would I initialize GL context in this case ? Is there a sample code I could use?
I use Linux 2.6/X11.