Inria / Raweb 2004
Project-Team: EVASION

Search in Activity Report, year 2004:


Project-Team : evasion

Section: Software


Participant: Sylvain Lefebvre.

The OpenGL graphics programming API is widely used by researchers to work with recent graphics hardware. To access hardware-specific functions, it relies on an extension loading mechanism. Due to the large variety of video card models it is very important to be able to check if extensions are available at runtime. Moreover the same program often needs to include different versions of the same rendering code in order to adapt to the set of available extensions. Unfortunately, the loading mechanism provided by OpenGL is different under Linux and Windows platforms, and requires a large amount of very repetitive loading code for each extension (more than 200 extensions are available). gluX is a cross-platform easy-to-use OpenGL extension loader (see It offers a very simple mechanism for loading and using OpenGL extensions. It allows to detect at runtime if the required extensions are present or not and to select the appropriate rendering code. It is a very convenient tool as it allows to exchange programs without having to handle the painful task of writing the extension loading code for each platform and video card model.