Compress events as part of the frame cycle
authorOwen W. Taylor <otaylor@fishsoup.net>
Sat, 6 Jun 2009 23:10:41 +0000 (19:10 -0400)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Tue, 9 Jun 2009 14:03:56 +0000 (15:03 +0100)
commit6e69692e22334d15e2d01d39439362bbf1ba8679
tree2c2e9ad1ab03edd5128750793f75b59344f8c85e
parent89a8fd7755b7a12d579994f7cf0d0e66cf7f99b6
Compress events as part of the frame cycle

Instead of trying to guess about which motion events are
extraneous, queue up all events until we process a frame.
This allows us to look ahead and reliably compress consecutive
sequence of motion events.

clutter-main.c: Feed received events to the stage for queueing.
  Remove old compression code. Remove clutter_get_motion_events_frequency()
  clutter_set_motion_events_frequency()
clutter-stage.c: Keep a queue of pending events.
clutter-master-clock.c: Add processng of queued events to the
  clock source dispatch function.

http://bugzilla.openedhand.com/show_bug.cgi?id=1637

Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
clutter/clutter-main.c
clutter/clutter-main.h
clutter/clutter-master-clock.c
clutter/clutter-private.h
clutter/clutter-stage.c