On 8/25/06, Jon Smirl <[EMAIL PROTECTED]> wrote:


From a software view I don't draw blue rects. I set the foreground to
blue in the graphics context and then just draw a filled rect. That's
because I can also set the graphics context to trigger a patterned or
textured or gradient fill too. The context remembers hundreds of
settings like these - lighting, shading, etc.

And I agree that that's something we should consider carefully when we
make the final definition.


That is part of the complexity of multitasking the GPU command
streams. Each command stream has its own context. Contexts that I have
worked with range from 2K to 8K in size. The radeon has some way of
only loading the deltas to the context on context swap but I forgot
how it works.

I'm going to try to make it easy for software to keep track of this
stuff so that software is in charge of changing the context when
appropriate.  I don't want the GPU to have to track multiple contexts.
And we can do this without ever reading from the GPU.  Have shadows
of the GPU state registers, global, and local, and the driver will
insert appropriate packets into the ring buffer just before the
indirect command for the client.
_______________________________________________
Open-graphics mailing list
[email protected]
http://lists.duskglow.com/mailman/listinfo/open-graphics
List service provided by Duskglow Consulting, LLC (www.duskglow.com)

Reply via email to