Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有替代 RenderTargetBitmap 可以生成与 Image.Source 一起使用的图像并且在 .NET 3.5 sp1 中进行硬件加速的替代方法?.NET 4.0 的答案很好,但我可能无法使用它们。
如果人们发现它会有所帮助,他们应该投票赞成......就像我一样。
http://dotnet.uservoice.com/forums/40583-wpf-feature-suggestions/suggestions/1303525-add-optional-hardware-acceleration-to-rendertarget
你看过BitmapCacheBrush吗
该类是硬件加速的(在 GPU 上运行)并且可以像任何其他画笔一样使用(只需创建一个 Rectangle 并将其 Fill 属性设置为画笔)。