On Fri, 1 Nov 2002, Scott Long wrote:

> I guess I'm proposing some sort of X extension that allows a 
> particular X request to be tagged as "synced to vblank." For example a 
> XCopyArea request could be preceded by another request (call it 
> XRequestVerticalSync) that indicates to the server that the operation 
> shouldn't be performed until a vblank period.
> 
> This is a very simple change. If no driver support exists for vertical 
> sync, the server can just politely ignore the request, and do the 
> operation whenever it feels like it. This would at the very least 
> provide a framework for individual driver writers to start working on 
> a kernel interface.
> 

   Your "XRequestVerticalSync" implies that this would be applied
to only this client's next request.  This would mean that the dispatch
level code would have to make note of this, and make a call into the 
driver before the next request from the same client.  It can't call
into the driver as soon as it gets it, because the next requests
it gets may be from different clients.

   Anyhow.  If there was such a entry point into the driver, and the 
top-level dispatch code could delay calling it until the correct
point, I could support this in NVIDIA's binary drivers. 

   You'd have to define which request XRequestVerticalSync acted on.  
Ie. any request, or only certain requests.


                        Mark.

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

Reply via email to