Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/voldien/glinfo
OpenGL Capability Information Tool
https://github.com/voldien/glinfo
capabilities clinfo feature-extraction glinfo gpu-info gpu-information linux opengl
Last synced: 25 days ago
JSON representation
OpenGL Capability Information Tool
- Host: GitHub
- URL: https://github.com/voldien/glinfo
- Owner: voldien
- License: gpl-3.0
- Created: 2017-07-11T13:03:04.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-11-09T09:08:31.000Z (about 2 months ago)
- Last Synced: 2024-11-09T10:18:38.513Z (about 2 months ago)
- Topics: capabilities, clinfo, feature-extraction, glinfo, gpu-info, gpu-information, linux, opengl
- Language: C++
- Homepage:
- Size: 56.6 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# glinfo
[![Actions Build Status](https://github.com/voldien/glinfo/workflows/glinfo/badge.svg?branch=master)](https://github.com/voldien/glinfo/actions)
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
[![GitHub release](https://img.shields.io/github/release/voldien/glinfo.svg)](https://github.com/voldien/glinfo/releases)The *glinfo* is a program for displaying OpenGL capabilities information of the current system.
The program was influenced by both the *clinfo* and *vulkaninfo* program.## Installation
The program can be installed with the following commands.```bash
git submodule update --init --recursive
mkdir build && cd build
cmake ..
make
```## Example
The program can be easily executed. See the following section for an example of how the output data is formatted.
```bash
./glinfo
RENDERER: NVIDIA GeForce RTX 3070 Ti/PCIe/SSE2
VENDOR: NVIDIA Corporation
VERSION: 4.6.0 NVIDIA 525.60.11
SHADING_LANGUAGE_VERSION: 4.60 NVIDIAGL_VERSION_1_1 : Not supported
GL_VERSION_1_2
GL_MAX_3D_TEXTURE_SIZE : 16384
GL_MAX_ELEMENTS_INDICES : 1048576
GL_MAX_ELEMENTS_VERTICES : 1048576GL_VERSION_1_3
GL_MAX_CUBE_MAP_TEXTURE_SIZE : 32768
GL_MAX_TEXTURE_UNITS : 4GL_VERSION_1_4
GL_MAX_TEXTURE_LOD_BIAS : 15GL_VERSION_2_0
GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS : 192
GL_MAX_DRAW_BUFFERS : 8
GL_MAX_FRAGMENT_UNIFORM_COMPONENTS : 4096
GL_MAX_TEXTURE_COORDS : 8
GL_MAX_TEXTURE_IMAGE_UNITS : 32
GL_MAX_VARYING_FLOATS : 124
GL_MAX_VERTEX_ATTRIBS : 16
GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS : 32
GL_MAX_VERTEX_UNIFORM_COMPONENTS : 4096GL_VERSION_3_0
GL_MAX_ARRAY_TEXTURE_LAYERS : 2048
GL_MAX_CLIP_DISTANCES : 8
GL_MAX_CLIP_PLANES : 8
GL_MAX_PROGRAM_TEXEL_OFFSET : 7
GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS : 128
GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS : 4
GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS : 4
GL_MAX_VARYING_COMPONENTS : 124
GL_MAX_VARYING_FLOATS : 124
GL_MIN_PROGRAM_TEXEL_OFFSET : -8
GL_NUM_EXTENSIONS : 400GL_VERSION_3_1
GL_MAX_RECTANGLE_TEXTURE_SIZE : 32768
....
....
```## Dependencies
### Linux
In order to compile the program, the following Debian packages has to be installed.
```
apt-get install libyaml-dev libglu1-mesa libglu1-mesa-dev libgl1-mesa-glx libgl1-mesa-dev libsdl2-dev libfmt-dev libeigen3-dev libglew-dev libbz2-dev libzip-dev libfmt-dev binutils-dev
```## License
This project is licensed under the GPL+3 License - see the [LICENSE](LICENSE) file for details