OpenGL

From Agar

Jump to: navigation, search

OpenGL is the industry standard graphics interface, and the preferred rendering mode when using Agar on platforms where hardware acceleration is available.

The Agar glx, wgl and sdlgl drivers all render GUI elements using OpenGL primitives and textures. The efficient use of textures, specifically, allow Agar GUI applications to outperform programs written using most of the other GUI toolkits available.

An Agar application can be forced to use OpenGL mode by passing the special string "<OpenGL>" to AG_InitGraphics().

Personal tools