[fpc-devel] sdlgraph, pre-alpha

Evgeniy Ivanov lolkaantimat at gmail.com
Thu Aug 23 09:53:32 CEST 2007


2007/8/22, Jonas Maebe <jonas.maebe at elis.ugent.be>:
>
>
> On 22 Aug 2007, at 20:59, Evgeniy Ivanov wrote:
>
> I guess the problem is that you blit the entire screen after every
> drawing operation. It will be faster when drawing lines at a time,
> but still slow. In theory, the flipping could/should be done from a
> separate thread, which only does the flipping once per vertical
> refresh of the monitor. I don't know whether SDL provides access to
> this information though.


Thanks a lot! Now I understand how I may speed up it.
There're no flipping once per vertical refresh, but there is flipping of
needed rect (not entire screen). I will try to use it with separate thread.




-- 
E.I.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20070823/f27a7deb/attachment.html>


More information about the fpc-devel mailing list