tags:

views:

32

answers:

1

We have a WPF application running on a PC with two video cards (one fast, one slow). The default monitor is connected to the fast card. Our application starts on the "fast monitor" showing RenderCapability.Tier = 2. WPF Performance Suite confirms it's using hardware rendering. However, when I drag the app from the "fast monitor" to "slow monitor", here is what I find:

  1. By using WPF Performance Suite, I can tell the application is switched to software rendering mode.
  2. RenderCapability.TierChanged event is not triggered. (This is as expected based on this)
  3. Requery on RenderCapability.Tier >> 16 still gives RenderCapability.Tier = 2.

RenderCapability doesn't seem to tell the full story. Is there a way I can catch this rendering mode switch?

A: 

Does the tier changed event fire? http://msdn.microsoft.com/en-us/library/system.windows.media.rendercapability.tierchanged.aspx

Jeremiah Morrill
2. RenderCapability.TierChanged event is not triggered. (This is as expected based on this)
Kai Wang