#include <archon/display/context.H>
Inheritance diagram for Archon::Display::Context:


| Public Member Functions | |
| virtual Ref< Visual > | getVisual ()=0 | 
| Get the associated visual descriptor. | |
| virtual bool | isDirect ()=0 | 
| Tell whether direct rendering is enabled for this context. | |
This class is a wrapper around OpenGLs GLXContext.
Any thread that wishes to call OpenGL rendering primitives, must first be bound to a rendering context and to a drawable such as a window. This is done by instantiating the Bind class.
New rendering contexts are created by calling Visual::createContext.
Visual::createContext
Definition at line 78 of file context.H.
| 
 | 
| Get the associated visual descriptor. 
 
 Implemented in Archon::Display::ContextX11. | 
| 
 | 
| Tell whether direct rendering is enabled for this context. Direct rendering contexts offers better performance but generally works only on a display of the local host. Implemented in Archon::Display::ContextX11. | 
 1.4.4
 1.4.4