Re: [AD] DO_PARALLELOGRAM_MAP again

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


On 2010-09-11, Peter Wang <novalazy@xxxxxxxxxx> wrote:
> On 2010-09-10, Elias Pschernig <elias.pschernig@xxxxxxxxxx> wrote:
> > As can be seen in the failing [test scaled rotate 5][sw] unit test,
> > parallelogram_map cannot draw things which exceed the range of an
> > al_fixed, which is 32768. I suggested a few times already to move
> > al_draw_bitmap et al. into the primitives addon and then use the polygon
> > rasterizer in there for drawing rotated bitmaps, which has no such
> > limitations. It is slower though.
> 
> If we're going to do that then I'd rather move more of the primitives
> into the core.

BTW, there's no reason we couldn't use the faster parallelogram_map
implementation when possible, but fallback to the primitives
implementation if necessary.

Peter




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