Mail Archives: djgpp/1998/12/30/15:01:38
> > Redrawing the whole screen in a 640x480x256 graphics mode is too slow on
> > many
> > machines. Is there a faster way? It consists of a 3 layers: background,
> > car-layer and
> > animation layer (like Bapple2). Dirty-rectangles doesn't work because
> > the background
> > always changes. Please help!
>
> What do you mean by "many machines"? Are you using VESA, FreeBE/AF, or
> Mode-X screen modes?
"many machines"=many computers
I'm using the VESA mode 640x480 with a color depth of 8 bits.
> Also make sure that you're not clearing the screen, since you don't need to.
> This takes a lot of processor time and isn't usually needed. Try a different
> method of drawing the screen. Instead of double buffering, try page flipping
> or triple buffering.
I simply redraw the background instead of clearing.
Page flipping flickers in my 640x480x8 VESA mode.
How does triple buffering work? (sorry about this dumb question ;)
Allegro comes with a triple buffering example but could you maybe
explain it to me please?
> James Arthur - jaa AT arfa DOT clara DOT net
> http://www.jado.org/users/arfa/
> ICQ#15054819
- Raw text -