Skip to content

{ Author Archives }

WHO: Seema Ramchandani, PM on Silverlight
WHERE: Microsoft Campus – Redmond, WA

XPerf: A CPU sampler for Silverlight

[originally posted on http://blogs.msdn.com/seema, moving hosting sites] For those of you who are a) building graphics-intensive applications or b) trying to debug your performance, I would like to introduce xperf and xperfview. These are two profiling tools which can be used to analyze the performance of any Microsoft technology, including Silverlight. These tools have existed […]

Perf Debugging Tips: EnableRedrawRegions; a performance bug in VideoBrush

[originally posted on http://blogs.msdn.com/seema, I am moving hosting sites] Was chatting with Andy Beaulieu at Remix Boston, and he was commenting that it seems that Silverlight only draws when needed — it is true, we try to not waste your CPU cycles. For Perf debugging, a way to tell when you are causing a redraw is […]

Macs and Silverlight Perf

[this post was originally posted on http://blogs.msdn.com/seema on Oct 2, 2007. It is reposted here as I’m moving hosting sites -Seema] I met recently with two designers trying to figure out “what was Silverlight doing under the covers? did I accidentally turn on some feature?” My first thought is to reference my post on how to […]

Silverlight: A few thoughts on minimizing CPU usage

[this post was originally posted on http://blogs.msdn.com/seema on Aug 9, 2007. It is reposted here as I’m moving hosting sites -Seema] The first two suggestions will have the most drastic improvement on the performance of your Silverlight application, and can affect CPU usage, framerate, and application responsiveness. IsWindowless=false is faster Do not turn on isWindowless unless […]

WPF Layered Windows, update for Hardware Acceleration

Good news! A QFE has been released to enable WPF HW acceleration on layered windows on XP: http://support.microsoft.com/kb/937106/en-us enjoy!

WPF: “Why do my bitmaps look blurry?” by Anthony Hodsdon & Miles Cohen

[this post was originally posted on http://blogs.msdn.com/seema on Nov 07, 2006. It is reposted here as I’m moving hosting sites -Seema] Guest Writers: Anthony & Miles are Developers on the WPF 2D Graphics team. Anthony specializes on our Geometry, Miles focuses on the Brushes codepath. We in WPF-land have been fielding a lot questions from […]

On some monitors, it seems that thin WPF lines are blurred across two pixels instead of one. Ick. How do I get sharply rendered lines?

[this post was originally posted on http://blogs.msdn.com/seema on Oct 31, 2006. It is reposted here as I’m moving hosting sites -Seema] Rectangle Without Pixel snapping With Pixel Snapping An anti-aliased rectangle zoomed in on Magnifier: WPF offers a way to get sharp lines and keep anti-aliasing, by auto-magically aligning the horizontal and vertical edges of […]

WPF: Layered windows…SW is sometimes faster than HW

[this post was originally posted on http://blogs.msdn.com/seema on Oct 25, 2006. It is reposted here as I’m moving hosting sites -Seema] Previously, I had posted that Avalon’s layered windows on XP will be rendered via the software pipeline. One can create a layered window by setting Window.AllowsTransparency=”true”. I’ve seen a few forum posts about performance issues, and […]

WPF: After animating text, the text seems to pause for 1 second and then render more sharply than before. Why is that?

[this post was originally posted on http://blogs.msdn.com/seema on Oct 20, 2006. It is reposted here as I’m moving hosting sites -Seema] In all 4 images, we see anti-aliased, sub-pixel positioned, ClearType text. The rendering on the right column is pixel snapped, which sends the glyphs through a refined codepath by Mikhail Lyapunov for rendering the […]

WPF HW Acceleration of Layered Windows for RTM

[this post was originally posted on http://blogs.msdn.com/seema on Sept 18, 2006. It is reposted here as I’m moving hosting sites -Seema] To obtain GPU-accelerated rendering, Windows Presentation Foundation (WPF) normally renders and presents graphical content through the DirectX pipeline – including the composition of the scene geometry and presentation of the results. Since before Windows […]