![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXGLContext.h>
Inheritance diagram for FXGLContext:
Public Methods | |
FXGLContext (FXApp *a, FXGLVisual *vis) | |
FXGLContext (FXApp *a, FXGLVisual *vis, FXGLContext *shared) | |
FXbool | isShared () const |
Return TRUE if it is sharing display lists. | |
FXGLVisual * | getVisual () const |
Get the visual. | |
virtual void | create () |
Create context. | |
virtual void | detach () |
Detach the server-side resources for this window. | |
virtual void | destroy () |
Destroy the server-side resources for this window. | |
FXbool | begin (FXDrawable *drawable) |
Make OpenGL context current prior to performing OpenGL commands. | |
FXbool | end () |
Make OpenGL context non current. | |
void | swapBuffers () |
Swap front and back buffer. | |
void | swapSubBuffers (FXint x, FXint y, FXint w, FXint h) |
Copy part of backbuffer to front buffer [Mesa]. | |
virtual void | save (FXStream &store) const |
Save object to stream. | |
virtual void | load (FXStream &store) |
Load object from stream. | |
virtual | ~FXGLContext () |
Destructor. |
|
Construct an OpenGL context with its own private display list. |
|
Construct an OpenGL context sharing display lists with an existing GL context. |