Readme for wglinfo.c -------------------- wglinfo is a small utility that displays all available Pixelformats in an OpenGL system, along with Renderer Version information. For usage information, type wglinfo -h Readme for modified wglinfo.c ----------------------------- September 24, 1999 Author: Michael Wimmer (wimmer#cg.tuwien.ac.at) WWW: http://www.cg.tuwien.ac.at/~wimmer This is a slightly modified wglinfo which is enhanced so as to show which Visuals (Pixelformats) are hardware accelerated. Two additional switches make it still easier to use. For all questions not concerning the enhancements made, please refer to the included source code. The original source code is to be found in the SGI OpenGL for Windows installation directory (normally c:\oglsdk) under 'examples\misc'. 1) Hardware accelerated Visuals In the 10th column, you will find two additional columns: ge ge ne ac Those capture the PFD_GENERIC_FORMAT (gene) and PFD_GENERIC_ACCELERATED (geac) flags of the Pixelformat descriptor. If 'gene' is set to no, there is most probably an ICD (Installable Client Driver) at work, i.e., a full OpenGL implementation by a hardware vendor. If 'gene' is set to yes and 'geac' to no, then the MS/SGI (whichever is reported) software implementation is at work. If 'gene' and 'geac' both are set to yes, then the generic implementation is supplemented by hardware acceleration, which should most certainly mean that an MCD (Mini Client Driver) is at work, i.e., a small driver that only exposes the rasterization interface of the underlying hardware. 2) Additional switches The '-w' switch will cause only the windowed Pixelformats to be listed, i.e., all Pixelformats which can actually be used for rendering (so all Pixelformats that can only render to bitmaps are omitted, making the output slightly more readable). The '-d' switch works around problems with some implementations where it is not possible to create an OpenGL context without special preparations (fullscreen mode or others). It forces wglinfo to only print Pixelformat information, but no renderer information (which would require a context to be created). This switch shouldn't be necessary for any current OpenGL driver. The '-b' switch works around a bug in the 3DFX Alpha driver that would cause the program to crash (the 3DFX alpha driver does not respond correctly to the 'DescribePixelFormat'-call when the parameter is 0, which should normally return the number of available PixelFormats). This switch shouldn't be necessary for any current OpenGL driver.