Well, Currently, OpenGL doesn't contain a switch to enable or disable hardware acceleration. Some vendors might provide this capability with an environment variable or software switch.
If you install your graphics card, but don't see hardware accelerated rendering check for the following:
* Did you install the device driver / OpenGL Installable Client Driver (ICD)? (How do I do that?)
* Is your desktop in a supported color depth? (Usually 16- and 32-bit color are accelerated. See your device vendor for details.)
* Did your application select an accelerated pixel format?
You might also have acceleration problems if you're trying to set up a multimonitor configuration. Hardware accelerated rendering might not be supported on all (or any) devices in this configuration.
To force software rendering from your application, choose a pixel format that is not hardware accelerated. To do this, you can not use ChoosePixelFormat(), which always selects a hardware accelerated pixel format when one is available. Instead, use DescribePixelFormat() to iterate through the list of available pixel formats. Any format with the PFD_GENERIC_FORMAT attribute bit set will not be hardware accelerated.
Ron Fosner has a source code snippet that shows how to select a software-only pixel format, and how to select a pixel format based on other weighting criteria.
An example of iterating over available pixel formats can be found here.
A less tasteful method to disable hardware acceleration is to move or rename your OpenGL ICD.
Also, check your device's documentation to see if your device driver supports disabling hardware acceleration by a dialog box.
For more details , Please visit the source site :
http://www.opengl.org/res ources/faq/technical/mswindows .htm
Answered by
Alok Gupta
, an ibibo Guru,
at
6:40 PM on September 13, 2008