Hardware acceleration RRS feed

  • Question

  • Please tell me, how to programmatically determinate level of acceleration on WPF application?

    For example. Start a Microsoft Expression Blend, open "Help" menu -> "About Expression Blend". About windows appears, and on bottom of this window is wrote "Full optimized rendering is supported by your system and video drivers". How determinate this?

    Forgive my bad English :)

    Friday, March 2, 2007 6:19 PM


All replies

  • I suppose application cannot determine, what is rendered by graphic card. It depends on OS, if it is Vista + aero enabled or Vista + aero disabled or Windows XP.

    And how to determine this?


    if (Environment.OSVersion.Version.Major < 6) => not running Windows Vista


    internal static extern void DwmIsCompositionEnabled(ref bool isEnabled);


    bool isAeroEnabled = false;
    DwmIsCompositionEnabled(ref isAeroEnabled);

    Friday, March 2, 2007 7:27 PM
  • But I have a Windows XP

    At home I have video card GeForce 5700 and Blends says me "Full optimezed..." and at work I have Intel GMA 900 and Blend says me "Some optimized..."

    Friday, March 2, 2007 7:58 PM
  • Wednesday, March 7, 2007 7:18 AM