Code Monkey home page Code Monkey logo

glinfo's Introduction

glinfo

Actions Build Status License: GPL v3 GitHub release

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.

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.

./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 NVIDIA

GL_VERSION_1_1 : Not supported

GL_VERSION_1_2
	GL_MAX_3D_TEXTURE_SIZE : 16384
	GL_MAX_ELEMENTS_INDICES : 1048576
	GL_MAX_ELEMENTS_VERTICES : 1048576

GL_VERSION_1_3
	GL_MAX_CUBE_MAP_TEXTURE_SIZE : 32768
	GL_MAX_TEXTURE_UNITS : 4

GL_VERSION_1_4
	GL_MAX_TEXTURE_LOD_BIAS : 15

GL_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 : 4096

GL_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 : 400

GL_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 install 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 file for details

glinfo's People

Contributors

voldien avatar

Watchers

 avatar  avatar  avatar

glinfo's Issues

OpenGL and window for Mac

The window and OpenGL context for Mac needs to be added in order to add support for Mac platforms.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.