gtk clutter tearing
Eero Tamminen
eero.tamminen at nokia.com
Wed Dec 30 15:18:24 EET 2009
Hi,
ext Xavier Bestel wrote:
>> But where inside the application process they happen (app or Gtk code)
>> is not so important. The issue is that Gtk (AFAIK) has no mechanism to
>> synchronize this drawing with the compositor and doesn't offer
>> applications any mechanism for it either. If painting/redrawing
>> takes too long (there's some delay between the X draw commands due
>> to what application does internally), it doesn't go the the same boxed
>> XDamage event to the compositor.
>
> AFAIK GTK+ redraws are double-buffered, so if it takes too long to
> redraw a frame it's simply delayed until the next one.
That double buffering overhead is used to get rid of flickering
resulting from successive clear+draw operations, (AFAIK) it's not
whole window buffer (for obvious memory usage reasons), so it's not
relevant for the tearing issue.
- Eero
More information about the maemo-developers
mailing list