<br><br><div><span class="gmail_quote">2007/8/22, Jonas Maebe <<a href="mailto:jonas.maebe@elis.ugent.be">jonas.maebe@elis.ugent.be</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>On 22 Aug 2007, at 20:59, Evgeniy Ivanov wrote:<br><br>I guess the problem is that you blit the entire screen after every<br>drawing operation. It will be faster when drawing lines at a time,<br>but still slow. In theory, the flipping could/should be done from a
<br>separate thread, which only does the flipping once per vertical<br>refresh of the monitor. I don't know whether SDL provides access to<br>this information though.</blockquote><div><br>Thanks a lot! Now I understand how I may speed up it.
<br>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.<br></div><br></div><br><br clear="all"><br>-- <br>E.I.