> On Mon, 4 Nov 2002 [EMAIL PROTECTED] wrote:
> 
> > You assume wrongly that things must happen in the vertical blanking
> > period. Since the screen is traced from the top on monitors, all an
> > operation has to do to get a flickerfree update, is to not collide
> > with the screen tracing. F.ex. it could draw the upper part of the
> > screen when the lower is traced, and vice versa. There are lots of
> > other solutions to this same problem.
> You are right. 

Stefan:
> That way you would get flickerfree updates without tearing effects.
> 
> But would not there be a problem of losing frames (under certain
> circumstances)? If you really want to make sure that all buffers
> swapped are indeed displayed on screen for some time, then there
> may be no way than strictly syncing to vblank every time the
> buffers are swapped. 

As long as the rendering program has to compete with other unknown
programs for resources, there is always the possibility of losing
frames. Solutions could be removing competing programs, giving it
maximum priority, real time operating systems, adaptive rendering
speed, multiple frame buffering, etc.

> IMHO, the resulting slowdown for the application is intentional.

Some sort of buffer must exist, and not using all available CPU is
also a buffer of sorts.

[EMAIL PROTECTED]
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to