WPF hardware acceleration

 wpf according to hardware rendering can make a third gear

The following dx7 0 profile does not support hardware acceleration

dx7-dx9 1st gear, hardware acceleration is not supported by all, but part of the support

dx9 above all support hardware acceleration

 

Programming can be replaced with the current way in which a rendering device level

int renderingTier = (RenderCapability.Tier >> 16);
if (renderingTier == 0)
{ ... }
else if (renderingTier == 1)
{ ... } 

 

Guess you like

Origin www.cnblogs.com/nocanstillbb/p/11696571.html
Recommended