Hi all,
The immediate mode drawing is working now. This enabled me to implement most (all ? - I am not sure which ones I missed) of rendering primitives.
Thus the "shimmering_gears" snapshot. If you checkout r300_driver from CVS with this tag (i.e. "cvs co r300_driver -r shimmering_gears") you will get a DRM module and an R300 Mesa driver.
Running glxgears with this combination will display 3 gears (along the same axis as transform does not work yet) that change color.
If you want to benchmark, run glxgears 2> /dev/null to get rid of debugging messages, you should get about 1000 fps.
I hand tweaked 4-th coordinates of vertices and colors to display something sensible. Does Mesa actually use those ? (Especially color ones).
Yes, but you have to respect the 'size' parameter of the vertex arrays. Eg. if size == 2, then you either have to supply the last two components of the array yourself, or preferably program the hardware to only expect the first two components. Where size < 4, the missing components come from the vector {0,0,0,1}.
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://productguide.itmanagersjournal.com/
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel