Agar
Agar 1.7 Manual

AG_DriverGLX(3)

DESCRIPTION

ScreenshotThe Agar glx driver provides a direct interface to the X Window System, and renders GUI elements using OpenGL primitives and textures. On Unix-like platforms where the X Window System is available, glx is usually the default driver.

INHERITANCE HIERARCHY

AG_Driver(3)-> AG_DriverMw(3)-> AG_DriverGLX.

EXAMPLES

AG_InitGraphics("glx");
AG_InitGraphics("glx(no-im)");
AG_InitGraphics("glx(stereo)");
AG_InitGraphics("glx(debug:xsync)");

OPTIONS

debugCapture GL_DEBUG_OUTPUT errors.
no-imDisable X input methods.
stereoRequest a stereoscopic visual.
xsyncEnable synchonous X events.

SEE ALSO

AG_Driver(3), AG_GL(3), AG_InitGraphics(3), AG_Intro(3)

HISTORY

The glx driver first appeared in Agar 1.4.0. The "debug" option appeared in Agar 1.6.0.


ElectronTubeStore Csoft.net www.libAgar.org is © 2024 Julien Nadeau Carriere <vedge@csoft.net>.
Support LibAgar: www.patreon.com/libAgar.