Windows fullscreen

Hi!

When I compile my games for windows and run them in fullscreen, all
blits are displayed immediately. Why don’t they wait for
SDL_UpdateRect(s)?

Thanks, Karl.

Hi!

When I compile my games for windows and run them in fullscreen, all
blits are displayed immediately. Why don’t they wait for
SDL_UpdateRect(s)?

Heheh, most people have the opposite problem - they want immediate updates
and they can’t get them. Just don’t ask for SDL_HWSURFACE, which if you
get it, is direct access to (slow) video memory.

See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

Hi!

When I compile my games for windows and run them in fullscreen, all
blits are displayed immediately. Why don’t they wait for
SDL_UpdateRect(s)?

Heheh, most people have the opposite problem - they want immediate updates
and they can’t get them. Just don’t ask for SDL_HWSURFACE, which if you
get it, is direct access to (slow) video memory.

Thank, oh great Sam.

Bye, Karl.

Hi!

When I compile my games for windows and run them in fullscreen, all
blits are displayed immediately. Why don’t they wait for
SDL_UpdateRect(s)?

Heheh, most people have the opposite problem - they want immediate updates
and they can’t get them. Just don’t ask for SDL_HWSURFACE, which if you
get it, is direct access to (slow) video memory.

errr. I’m lost Sam. Slow video memory? I thoguht we wanted hardware
surfaces if we could get them, and as long as we don’t manipulate the
surfaces directly they’re way fast for blitting and much better that using
update_rects() with software surfaces.

Right. I meant slow for direct pixel access. :slight_smile:

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software> >From: Sam Lantinga

Reply-To: sdl at lokigames.com
To: sdl at lokigames.com
Subject: Re: [SDL] windows fullscreen
Date: Wed, 09 Aug 2000 08:22:25 -0700

Hi!

When I compile my games for windows and run them in fullscreen, all
blits are displayed immediately. Why don’t they wait for
SDL_UpdateRect(s)?

Heheh, most people have the opposite problem - they want immediate updates
and they can’t get them. Just don’t ask for SDL_HWSURFACE, which if you
get it, is direct access to (slow) video memory.

errr. I’m lost Sam. Slow video memory? I thoguht we wanted hardware
surfaces if we could get them, and as long as we don’t manipulate the
surfaces directly they’re way fast for blitting and much better that using
update_rects() with software surfaces.>From: Sam Lantinga

Reply-To: sdl at lokigames.com
To: sdl at lokigames.com
Subject: Re: [SDL] windows fullscreen
Date: Wed, 09 Aug 2000 08:22:25 -0700


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

“Sam Lantinga” wrote in message
news:E13MXgX-0002Xb-00 at roboto.devolution.com

Hi!

When I compile my games for windows and run them in fullscreen, all
blits are displayed immediately. Why don’t they wait for
SDL_UpdateRect(s)?

Heheh, most people have the opposite problem - they want immediate updates
and they can’t get them. Just don’t ask for SDL_HWSURFACE, which if you
get it, is direct access to (slow) video memory.

Wouldn’t SDL_HWSURFACE | SDL_DOUBLEBUF work better/faster?–
Rainer Deyke (root at rainerdeyke.com)
Shareware action/role-playing games - http://rainerdeyke.com
"In ihren Reihen zu stehen heisst unter Feinden zu kaempfen" - Abigor