www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/28/05:15:17

From: gt4558a AT acmez DOT gatech DOT edu (Rubicant)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Which is faster? Allegro or Sandmann's LFB
Date: 28 Dec 1996 05:51:59 GMT
Organization: Georgia Institute of Technology
Lines: 23
Message-ID: <5a2chv$h5i@catapult.gatech.edu>
References: <59s2q3$84l AT nuscc DOT nus DOT sg> <19961226 DOT 230751 DOT 4975 DOT 3 DOT chambersb AT juno DOT com> <59v0p0$g3j AT nuscc DOT nus DOT sg> <59v2bd$ghs AT nuscc DOT nus DOT sg>
NNTP-Posting-Host: acmez-prism.gatech.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

[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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019