Talk About Network

Google





Graphics > OpenGL 3D API > Re: dual screen...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 11 Topic 4781 of 5061
Post > Topic >>

Re: dual screen OpenGL

by Wolfgang Draxinger <wdraxinger@[EMAIL PROTECTED] > Jun 4, 2008 at 01:15 PM

Serve Lau wrote:

> I'm investigating the use of OpenGL on Linux and 2 screens. But
> I'm wondering if it's possible to use OpenGL on multiple
> screens and if so how?
>=20
> For instance glLoadIdentity() sets the current matrix to the
> identity matrix, but when you have 2 screens you have to
> specify which screen=C2=B4s matrix which you cant. So is it possible
> to control 2 screens in 1 OpenGL application?

Either do a windows spaning over both screens and set an
apropriate view****t with glView****t / glScissor, or create two
windows, each with it's own rendering context. Then you
can "select" the screen, by making the desired context current.
You can share objects (i.e. Display Lists, Textures, stuff like
that) between contexts, by supplying the context you want to
share with as the "shareLists" parameter of glXCreateContext.

Wolfgang Draxinger
--=20
E-Mail address works, Jabber: hexarith@[EMAIL PROTECTED]
 ICQ: 134682867
 




 11 Posts in Topic:
dual screen OpenGL
"Serve Lau" <  2008-06-04 13:11:38 
Re: dual screen OpenGL
Wolfgang Draxinger <wd  2008-06-04 13:15:31 
Re: dual screen OpenGL
"Serve Lau" <  2008-06-04 14:36:51 
Re: dual screen OpenGL
Wolfgang Draxinger <wd  2008-06-04 16:11:16 
Re: dual screen OpenGL
"jbwest" <jb  2008-06-04 17:43:27 
Re: dual screen OpenGL
"Serve Lau" <  2008-06-05 08:51:22 
Re: dual screen OpenGL
"jbwest" <jb  2008-06-05 17:50:31 
Re: dual screen OpenGL
"Serve Lau" <  2008-06-08 09:16:55 
Re: dual screen OpenGL
"Serve Lau" <  2008-06-08 09:20:30 
Re: dual screen OpenGL
"jbwest" <jb  2008-06-08 09:40:06 
Re: dual screen OpenGL
fungus <openglMYSOCKS@  2008-06-08 06:37:58 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Wed Jan 7 15:10:20 PST 2009.