Web lists-archives.com

Re: Display Raster Data?

On Wed, Aug 1, 2018 at 9:44 AM, Luca Bacci via gtk-list <gtk-list@xxxxxxxxx> wrote:
I suggest you use GStreamer, you can build a video by pushing bitmap frames and it does everything else for you.

Otherwise, you can animate a DrawingArea. Set up a 60hz timer on your own. The timer callback simply calls
gtk_widget_queue_draw_area(). Then, on the draw_func of your drawingarea you display the bitmaps, one after another.
That's the simplest solution but can have lower timing quality

in GTK3, this is almost certainly not the best way to do this. You want to use a frame timer based on the refresh/vblank cycle of the monitor.
gtk-list mailing list