> From: Havoc Pennington <[EMAIL PROTECTED]>
>
> Deborah Swayne <[EMAIL PROTECTED]> writes:
> > 
> > The use of plural drawing routines (draw_points instead of
> > draw_point, etc) improves drawing speed **twenty-fold** for
> > Windows versions of gtk programs.
>
> The reason draw_points() etc. have never been included is that the
> patch has always been for X11. Under X, multiple draw_point() requests
> in a row get compressed by Xlib anyhow, so draw_points() is not faster
> in any way.
>
> On Windows, the first and best option would be to do something
> similar, i.e. transparently do the compression into a single call,
> without the programmer having to fool around with making an array of
> points or rectangles or whatever.

Mabye the windows version of draw_point could cache the points, and
then call draw_points on a timeout when the main loop executes?

                                        Ron Steinke

_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to