Collaboration diagram for Game Mode:
It has always been buggy/incomplete in freeglut and OpenGLUT. It is poorly defined. It was never documented by GLUT (that I have seen). freeglut attempted to recreate it by guesswork, and OpenGLUT only fixed some of freeglut's bugs. It is impossible for the API to be made uniform without breaking some people's uses. Some systems will only give you partial success, but you cannot tell whether you got what you asked for. Do not use this feature.
OpenGLEAN intends to provide the functionality of gamemode in a better defined API.
Game mode provides an exclusive full-screen mode of operation for applications such as games.
Game mode suffers from some serious problems, however.
Replacing game mode with a better design was discussed at some length in early 2004.
One idea was to decompose gamemode into component parts and implement them separately, where each part then either succeeds totally or fails totally:
There is no way for game mode to report a partial failure.
There is no way to guarantee cleanup if OpenGLEAN crashes during game mode---or if the client crashes or directly exits, etc.
Some XFree86 releases, with some drivers, can fail to set the video mode properly, resulting in disasterous failure (an unusable display). This is presently somewhat headed off by a compile-time option, but a runtime option would be better, as there may be cases where the user is willing to put up with the risk for some---and only some---OpenGLEAN applications. Since game mode applications are somewhat dim-witted about such user preferences, it seems, an OpenGLEAN runtime control could be desirable.
Supported in part by SourceForge.net.
Generated on Fri Sep 16 20:15:37 2005 for OpenGLEAN by
doxygen 1.4.3
The OpenGLEAN project is hosted by
olib.org and
SourceForge.