OpenGL and multiple graphics adapters

Started by
3 comments, last by Bwuce_Wee 21 years, 7 months ago
I have been searching for any scrap of information relating to how to handle multiple graphics adapters/screens with OpenGL. All I need is to list the adapters on the system, and allow my OpenGL rendering context to run on that card. Please help - anything is appreciated
Light at the end of the tunnel? I can''t even find the tunnel!!
Advertisement
i think you can use DirectX to enumerate the devices
prob is that not all the devices that are DX compliant are OGL compliant eg. Savage3D

dunno if thats of any use tho ..
"I am a donut! Ask not how many tris/batch, but rather how many batches/frame!" -- Matthias Wloka & Richard Huddy, (GDC, DirectX 9 Performance)

http://www.silvermace.com/ -- My personal website
Look at this thread:

OpenGL Enumeration

[edited by - p4n1c on September 12, 2002 8:55:50 AM]
-----For I have seen the face of evil and it will not soon be forgotten.
Thanks for the help.

The last thing I would do is use both OpenGL AND DirectX
(I got a little peeved at DirectX lately - OpenGL is a lot cleaner)

That information in the thread - that was a little useful
However - it does not say how to force an OpenGL window (in Win32) to use a particular device

It seems to me that I would need to create a DC to the device - separate from the window''s DC.
This is not exactly a route I would like to go, but I can''t think of an alternative.
(but it does bring up some interesting ideas)

Any other ideas?
Light at the end of the tunnel? I can''t even find the tunnel!!
On Win32 systems, you can use the EnumDisplayDevices function to enumerate all available display adapters. To enumerate screens (monitors), use EnumDisplayMonitors.

Attention: That won't work on Windows 95 (MSDN says it's Win98 or later)!

[edited by - Origin on September 13, 2002 4:20:58 PM]

This topic is closed to new replies.

Advertisement