Keith Whitwell wrote:

Thomas Hellström wrote:

Hi!

If one were to consider "borrowing" a Unichrome texture unit for Xv, is there some sort of locking mechanism or is the texture source address and stride accompanied with each command buffer it is used?


Just check/set the ctxOwner value in the sarea when X touches the 3d hardware. If the value is unchanged since you set it last time, the hardware is still yours, otherwise you need to restore all state except texture images. Have a look in via_context.c at viaGetLock(). Note this is only called on contended locks.

Ah, thanks. The new Unichrome Pros have two nice fast video processors that can color transform and scale to some degree as part of a blitting stage. For step-less down-scaling it might need some help.


/Thomas


Keith


------------------------------------------------------- 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_ide95&alloc_id396&op=click -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-deve l






-------------------------------------------------------
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_ide95&alloc_id396&op=click
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to