AglWrapper Class Reference

Wraps the AGLContext mechanism. More...

#include <gfx/aglwrapper.h>

Inheritance diagram for AglWrapper:

Inheritance graph
Collaboration diagram for AglWrapper:

Collaboration graph

List of all members.

Public Member Functions

virtual ~AglWrapper ()
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 AglWrappermake (GlxOpts &opts)
 Factory function.

Detailed Description

Wraps the AGLContext mechanism.

Definition at line 45 of file aglwrapper.h.

The documentation for this class was generated from the following file:

The software described here is Copyright (c) 1998-2005, Rob Peters.
This page was generated Wed Dec 3 06:53:57 2008 by Doxygen version 1.5.5.