To: djgpp AT delorie DOT com Subject: Re: Which is faster? Allegro or Sandmann's LFB Message-ID: <19961226.230751.4975.3.chambersb@juno.com> References: <59s2q3$84l AT nuscc DOT nus DOT sg> From: chambersb AT juno DOT com (Benjamin D Chambers) Date: Thu, 26 Dec 1996 02:03:30 EST On 25 Dec 1996 20:28:51 GMT tangchis AT iscs DOT nus DOT sg ([Uzi]) writes: >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! :) > I've seen a program get over 200fps with Allegro on a Pentium-133. (Clear the buffer, draw on buffer, copy to video). Was just a test, but it worked :) ...Chambers