Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Bwuce_Wee

OpenGL OpenGL and multiple graphics adapters

This topic is 5884 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
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 ..

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
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]

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!