This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Display Clearing


Display Clearing

Postby fast_rx » Dec 22, 2003 @ 5:24am

I was considering modifying my game to be user selectable on running full screen or a smaller window (similar to what quake can do). I want the menu's and all to be the same, just the main game display to be smaller if they want (for performance issues).

The question is if the display->Clear is quicker than clearing three or four rectangles around the border of the "window" I always update.

The main "window" I speak of is always overwritten each frame, so I really don't need to clear that part. One would think that clearing only what you need would be faster, but I also think that the display->Clear routine is just a memset, so it may be faster to clear the whole thing than several subsets.

Any options or prior experience?

Thanks,
Jason
User avatar
fast_rx
pm Member
 
Posts: 660
Joined: Jun 10, 2003 @ 4:24pm


benchmarking...

Postby BIGBEN » Jan 16, 2004 @ 3:53pm

User avatar
BIGBEN
pm Member
 
Posts: 281
Joined: Mar 18, 2003 @ 10:18pm
Location: Saint-Petersburg, Russia


Postby fast_rx » Jan 16, 2004 @ 4:17pm

User avatar
fast_rx
pm Member
 
Posts: 660
Joined: Jun 10, 2003 @ 4:24pm


Re: benchmarking...

Postby HTK » Jan 16, 2004 @ 11:06pm

User avatar
HTK
pm Member
 
Posts: 132
Joined: Dec 14, 2002 @ 5:40pm


Postby Kzinti » Jan 16, 2004 @ 11:19pm

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Return to PocketFrog & PocketHAL


Sort


Forum Description

SDKs for fast and robust device-independent access to Pocket PC display hardware.

Moderators:

sponge, Kzinti

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum