[SDL] optimized drawing methodsI
Patrick McFarland
unknown at panax.com
Thu Jan 16 00:11:02 PST 2003
On 16-Jan-2003, Corona688 wrote:
> The theory of double-buffering, afaik, is you've got two backbuffers that get
> swapped in their totality every screen update. When done in hardware, this is
> extremely fast - the video card simply changes which video surface it's
> displaying - no blitting at all. In software, however, it's excruciatingly
> slow... it has to copy one of the backbuffers in it's entirety to the actual
> buffer on every SDL_Flip() call.
Its closer to two buffers, and which one is front and back changes on flip.
(Semantics, yes, I know. But its important to get something like this right.)
And afaik, software isnt that much slower, but I wouldnt want to be doing
640x480x32bit blitting....
--
Patrick "Diablo-D3" McFarland || unknown at panax.com
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd
all be running around in darkened rooms, munching magic pills and listening to
repetitive electronic music." -- Kristian Wilson, Nintendo, Inc, 1989
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20030116/c648031d/attachment.pgp>
More information about the SDL
mailing list