gtk clutter tearing

Claudio Saavedra csaavedra at igalia.com
Wed Dec 30 14:34:20 EET 2009


El mar, 29-12-2009 a las 17:17 +0200, Eero Tamminen escribió:
> This is not really 
> fixable due to how Gtk painting is arranged, parts of the window are
> painted in application callbacks. 

This is not totally correct. Application callbacks can only cause GTK+
to *invalidate* regions. In sane code, redrawing *never* happens in a
user callback but only in expose event callbacks, which are triggered by
GTK+ *only* when the time for redrawing comes.

Nevertheless, there are still issues with GTK+ and synchronization of
events. See [1] and [2] for a good explanation of these.

Claudio

[1] http://blog.fishsoup.net/2009/05/28/frames-not-idles/
[2] http://blog.fishsoup.net/2009/06/02/timing-frame-display/



More information about the maemo-developers mailing list