[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CS results on Console and X
jorrit wrote:
> > It's necessary - but it won't speed your code up at all.
>
> In the case of CS it is not necessary (at least not in X version). Because CS needs
> to wait every frame for XSHM to finish processing the previous frame.
I already had a XSync in there, but thanks to my dirty rect trick, the
blit routine wasn't getting called much, so I put an unconditional
usleep(1) in there. Maybe calling XSync every frame would do the trick.
--
Pierre Phaneuf
Ludus Design - http://ludusdesign.com/