Sign in to follow this  
mike74

frame rate in fullscreen

Recommended Posts

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/

Share this post


Link to post
Share on other sites
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...

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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. :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this