Panda3D
|
A tiny specialization on MesaGraphicsStateGuardian to add a reference to the OSMesaContext. More...
#include "osMesaGraphicsStateGuardian.h"
Public Member Functions | |
OSMesaGraphicsStateGuardian (GraphicsEngine *engine, GraphicsPipe *pipe, OSMesaGraphicsStateGuardian *share_with) | |
virtual TypeHandle | force_init_type () |
virtual TypeHandle | get_type () const |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
Public Attributes | |
OSMesaContext | _context |
Protected Member Functions | |
virtual void * | do_get_extension_func (const char *prefix, const char *name) |
Returns the pointer to the GL extension function with the indicated name. |
A tiny specialization on MesaGraphicsStateGuardian to add a reference to the OSMesaContext.
Definition at line 26 of file osMesaGraphicsStateGuardian.h.
void * OSMesaGraphicsStateGuardian::do_get_extension_func | ( | const char * | prefix, |
const char * | name | ||
) | [protected, virtual] |
Returns the pointer to the GL extension function with the indicated name.
It is the responsibility of the caller to ensure that the required extension is defined in the OpenGL runtime prior to calling this; it is an error to call this for a function that is not defined.
Definition at line 65 of file osMesaGraphicsStateGuardian.cxx.