HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GarchGLXContextState Class Reference

#include <glPlatformContextGLX.h>

Public Member Functions

 GarchGLXContextState ()
 Construct with the current state. More...
 
 GarchGLXContextState (Display *, GLXDrawable, GLXContext)
 Construct with the given state. More...
 
bool operator== (const GarchGLXContextState &rhs) const
 Compare for equality. More...
 
size_t GetHash () const
 Returns a hash value for the state. More...
 
bool IsValid () const
 Returns true if the context state is valid. More...
 
void MakeCurrent ()
 Make the context current. More...
 

Static Public Member Functions

static void DoneCurrent ()
 Make no context current. More...
 

Public Attributes

Display * display
 
GLXDrawable drawable
 
GLXContext context
 

Detailed Description

Definition at line 33 of file glPlatformContextGLX.h.

Constructor & Destructor Documentation

GarchGLXContextState::GarchGLXContextState ( )

Construct with the current state.

GarchGLXContextState::GarchGLXContextState ( Display *  ,
GLXDrawable  ,
GLXContext   
)

Construct with the given state.

Member Function Documentation

static void GarchGLXContextState::DoneCurrent ( )
static

Make no context current.

size_t GarchGLXContextState::GetHash ( ) const

Returns a hash value for the state.

bool GarchGLXContextState::IsValid ( ) const

Returns true if the context state is valid.

void GarchGLXContextState::MakeCurrent ( )

Make the context current.

bool GarchGLXContextState::operator== ( const GarchGLXContextState rhs) const

Compare for equality.

Member Data Documentation

GLXContext GarchGLXContextState::context

Definition at line 59 of file glPlatformContextGLX.h.

Display* GarchGLXContextState::display

Definition at line 57 of file glPlatformContextGLX.h.

GLXDrawable GarchGLXContextState::drawable

Definition at line 58 of file glPlatformContextGLX.h.


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