Posts
  • SilverLite

    XPerf: A CPU Sampler for Silverlight

    • 21 Comments
    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...
  • SilverLite

    PDC video, TechEd Iceland, VS2010, profiling, Silverlight 4

    • 13 Comments
    (I know I promised this eons ago, so apologies in advance... on the flipside, I'm posting from my vacation in Paris, so hopefully that earns me 1-2 brownie points back.) First, m y PDC slides and the video . This is the same talk that I gave at TechEd...
  • SilverLite

    Published the Source code for Silverlight 2 Runtime & SDK Controls

    • 11 Comments
    Hi all, We’ve just published the sample source code for the Silverlight 2 Controls as shipped in the runtime and the SDK. Within the RuntimeControls folder, you’ll see a Solution that contains three projects: 1. SilverlightControls – One can...
  • SilverLite

    Layered windows...SW is sometimes faster than HW

    • 8 Comments
    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 the key takeaway...
  • SilverLite

    Silverlight: A few thoughts on minimizing CPU usage

    • 7 Comments
    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. 1. IsWindowless=false is faster Do not turn on isWindowless...
  • SilverLite

    Going to Vegas with my Phone...

    • 7 Comments
    For those wondering my current project is, I can finally talk about it! I'll be speaking at Mix, hope to see you there! SILVERLIGHT PERFORMANCE ON WINDOWS PHONE Learn how to optimize your Silverlight code for Windows Phone. This session will...
  • SilverLite

    What is the Silverlight Font?

    • 7 Comments
    Saw this forum post , and thought it worthwhile to send out an FYI to the rest of the world: In Silverlight 1.0, we use Lucida as the default font. For Silverlight 2 apps, we created a world-friendly font, called the Portable UI font (PUI!), which...
  • SilverLite

    Perf Debugging Tips: EnableRedrawRegions & a performance bug in VideoBrush

    • 6 Comments
    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 to turn...
  • SilverLite

    Avalon Hardware Acceleration & Video Driver Compat

    • 6 Comments
    Hello. Seema Ramchandani here, PM of the Avalon 2d & 3D graphics team. Many people have asked me about what is this celebrated feature called “Hardware Acceleration”. In this post, “hardware acceleration” refers to harnessing the GPU to render...
  • SilverLite

    HW Acceleration of Layered Windows for RTM

    • 6 Comments
    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...
  • SilverLite

    PDC: Deep Dive into building an optimized graphics-intensive SL app

    • 5 Comments
    Thank you everyone for attending. For those who could not make it, you can check out my talk here on channel9 , it was PC06: In this deep dive session we pull the covers off of the layout, rendering, and media pipelines to discuss how things work...
  • SilverLite

    Tips for creating massive amounts of shapes

    • 5 Comments
    I am often asked how to reduce the creation time for a massive number of shapes. Try a few things: 1) Use XamlReader.Load when you can (with the mini-language), which allows you to use the native parser and not managed code to create new shapes...
  • SilverLite

    See you in Vegas!

    • 4 Comments
    Headed to Vegas tomorrow for Mix09. If you join us at The Venetian, either in person or online, check out my two talks: Deep Dive into Silverlight Graphics , Thurs at 10:30-11:45am Building an Optimized, Graphics-Intensive Silverlight Application...
  • SilverLite

    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?

    • 4 Comments
    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...
  • SilverLite

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

    • 3 Comments
    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 folks concerned that bitmaps viewed in...
  • SilverLite

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

    • 3 Comments
    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 final text in an extremely polished...
  • SilverLite

    Macintosh & Silverlight perf...

    • 3 Comments
    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 minimize CPU usage. We have to learn how to conserve not...
  • SilverLite

    Summary of the 20min perf talk

    • 3 Comments
    The 20 minute talk is posted here . I spoke till the speaker timer started to flash at me (giant flashing clock), which resulted in having no time for a forum Q&A, but feel free to post your questions/comments down below. I'm always curious about...
  • SilverLite

    Video of "Deep Dive into SL Graphics" is posted

    • 3 Comments
    The video for my talk on graphics is now posted, with slides: http://videos.visitmix.com/MIX09/T17F Demos: Demo project for building an invert shader Demo project for using a transition effect Note that I deleted the original images...
  • SilverLite

    HW Acceleration of Layered Windows - Good news!

    • 2 Comments
    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!
  • SilverLite

    See you at Remix Boston!

    • 2 Comments
    Weather has turned dreary in Seattle already, I'm headed to Boston for a bit of warmth and to see the leaves turn....but more importantly: I'm giving a talk at Remix Boston on Tuesday at 9am, introducing Silverlight as a developer and media platform....
  • SilverLite

    A Chat with WPF experts and other news...

    • 1 Comments
    Our wonderful platform evangelist, Tim Sneath , has organized an event to talk to the WPF experts. I will unfortunately not be able to attend as I am celebrating my birthday with my family. =) Tim sends out the formal invitation: Following on from...
  • SilverLite

    EnableFramerateCounter, Setting your Framerate correctly

    • 1 Comments
    Debug tool I posted about EnableFramerateCounter before -- it is a simple little debugging setting that you can use when trying to figure out: Which of these designs hurts my framerate more? If I add this module in, does it hurt my framerate...
  • SilverLite

    Getting to the Media FastPath

    • 1 Comments
    Earlier this week, us in the Silverlight perf and media teams reviewed Ben Waggoner's tutorial on how to build fast media players, check it out here: http://on10.net/blogs/benwagg/Building-high-performance-Silverlight-Media-Players/ Tis a great...
  • SilverLite

    Silverlight Tip of the Day, some tips from the Silverlight perf talk

    • 1 Comments
    Mike Snow posted a few of the tips from my PDC talk here, it's a great summary. You can check it out here . Cheers! Seema
Page 1 of 2 (29 items) 12