How does one disable hardware acceleration in wpf?

后端 未结 4 1491
被撕碎了的回忆
被撕碎了的回忆 2020-12-14 10:31

What is the procedure for disabling hardware acceleration in WPF? What is it exactly? Is it a Windows setting, a Visual Studio setting, or something you alter in the code of

4条回答
  •  南笙
    南笙 (楼主)
    2020-12-14 10:36

    It is a machine-wide registry setting. See Graphics Rendering Registry Settings in the WPF docs for the registry key and other details relating to customizing WPF rendering.

    The key listed is: HKEY_CURRENT_USER\SOFTWARE\Microsoft\Avalon.Graphics\DisableHWAcceleration

    The MSDN document is "not available" for .NET 4.5, so this may be a depricated option that only works in 4.0 or below.

提交回复
热议问题