Adds GLUT_OFFSCREEN as a display mode option. This includes:
authorRichard Rauch <rkr@olib.org>
Sat, 7 Feb 2004 10:40:59 +0000 (10:40 +0000)
committerRichard Rauch <rkr@olib.org>
Sat, 7 Feb 2004 10:40:59 +0000 (10:40 +0000)
commitfc5b93fd6592f84aa605e18cb6456a1af770e483
tree79e78a50e777b180574ffa5474262576f2447d3d
parenteb076bbad64abd3c75b86d0b093ed244cd239a2e
Adds GLUT_OFFSCREEN as a display mode option.  This includes:

 * Recognizing the mode when you call glutCreateWindow().
   (Offscreen looks and acts like a top-level window in many
   ways.)

 * During the life of the offscreen "window", various window-management
   functions are modified to respect offscreen status.

   (Excepting reshaping windows, there is not much useful interpretation
    for managment of offscreen areas.  Reshaping is possibly more work
    than it's worth to support, and GLUT specs allow us to ignore the
    request.)

 * Cleanup for "offscreen" windows is a little different than for regular
   windows.

Windows still don't start up quite ideally.  Offscreen windows should
probably get a reshape event, but not a display.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@451 7f0cb862-5218-0410-a997-914c9d46530a
src/freeglut_internal.h
src/freeglut_window.c