RE: [AD] minor issues

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


> Our blit loop and clear loop overhead is horrible: Each iteration takes
> up dozens of cycles to set itself up, not counting the virtual function
> call in to set up the line pointers for video bitmaps (which, btw,
> happens once per scanline).

Can this be improved (I assume so, based on what you say)? If so, any
chance that you can lend a hand here, or provide some help to others?
I'm afraid my own asm skills are fairly rusty, not to mention almost a
decade out of date.

> My vote is to:
>
> - special case memory bitmaps and use a much simpler assembly code, or
> even memset/memcpy
> - special case the non-VESA-or-MOdeX video bitmaps to lock the whole
> region at a time and save that indirect function call.

Sounds good, and shouln't be too hard to do I suppose (change the bitmap's
vtable, or am I now thinking too naively?)

Evert




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