XcbGlContext

GlX backed OpenGL context

Constructors

this
this(XDisplay* dpy, int mainScreenNum, GlAttribs attribs, size_t window)

Contruct an OpenGL context for the given display and screen. The window is necessary to make the context current on and loading GL symbols. It can be a dummy window destroyed right initialization.

Members

Functions

dispose
void dispose()
Undocumented in source. Be warned that the author may not have intended to support it.
doneCurrent
void doneCurrent()
Undocumented in source. Be warned that the author may not have intended to support it.
makeCurrent
bool makeCurrent(size_t nativeHandle)
Undocumented in source. Be warned that the author may not have intended to support it.
swapBuffers
void swapBuffers(size_t nativeHandle)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

attribs
GlAttribs attribs [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
current
bool current [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
gl
Gl gl [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
swapInterval
int swapInterval [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
swapInterval
int swapInterval [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From GlContext

gl
Gl gl [@property getter]
Undocumented in source.
attribs
GlAttribs attribs [@property getter]
Undocumented in source.
makeCurrent
bool makeCurrent(size_t nativeHandle)
Undocumented in source.
doneCurrent
void doneCurrent()
Undocumented in source.
current
bool current [@property getter]
Undocumented in source.
swapInterval
int swapInterval [@property getter]
Undocumented in source.
swapInterval
int swapInterval [@property setter]
Undocumented in source.
swapBuffers
void swapBuffers(size_t nativeHandle)
Undocumented in source.

Meta