devDept home page
Home
| Support | Purchase | Company
 
 
Tickets
Submit a Ticket
View your Tickets
License Profile
Resources
Documentation
Knowledge Base
FAQ
Change Log
Other
Contact Support
AskForHardwareAcceleration explained

 

  Info & Tags
 
Article #: 7
Created: 2010-06-14
Modified: 2010-07-14
Tags: hardware

Since it's impossible to predict what the graphics adapter and its driver will produce when hardware acceleration is present (especially on legacy systems), it is always recommended to provide also the ability to start your application without hardware acceleration. This cannot be done at runtime as you'd need to destroy the Viewport control and recreate it on the fly.

Restarting your application without hardware acceleration allows the user to calm down and start working with consistent 3D graphics even if performances are worse.

The best approach would be to save a flag in the registry and quit then reload your application with Viewport.AskForHardwareAcceleration=true/false depending on the user settings.

 

To help your customer you should generally proceed as follows:

  1. Install and start you application always with Viewport.AskForHardwareAcceleration = true.
  2. If the user experiences some graphical issues, ask him/her to uncheck the ‘Use hardware acceleration’ option and to restart the application.
  3. Now the user can - for sure - use the application.
  4. At his/her own convenience, he/she will try to upgrade the graphics adapter driver to the latest version available and activate again the ‘Use hardware acceleration’ option.

 

In the case this would not solve the issue, a graphics adapter upgrade is necessary.

 
Copyright © 2010 devDept Software. All rights reserved.