Re: [Xorg] Re: Damage/Composite + direct rendering clients

Ian Romanick <[email protected]> Mon, 24 May 2004 12:15:01 -0700
Newsgroups gmane.comp.video.dri.devel,gmane.comp.freedesktop.xserver,gmane.comp.freedesktop.xorg
Message-ID <[email protected]>
Andy Ritger wrote:

> The other concern (how to make sure direct rendering has completed
> by the time the drawable is used as a source in a composite
> operation) conceptually would be solved as you describe, but I
> expect the implementation would be buried deeper

I guess I don't see what the problem is.  The graphics device processes 
commands as a FIFO.  Groups of direct rendering commands are surrounded 
by a lock.  If the compositor uses the same lock, synchronization and 
proper ordering are guaranteed.

Determining if direct rendering has damaged a region is another kettle 
of fish, though...




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
--