#include <GTKGLContext.h>
Public Member Functions | |
CGTKGLContext (CGTKGLContext *shared_context=NULL) | |
void | DoneCurrent () |
GdkVisual * | GetVisual () |
bool | IsInitialized () |
void | MakeCurrent (GdkDrawable *drawable) |
void | SwapBuffers (GdkDrawable *drawable) |
~CGTKGLContext () | |
Private Attributes | |
GLXContext | glxcontext |
bool | initialized |
GdkVisual * | visual |
Display * | xdisplay |
Definition at line 40 of file GTKGLContext.h.
CGTKGLContext::CGTKGLContext | ( | CGTKGLContext * | shared_context = NULL | ) |
Definition at line 14 of file GTKGLContext.cpp.
Definition at line 52 of file GTKGLContext.cpp.
Definition at line 90 of file GTKGLContext.cpp.
GdkVisual* CGTKGLContext::GetVisual | ( | ) | [inline] |
Definition at line 52 of file GTKGLContext.h.
bool CGTKGLContext::IsInitialized | ( | ) |
Definition at line 63 of file GTKGLContext.cpp.
void CGTKGLContext::MakeCurrent | ( | GdkDrawable * | drawable | ) |
Definition at line 68 of file GTKGLContext.cpp.
void CGTKGLContext::SwapBuffers | ( | GdkDrawable * | drawable | ) |
Definition at line 82 of file GTKGLContext.cpp.
GLXContext CGTKGLContext::glxcontext [private] |
Definition at line 57 of file GTKGLContext.h.
bool CGTKGLContext::initialized [private] |
Definition at line 55 of file GTKGLContext.h.
GdkVisual* CGTKGLContext::visual [private] |
Definition at line 58 of file GTKGLContext.h.
Display* CGTKGLContext::xdisplay [private] |
Definition at line 56 of file GTKGLContext.h.