PDA

View Full Version : OpenGL render/driver enumeration



aesop
09-08-2011, 04:44 PM
hi everyone,
I'm trying to find the Windows functions for enumerating the available OpenGL drivers/renderers and querying their capabilities. For systems with several different graphics cards, I'm trying to build up a list of their drivers etc.

The equivalent on OSX are these functions:
/*
** Renderer information functions
*/
extern CGLError CGLQueryRendererInfo(GLuint display_mask,
CGLRendererInfoObj *rend, GLint *nrend);
extern CGLError CGLDestroyRendererInfo(CGLRendererInfoObj rend);
extern CGLError CGLDescribeRenderer(CGLRendererInfoObj rend, GLint
rend_num, CGLRendererProperty prop, GLint *value);

V-man
09-09-2011, 07:10 AM
There are the Win32 function = EnumDisplayDevices and EnumDisplaySettings
but they aren't GL related.