Mail Archives: djgpp/1996/12/26/02:31:49
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
- Raw text -