XcbGlContext

GlX backed OpenGL context

Constructors

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

Contruct an OpenGL context for the given display and screen. It internally creates a dummy window

Members

Functions

createDummy
size_t createDummy()
Undocumented in source. Be warned that the author may not have intended to support it.
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.
releaseDummy
void releaseDummy(size_t dummy)
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.
createDummy
size_t createDummy()
Undocumented in source.
releaseDummy
void releaseDummy(size_t dummy)
Undocumented in source.

Meta