The main purpose of the display API is provide a platform independant way of opening windows of a kind that supports OpenGL rendering.
The object model of this API is inspired heavily by Xlib (X Window System). Apart from that the API is an abstraction completely dissociated from Xlib.
It is designed in a way that easily supports any number of implementations. These implementations can even coexists at the same time. that is, your application will in general have access to all the implementations supported on the local platform simultaniously.
This API is supports multi-threaded OpenGL rendering in a completely general way (see Context and Bind).
Currently only an X11 based implementation is in place. An SDL implementation should be really easy to add, and would provide windows on many new platforms.
|
A KeySym identifies a symbol (or pictogram) on a key (on the keyboard). Although the KeySym values are chosen to match those defined by Xlib, you must not rely on any such correspondance. |
|
Get an instance of the default implementation.
Definition at line 60 of file implementation.C. Referenced by Archon::Render::Test::main(), and Archon::Display::Test::main(). |
|
Get the specified display implementation.
Definition at line 72 of file implementation.C. |
|
Get the number of display implementations.
Definition at line 67 of file implementation.C. |