ClutterStage: Replace clutter_stage_set_paint_callback() with ::after-paint signal

clutter_stage_set_paint_callback() has the disadvantage that it only
works for a single caller, and subsequent callers will overwrite and
break previous callers. Replace it with an ::after-paint signal that is
emitted at the same point - after all painting for the stage is
completed but before the drawing is presented to the screen.

https://bugzilla.gnome.org/show_bug.cgi?id=732342
This commit is contained in:
Owen W. Taylor
2014-06-05 15:21:05 -04:00
parent 9c74b98310
commit ec911dc8b9
5 changed files with 23 additions and 60 deletions

View File

@ -669,7 +669,6 @@ clutter_stage_get_accept_focus
<SUBSECTION>
ClutterStagePaintFunc
clutter_stage_set_paint_callback
clutter_stage_set_sync_delay
clutter_stage_skip_sync_delay