Panda3D
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions
OSMesaGraphicsStateGuardian Class Reference

A tiny specialization on MesaGraphicsStateGuardian to add a reference to the OSMesaContext. More...

#include "osMesaGraphicsStateGuardian.h"

List of all members.

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.

Detailed Description

A tiny specialization on MesaGraphicsStateGuardian to add a reference to the OSMesaContext.

Definition at line 26 of file osMesaGraphicsStateGuardian.h.


Member Function Documentation

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.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations