News for hackers. Stuff that matters.
Re:Context switch logging with the Windows Event Tracing API... by ibiza on Monday May 16, 2016 @09:10AM (#11705995)
Somewhat related, Jeff & Casey take down another MS API: How to draw a rectangle with Direct2D.

http://braid-game.com/news/2009/01/the-jeff-and-casey-show-o...

Re:Context switch logging with the Windows Event Tracing API... by ygra on Monday May 16, 2016 @11:56AM (#11707141)
Most of that sample is actually how to deal with the Window API to get a window that redraws itself when resized. All that has nothing to do with Direct2D. Drawing the rectangle is just three lines, actually.
Re:Context switch logging with the Windows Event Tracing API... by sythe2o0 on Monday May 16, 2016 @12:17PM (#11707310)
The files on that page wouldn't load for me-- the podcast that's being drawn from is here, and the Direct2D portion is around the 1 hour mark:

https://mollyrocket.com/jacs/jacs_0001_0050.html