> > The malloc()-call allocates enough memory for each scanline (depends on the
> > current visual->virt.y). 
>       As big as the framebuffer?  That's a bit overkill when most span
> sets will probably be for smallish GUI elements.

No - if I got him right, he's talking about having a
struct span { int start,stop } spans[vis->virt.y].

>       I've seen _huge_ performance increases when running on a target
> with accelerated hlines.  I haven't compared write-combining, but I'm sure
> it will also speed things up.  The mga2164w Matrox stubs target code,
> which I have been using recently with matroxfb and my G200, has both of
> these and it screams through the XMI demos.

BTW: You might have noticed that I added a simple Triangle primitive to the
kgicon command set - you're welcome to add support for that. I'll test
how that behaves on an acceled chipset.

CU, ANdy

-- 
= Andreas Beck                    |  Email :  <[EMAIL PROTECTED]> =

Reply via email to