[SDL] Speed with X11 ...
Sam Lantinga
slouken at devolution.com
Mon Dec 14 18:26:03 PST 1998
> On Mon, Dec 14, 1998 at 03:53:30PM -0800, Sam Lantinga wrote:
> > If the SDL_HWSURFACE flag isn't set, you are blitting to a memory buffer,
> > and then SDL_UpdateRects() actually copies it to VRAM. If SDL_HWSURFACE
> > were set in the surface flags (and it will never be set unless you request
> > it when setting a video mode) then you will be writing directly to video
> > memory.
> Is this true, even in a windowed mode? If so, does this work on remote X
> displays?
_if_ the flag is set in the _returned_ surface, yes.
It will never be set in windowed mode. :)
See ya!
-Sam Lantinga (slouken at devolution.com)
Lead Programmer, Loki Entertainment Software
--
Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/
--
More information about the SDL
mailing list