Re: [AD] clipping line algorithm |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
> > Could this all be solved by having _linear_line() and other primitives > > which use _put_pixel() ? > > Do you mean adding new methods to the vtable? > No, I mean having _linear_line() bypass the vtable, and use _putpixel() inlined. This seems logical to me as vtable->line is a primitive in itself which may be accelerated, where it would ignore vtable->putpixel anyway.
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |