[SDL] Double buffering in windowed and fullscreen modes

Evil evil at eternaldusk.com
Thu Aug 30 17:52:00 PDT 2001


Flip in fullscreen mode just changes a single pointer in the video card.  In
windowed mode, Flip has to copy the entire contents of the backbuffer to the
screen.

-Jesse

----- Original Message -----
From: "Tyler Montbriand" <tsm at accesscomm.ca>
To: <sdl at libsdl.org>
Sent: Thursday, August 30, 2001 7:37 PM
Subject: [SDL] Double buffering in windowed and fullscreen modes


> When I do doublebuffering in SDL_FULLSCREEN, SDL_Flip() takes no time
> whatsoever.  In windowed mode, however, it takes 12-20ms, as measured by
> SDL_GetTicks().  What causes this slowdown?
>
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
>






More information about the SDL mailing list