On Fri, 26 Oct 2001, Sottek, Matthew J wrote:
> >If I blt a frame with the XV_FRAME_TYPE atom set to XV_FRAME|XV_HOLD,
> >and then, sometime later, I set the atom to XV_FRAME, what kind of
> >latency would I be looking at before that held buffer would show up?
> >Is setting atoms a synchronous call? Would I be certain the frame is
> >on the screen when it returns? I don't really care which way as
> >long as....
>
> I will flip the buffer on the the next vertical retrace. The
> XvSetAtom call will return quickly as long as you don't call it
> more than once per vertical retrace, then is has to block.
XvSetPortAttribute and Xv(Shm)PutImage (and most other Xlib
functions) do not return. They send a message to the X-server.
The X-server will process it when it gets it. As usual, if
you need this request to go to the server immediately you need
to call XFlush. If you need an acknowledgement that the server
processed the event you need to call XSync.
Mark.
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert