Visualizing gtk+ exposures postmortem

As of yesterday, I'm 25. It was a fun day of hiking, drinks, video games, and district9.

In gdkrecord, I added recording of GdkWindow sizes and exposure areas so that I can troubleshoot some pesky drawing problems with a few custom widgets.

And HTML5 Video below or at http://www.youtube.com/watch?v=XdOLjd52R4E.

Usage:

./gdkrecord-tool exposures myrecordfile.out

Comments (3)

  1. John wrote:

    Isn’t this the same as gdk_window_set_debug_updates ?

    Tuesday, August 18, 2009 at 2:32 am #
  2. chergert wrote:

    The main difference is being able to do it after the program has completed running.

    Tuesday, August 18, 2009 at 3:04 am #
  3. chergert wrote:

    Oh, and you can do it for programs that don’t pass argc/argv to gtk_init (such as most mono apps) since you hijack the main loop.

    Tuesday, August 18, 2009 at 3:06 am #