This module provides the glue between the Perl
OpenGL functions and the API defined by the internal
PDL::Graphics::OpenGL one. It also supports any
miscellaneous OpenGL or GUI related functionality to
support PDL::Graphics::TriD refactoring.

You should eventually be able to replace:

use PDL::Graphics::OpenGL
by
use PDL::Graphics::OpenGL::Perl::OpenGL;

This module also includes support for FreeGLUT and
GLUT instead of X11+GLX as mechanism for creating
windows and graphics contexts.

Returns a new OpenGL object with attributes specified in the options
field, and of the 3d window type, if specified. These attributes are:

x,y - the position of the upper left corner of the window (0,0)
width,height - the width and height of the window in pixels (500,500)
parent - the parent under which the new window should be opened (root)
mask - the user interface mask (StructureNotifyMask)
attributes - attributes to pass to glXChooseVisual

These routines are set as the default GLUT callbacks for when GLUT windows
are used for PDL/POGL. Their only function at the moment is to drive an
fake XEvent queue to feed the existing TriD GUI controls. At some point,
the X11 stuff will the deprecated and we can rewrite this more cleanly.