Skip to content

Tiny OpenGL Information Utility (a small utility I made to help my students assessing the OpenGL capabilities on their PCs).

License

Notifications You must be signed in to change notification settings

dzutrinh/glinfo

Repository files navigation

glinfo

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.

linf

Requirements

  • Windows: MinGW/Visual Studio 2015
  • OSX: GCC/Clang
  • Linux: GCC/Clang

Compile

$make

The output binary would be placed under the newly created ./bin folder. To run the utility, type:

$./bin/glinfo

Usage

$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

To do

  • Export results to a text file for later references
  • Considering to remove optional GLEW usage from the library

About

Tiny OpenGL Information Utility (a small utility I made to help my students assessing the OpenGL capabilities on their PCs).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages