#include <uxglxdriver.hpp>
Inheritance diagram for ufo::UXGLXDriver:
Public Member Functions | |
virtual bool | init () |
virtual bool | isInitialized () |
virtual void | quit () |
virtual std::string | getName () |
virtual void | pumpEvents () |
virtual UVideoDevice * | createVideoDevice () |
bool | isValid () const |
UFO_GLX_PROC (Bool, glXMakeCurrent,(Display *dpy, GLXDrawable drawable, GLXContext ctx)) UFO_GLX_PROC(Bool | |
Display int int *eventBase | UFO_GLX_PROC (void, glXSwapBuffers,(Display *dpy, GLXDrawable drawable)) UFO_GLX_PROC(XVisualInfo * |
Display int int *eventBase Display int int *attribList | UFO_GLX_PROC (void, glXDestroyContext,(Display *dpy, GLXContext ctx)) UFO_GLX_PROC(GLXContext |
Display * | getX11Display () const |
Window | getRootWindow () const |
Atom * | getDeleteWindowAtom () |
UXContext * | getContextFromWindow (int window) const |
void | initKeymap () |
void | pushXEvent (UXContext *context, const XEvent &event) |
UKeyCode_t | mapX11Keycode (const XKeyEvent &xkey) |
wchar_t | mapX11Unicode (const XKeyEvent &xkey) |
UMod::Modifier | mapX11Modifiers (int modifiers) |
Static Public Member Functions | |
UPluginBase * | createPlugin () |
void | destroyPlugin (UPluginBase *plugin) |
Public Attributes | |
glXQueryExtension | |
Display * | dpy |
Display int * | errorBase |
Display int int *eventBase | glXChooseVisual |
Display int int *eventBase Display * | dpy |
Display int int *eventBase Display int | screen |
Display int int *eventBase Display int int *attribList | glXCreateContext |
Display int int *eventBase Display int int *attribList Display * | dpy |
Display int int *eventBase Display int int *attribList Display XVisualInfo * | vis |
Display int int *eventBase Display int int *attribList Display XVisualInfo GLXContext | shareList |
Protected Member Functions | |
void | destroyed (UXGLXDevice *device) |
|
Creates a video device (window).
Implements ufo::UVideoDriver.
|
|
Removes device from device list. |
|
Implements ufo::UVideoDriver.
|
|
Initializes the video driver, loads necessary native drivers.
Implements ufo::UVideoDriver.
|
|
Implements ufo::UVideoDriver.
|
|
Gathers all system events and pumps them to the UFO event queue (UXDisplay). Implements ufo::UVideoDriver.
|
|
Purges all loaded system resources and deinits the video driver. Implements ufo::UVideoDriver.
|