[debug] Adds a dump-pick-buffers CLUTTER_DEBUG option
authorRobert Bragg <robert@linux.intel.com>
Thu, 24 Sep 2009 11:49:17 +0000 (12:49 +0100)
committerRobert Bragg <robert@linux.intel.com>
Thu, 24 Sep 2009 20:41:49 +0000 (21:41 +0100)
commitdae569b468c286ea23aa0e74e910232e025932db
treec32bfe1f5e10f0858becaaa221248fd364666a48
parent27ae9722dedb5bc25415c32326ffc7ba4ef1557d
[debug] Adds a dump-pick-buffers CLUTTER_DEBUG option

Now if you export CLUTTER_DEBUG=dump-pick-buffers clutter will write out a
png, e.g.  pick-buffer-00000.png, each time _clutter_to_pick() is called.
It's a rather crude way to debug the picking (realtime visualization in a
second stage would probably be nicer) but it we've used this approach
successfully numerous times when debugging Clutter picking issues so it
makes sense to have a debug option for it.
clutter/clutter-debug.h
clutter/clutter-main.c