Lower Frame-Rate When Fullscreen

Hi All,


My game is getting a lower FPS when it's in fullscreen mode. I'm using a borderless screen-sized window with its level set above the menubar (in order to cover it). If I initialize the window at position (0,0) so it covers the whole screen I get a lower FPS, but if I initialize the window so that it doesn't cover the whole screen (e.g. (1,0)) then I get a higher FPS.


As described here, OSX does some optimizations when an OpenGL window is fully covering the screen. I tried to shut the optimizations off by using the NSOpenGLPFABackingStoreattribute, but that did not help (all I got was screen tearing as a result). I've tinkered for hours now (tried different fullscreen modes,vsync settings, etc.), but I can't seem to find a solution.


Have any of you come across this?

Any ideas?


Thanks!

I justed stumbled across this workaround hack: http://stackoverflow.com/questions/27758027/sprite-kit-serious-fps-issue-in-full-screen-mode-on-os-x


Basically I'm just adding 1 to the height when creating the window now and the performance issue has gone away! This is a terrible hack and I expect that it's going to backfire at some point, but for now it's better than nothing.


I still would love to hear about a proper fix to this issue!

Lower Frame-Rate When Fullscreen
 
 
Q