Alex Deucher wrote:

Felix can probably phrase this better than I since he has worked more
closely with the 3D code. however, I think what he is asking is how
should vertex commends be formatted when sent to the 3D engine when
using indexed drawing commands? We want to separate drawing commands
and data so that we can do DMA securely to prevent someone writing
anywhere in memory.



Looks to me like they just write the BCI command (80030000 for triangle primitive) followed by three D3DTLVERTEX instances, 32 bytes each. The code copies each D3DTLVERTEX using the FPU: fild/fild/fild/fild/fistp/fistp/fistp/fistp. I wouldn't have guessed that was optimal for a 32-byte copy.


--
- Tim Roberts, [EMAIL PROTECTED]
 Providenza & Boekelheide, Inc.



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to