Re: paint clock

2010-10-04 Thread Havoc Pennington
, but something like clutter gtk could override and ignore GdkWindow entirely and use a paint clock. Havoc ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: paint clock

2010-10-03 Thread Soeren Sandmann
Havoc Pennington writes: > We had terrible luck with anything that involved installing a timeout > (i.e. polling with nonzero timeout). In part this may be that the > shipping litl product is based on 2008 or so Linux which I believe has > 10ms resolution on poll timeouts... so the noise in timeo

Re: paint clock

2010-10-02 Thread Havoc Pennington
n you have a good chance that each of your frames will show up and that you'll get a different frame on each vsync. For example even in a non-GL GTK, if GTK queried the refresh rate (e.g. XRRConfigCurrentRate()) and used that for the paint clock, I bet it makes GTK animations look way nicer t

Re: paint clock

2010-10-02 Thread Havoc Pennington
Hi, On Sat, Oct 2, 2010 at 8:57 PM, Matthias Clasen wrote: > If we move to a fixed order of doing things each frame, like Owen > described here: > http://blog.fishsoup.net/2009/05/28/frames-not-idles/ A link I obviously should have included, thank you >, then the paint > cloc

Re: paint clock

2010-10-02 Thread Havoc Pennington
Hi, On Sat, Oct 2, 2010 at 6:37 PM, Xavier Bestel wrote: > * how do you handle multimonitor setups where an application can have 2 > different vblanks to care about ? > Separate paint clock per toplevel, I guess. The approach in the patch of gdk_window_set_paint_clock() would support

Re: paint clock

2010-10-02 Thread Matthias Clasen
On Sat, Oct 2, 2010 at 10:43 AM, Havoc Pennington wrote: > Adding Paint Clock to GTK+ > === > > The attached patch shows some initial effort to do this. It introduces > a simple paint clock object. and initially implements it with an idle > that works like the current GTK+ i

Re: paint clock

2010-10-02 Thread Soeren Sandmann
thing like gdk_window_process_exposes(). Soren Havoc Pennington writes: > Hi, > > I did some doodling around to figure out how GTK could have a "master > clock" or "paint clock." Some of the problems are a little thorny and > I need to put this down for a whil

Re: paint clock

2010-10-02 Thread Xavier Bestel
Le samedi 02 octobre 2010 à 10:43 -0400, Havoc Pennington a écrit : > Some questions to think about: * how do you handle multimonitor setups where an application can have 2 different vblanks to care about ? Xav ___ gtk-devel-list mailing list g