如何加快Visual Studio 2010文本编辑器的渲染速度?

时间:2021-10-18 02:43:34

Visual Studio 2010 moved to using WPF for rendering the editor. This is leading to slowdowns while I am editing code, especially if I'm running something else that uses other video capabilities.

Visual Studio 2010转向使用WPF渲染编辑器。当我编辑代码时,这会导致速度减慢,特别是如果我正在运行其他使用其他视频功能的东西。

How can I speed this up? A new video card? New drivers? Settings?

我怎样才能加快速度呢?一个新的视频卡?新司机?设置?

What technologies does WPF use to render and what video card would complement it?

WPF使用什么技术来渲染以及哪些视频卡可以补充它?

2 个解决方案

#1


11  

WPF uses DirectX for rendering, so a new top of the line video card would certainly help you out here. Any solid ATI or Nvidia card nowadays supports the latest and greatest DirectX.

WPF使用DirectX进行渲染,因此新的*视频卡肯定会帮助你。现在任何坚固的ATI或Nvidia卡都支持最新最好的DirectX。

#2


3  

The answer from @Charlie is absolutely spot on; and I thought about saying this on a comment but then figured I should put it as an answer.

来自@Charlie的答案绝对是真实的;我想在评论中说这个,但后来认为我应该把它作为答案。

Under certain circumstances (certainly on my desktop at work, which uses a workstation NVidia card), which are listed in the installation issues (connected with Hyper-V in particular), VS2010 fails to enable video acceleration even if it is available.

在某些情况下(当然在我工作的桌面上,使用工作站NVidia卡),安装问题中列出了(特别是与Hyper-V连接),VS2010即使可用也无法启用视频加速。

Open up Tools->Options, and on the very first options panel you'll see a group in the middle 'Visual Experience'. Just make sure that everything is checked in there and that it says 'Visual Studio is currently using hardware-accelerated rendering...'.

打开工具 - >选项,在第一个选项面板上,您将看到中间“视觉体验”中的一个组。只需确保在那里检查所有内容,并确保“Visual Studio当前正在使用硬件加速渲染......”。

I don't think the hardware requirements for VS2010 are particularly heavy - but your card certainly must be DX capable.

我不认为VS2010的硬件要求特别重 - 但你的卡肯定必须支持DX。

#1


11  

WPF uses DirectX for rendering, so a new top of the line video card would certainly help you out here. Any solid ATI or Nvidia card nowadays supports the latest and greatest DirectX.

WPF使用DirectX进行渲染,因此新的*视频卡肯定会帮助你。现在任何坚固的ATI或Nvidia卡都支持最新最好的DirectX。

#2


3  

The answer from @Charlie is absolutely spot on; and I thought about saying this on a comment but then figured I should put it as an answer.

来自@Charlie的答案绝对是真实的;我想在评论中说这个,但后来认为我应该把它作为答案。

Under certain circumstances (certainly on my desktop at work, which uses a workstation NVidia card), which are listed in the installation issues (connected with Hyper-V in particular), VS2010 fails to enable video acceleration even if it is available.

在某些情况下(当然在我工作的桌面上,使用工作站NVidia卡),安装问题中列出了(特别是与Hyper-V连接),VS2010即使可用也无法启用视频加速。

Open up Tools->Options, and on the very first options panel you'll see a group in the middle 'Visual Experience'. Just make sure that everything is checked in there and that it says 'Visual Studio is currently using hardware-accelerated rendering...'.

打开工具 - >选项,在第一个选项面板上,您将看到中间“视觉体验”中的一个组。只需确保在那里检查所有内容,并确保“Visual Studio当前正在使用硬件加速渲染......”。

I don't think the hardware requirements for VS2010 are particularly heavy - but your card certainly must be DX capable.

我不认为VS2010的硬件要求特别重 - 但你的卡肯定必须支持DX。