OpenGL and multiple graphics adapters
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
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 ..
prob is that not all the devices that are DX compliant are OGL compliant eg. Savage3D
dunno if thats of any use tho ..
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?
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?
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]
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
Popular Topics
Advertisement