Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
Version 2.0, 2007-05-14
The extensions list now reflects the display selected in the popup, not just the main display. Added support for checking for Quartz Extreme, GLSL and the GLSL version. Cleaned up the UI. Updated to Xcode and Universal Binary.
(Full Revision History)
Mac OS X 10.3 or later
Applications may need to query the system about VRAM, video hardware, Quartz Extreme support, OpenGL extensions and renderer, GLSL version and support so that they can determine which output devices are best suited for their needs. VideoHardwareInfo shows how to query the system for these properties, and how to be notified about changes to the display configuration.