Hi Ferenc,

You should be able to take care of what you are after with GTK. The 
GdkFrameClock works very well for smooth animation. It will get rid of the 
jitter. Give it a try. You would just need to set up your code a little 
differently.

It you are interested in a simple animation with a frame clock, there is one at

https://github.com/cecashon/OrderedSetVelociRaptor/blob/master/Misc/cairo_drawings/battery2.c

The drawing is with cairo but the idea is the same. You could render your GL 
widget in a similar way and the result will be smooth animation if your drawing 
times are fast.

Eric


_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list

Reply via email to