Mail Archives: djgpp/1996/12/28/05:15:17
[Uzi Suicide] (tangchis AT iscs DOT nus DOT sg) wrote:
: [Uzi Suicide] (tangchis AT iscs DOT nus DOT sg) wrote:
: : I ported this to Allegro, using BITMAP *dbuffer, and putpixel to this
: : dbuffer, etc.
: : The result I got was 17fps using my own vbe 2.0 lib, and 7fps using
: : Allegro.
: I forgot to add - I tested both versions (Allegro and my own lib) using
: the exact same conditions, which includes invoking univbe to get vbe 2.0
: for a 640x480x8bpp mode (I specified grx_set_mode(5,640,480,0,0)) as well
: as compilation with the -O3 option.
: The only changes are ports for graphics primitives, eg putpixel.
Did you use putpixel or _putpixel? The latter can only be used safely on
memory-only bitmaps, but it is MUCH faster.
--
A vic'try eludes, yes, but war still goes on
My child, choose now for the cause thou shalt die
Choose knowledge, choose freedom, and fight for the dawn
Or follow thy brethren of darkening sky. ---Rubicant---
- Raw text -