test-picking: Don't manually paint the stage
authorRobert Bragg <robert@linux.intel.com>
Thu, 20 Jan 2011 18:30:55 +0000 (18:30 +0000)
committerRobert Bragg <robert@linux.intel.com>
Fri, 21 Jan 2011 16:18:11 +0000 (16:18 +0000)
commit3f9e8591671d0c81d5d4034f0895bca3f98cb4c0
treea96e1358e4014e7325c4053e1a171e6c5c808c98
parent9a663d8e4106e43f8f214b7fdded555ee408cf28
test-picking: Don't manually paint the stage

Instead of using an idle handler that synchonously paints the stage
by manually calling clutter_actor_paint (stage) the test now uses an
idle handler that repeatedly queues a redraw on the stage.

do_events is now called from a "paint" signal handler for the stage, and
instead of manually determining the fps the test now uses
CLUTTER_SHOW_FPS=1 instead.
tests/micro-bench/test-picking.c