WPF 3D perfomance issue due to low graphics card memory?
My project uses 3D flip animations to show the forms. My problem is that the transitions are very slow in an XP machine. I checked the graphics card memory and its only 64MB. Does upgrading the graphics ca开发者_开发知识库rd make any difference in the perfomance?
It may make some difference, but there are other alternatives to manage UI performance if your app is intended for wider distribution.
Often, software rendering will outperform hardware on lower-end machines. This can be enabled (for ALL WPF apps) using a registry setting detailed here.
Additionally, WPF exposes a property that broadly categorises a machine's performance into three "tiers." Information on those can be found here. You can expose this value as a property (say, on your App
object) and use it in a Xaml trigger to selectively disable animations or high-end effects (shadows/blurs/etc) that might cause issues on slower machines.
On XP you may find that both of these are of benefit.
It is not just upgrading the graphics card that could benefit your application.
WPF doesn't run optimal on Windows XP.
You need to check several things: For rendering Tier 2 DirectX version: must be greater than or equal to 9.0. Video RAM: must be greater than or equal to 120MB. Pixel shader : version level must greater than or equal to 2.0. You should take look on Graphics Rendering Tiers http://msdn.microsoft.com/en-us/library/ms742196.aspx
精彩评论