Page 1 of 1

Display Clearing

PostPosted: Dec 22, 2003 @ 5:24am
by fast_rx
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

benchmarking...

PostPosted: Jan 16, 2004 @ 3:53pm
by BIGBEN

PostPosted: Jan 16, 2004 @ 4:17pm
by fast_rx

Re: benchmarking...

PostPosted: Jan 16, 2004 @ 11:06pm
by HTK

PostPosted: Jan 16, 2004 @ 11:19pm
by Kzinti