www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/25/16:51:56

From: tangchis AT iscs DOT nus DOT sg ([Uzi])
Newsgroups: comp.os.msdos.djgpp
Subject: Which is faster? Allegro or Sandmann's LFB
Date: 25 Dec 1996 20:28:51 GMT
Organization: The Electric WatchTower
Lines: 21
Message-ID: <59s2q3$84l@nuscc.nus.sg>
NNTP-Posting-Host: tangchis AT decunx DOT iscs DOT nus DOT sg
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi!

I was wondering .. which is faster for graphics programming which requires
a high frame rate and uses double buffering in RAM for page-flipping? I
havn't tried Allegro yet, but I managed to write some routines based on
Charles Sandmann's (thanks!) VBE.ZIP, using a linear frame buffer under
VBE 2.0. 

I was hoping to avoid having to use univbe to invoke VBE 2.0, and am
thinking of switching to Allegro's graphics library.

I heard Allegro is a great game-oriented library, and wonder if is it
generally fast enough for such applications?

I use 640x480x8bpp mode and managed to get about 15-17 fps on a Pentium
133 for a totally unoptimised example that moved 640x480 different pixels
every frame from double buffer to video mem and also 2 lines that moved up
and down and across the screen. The double buffer is also cleared after
every frame.

Thanks for any responses! :)

- Raw text -


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