More testing...<br><br>I think the problem here is not the speed at which i can splash stuff onto a canvas (the difference between GTk1 vs GTk2 is very little), but rather the rate at which the OnPaint events are called with the TCustomControl class when using with GTk2<br>
<br>There seems to be a delay of at least 16ms between paint events (i measured 18.519ms).<br><br>I think the problem might be an indefinite sleep between each fetch from the event queue, or, the fetch is on a timer and only one event is fetched on each timer interval instead of flushing the entire queue on each timer event.<br>
<br>I don't know how the GTK2 implementation in fpc works. I'm only guessing here.<br><br>My FPC version is 2.2.4, target Linux for i386<br><br>I have not tried Qt yet.<br><br>Anyone with more advice?<br><br><div class="gmail_quote">
On Mon, Oct 19, 2009 at 5:53 PM, Felipe Monteiro de Carvalho <span dir="ltr"><<a href="mailto:felipemonteiro.carvalho@gmail.com">felipemonteiro.carvalho@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
You could try the Qt widgetset too.<br>
<br>
--<br>
<font color="#888888">Felipe Monteiro de Carvalho<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
fpc-devel maillist  -  <a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-devel" target="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-devel</a><br>
</div></div></blockquote></div><br>