RE: [AD] Poor Ming performance

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> I can think of the following one: to add a new method to the gfx driver
> (namely hfiller or something like that) that would be called by the
> primitives performing filling operations (circlefill, ellipsefill and
> triangle).
> 
> It would then be up to each driver to connect the method either to the
> hw-accelerated version or to the software one, depending on the
> hw-accelerated calls overhead.

how about not adding this one and let the accelerated gfx driver replace
the normal hline entry in GFX_VTABLE with a pointer to the software one
if it deems the speed of the acceletated hline to be not high enough ?

-- 
Lyrian 



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/