#include <gfx/aglwrapper.h>
Public Member Functions | |
virtual | ~AglWrapper () |
Destructor. | |
virtual bool | isDirect () const |
Query whether rendering context has direct access to the hardware. | |
virtual bool | isDoubleBuffered () const |
Query whether the rendering context is double-buffered. | |
virtual unsigned int | bitsPerPixel () const |
Get the bit depth of the draw buffer(s). | |
virtual void | makeCurrent () |
Make our rendering context the current active one. | |
virtual void | onReshape (int width, int height) |
Should be called when the corresponding window's geometry is changed. | |
virtual void | swapBuffers () const |
Swaps buffers if in double-buffering mode. | |
void | bindDrawable (CGrafPtr drawable) |
Static Public Member Functions | |
static AglWrapper * | make (GlxOpts &opts) |
Factory function. |
Definition at line 45 of file aglwrapper.h.