Tiny OpenGL Information utility. It displays OpenGL version, vendor, renderer and GLSL version. Currently support Windows and macOS, querying using legacy and core OpenGL profile. Linux support is under testing phase.
When listing extensions, each is now displayed on a single line instead of a long long string.
- Windows: MinGW/Visual Studio 2015
- OSX: GCC/Clang
- Linux: GCC/Clang
$make
The output binary would be placed under the newly created ./bin
folder. To run the utility, type:
$./bin/glinfo
$glinfo [-hiecv]
-h, --help : show help message
-v, --version : display utility version
-c, --core : use core profile to query
-e, --extension : display OpenGL extensions only
-i, --info : display basic OpenGL, use combine with -e to display both
To force software OpenGL using Mesa on Linux, use the following command
$LIBGL_ALWAYS_SOFTWARE=1 bin/glinfo
- Export results to a text file for later references
- Considering to remove optional GLEW usage from the library