On Thu, 2005-02-10 at 22:23 -0500, Jon Smirl wrote:
> On Thu, 10 Feb 2005 21:59:29 -0500, Owen Taylor <[EMAIL PROTECTED]> wrote:
> > That should allow a straight-copy from data you create to memory card
> > the can texture from, which is about as good as possible.
> 
> If you have a big AGP aperture to play with there is a faster way.
> When you get the call to copy the texture from user space, don't copy
> it. Instead mark it's page table entries as copy on write. Get the
> physical address of the page and set it into the GART. Now the GPU can
> get to it with zero copies. When you are done with it, check and see
> if the app caused a copy on write, if so free the page, else just
> remove the COW flag.

Is there evidence that this is/would be in fact faster?

-- 
Eric Anholt                                [EMAIL PROTECTED]          
http://people.freebsd.org/~anholt/         [EMAIL PROTECTED]


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to