[SDL] optimized drawing methodsI
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
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
Size: 189 bytes
Desc: not available
More information about the SDL