HDK
|
#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 |
Definition at line 33 of file glPlatformContextGLX.h.
GarchGLXContextState::GarchGLXContextState | ( | ) |
Construct with the current state.
GarchGLXContextState::GarchGLXContextState | ( | Display * | , |
GLXDrawable | , | ||
GLXContext | |||
) |
Construct with the given state.
|
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.
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.