向RenderTargetBitmap添加可选的硬件加速

zez*_*000 2 hardware silverlight wpf acceleration rendertargetbitmap

有没有替代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

jgr*_*ves 5

你看过BitmapCacheBrush了吗?

该类是硬件加速的(在GPU上运行),可以像任何其他画笔一样使用(只需创建一个Rectangle并将其Fill属性设置为画笔).