GNOME Bugzilla – Bug 698794
Use new clutter_stage_set_paint_callback() function for after-paint notification
Last modified: 2013-06-03 17:22:54 UTC
Commit 4f2bb583bf8c changed things so that the compositor used clutter_threads_add_repaint_func_full (CLUTTER_REPAINT_FLAGS_POST_PAINT to get after-paint notification and send _NET_WM_FRAME_DRAWN, but this doesn't actually work, since Clutter will already have blocked for VBlank before calling post-paint functions. The result is that frame synced toolkits like GTK 3.8 will normally only be able to draw every other frame. Since ::paint doesn't work either, a new function clutter_stage_set_paint_callback() has been added to Clutter (and will be included in the 1.14 branch)
Created attachment 242368 [details] [review] Use new clutter_stage_set_paint_callback() function for after-paint notification
Review of attachment 242368 [details] [review]: OK.
The clutter patch is in 1.14.4 ... any reason not to push this?
Attachment 242368 [details] pushed as 1ad1357 - Use new clutter_stage_set_paint_callback() function for after-paint notification