frame rate in fullscreen

Started by
3 comments, last by gulgi 18 years, 7 months ago
When I run my maze game in a 640x480 window in 800x600 mode, it usually gets a frame rate of about 60 fps. However, when I run it in fullscreen in a 640x480 mode, it gets about 120 fps. Is this pretty standard that fullscreen gets better framerates? I could have sworn the fullscreen code I was using just created a window the size of the screen. Is that how fullscreen is generally done? mike http://www.coolgroups.com/
Mike C.http://www.coolgroups.com/zoomer/http://www.coolgroups.com/ez/
Advertisement
Probably it's related to the vertical sync.
Fullscreen nearly always gives me higher fps. Maby not dubble but, very noticible.
...even if it seems "capped" (as well) due to vsync in your case.

Fullscreen and having a window as big as the screen are different things. On windows, the fullscreen is a flag when you create the window... even if I have no idea what happends under the hood ;]

I can imagine that windowed mode needs alot of extra code for rendering etc etc.. so fullscreen should be alot faster...
ive no idea if this is correct but i would image in windowed mode windows still needs some resources to render the rest of your desktop and in full screen it doesnt need to do this
Quote:Original post by Lonefox1
ive no idea if this is correct but i would image in windowed mode windows still needs some resources to render the rest of your desktop and in full screen it doesnt need to do this

If you run your app windowed and it covers the entire screen, fullscreen is still faster.. so, other windows etc shouldn't be such a big issue.

I think it has more to do with if it's in fullscreen, it has full access to the front and backbuffer, clearing the screen really clears the entires screen, not just a part of it etc etc...

Anyways: If you want to benchmark, run fullscreen with vsync turned off. :)

This topic is closed to new replies.

Advertisement