Utilities » Magnum GL Info

Displays information about Magnum engine OpenGL capabilities.

Usage

magnum-info [--magnum-...] [-h|--help] [-s|--short] [--all-extensions]
    [--limits]

Arguments:

  • -h, --help — display this help message and exit
  • -s, --short — display just essential info and exit
  • --all-extensions — display extensions also for fully supported versions
  • --limits — display also limits and implementation-defined values
  • --magnum-... — engine-specific options (see Command-line options for details)

Usage on Emscripten

When installing Magnum, point the MAGNUM_DEPLOY_PREFIX CMake variable to your webserver location. The Magnum Info utility is then available in a magnum-info/ subdirectory of given location. You can pass all command-line arguments from above to it via GET parameters. See the relevant section of the Emscripten guide for more information.

Usage on Android

When you have developer-enabled Android device connected or Android emulator running, you can use ADB to upload the built executable to device temp directory and run it on the device:

adb push build-android-arm64/src/Magnum/Platform/magnum-info /data/local/tmp
adb shell /data/local/tmp/magnum-info

You can also use adb shell to log directly into the device shell and continue from there. All command-line arguments are supported.

Example output

  +---------------------------------------------------------+
  |   Information about Magnum engine OpenGL capabilities   |
  +---------------------------------------------------------+

Used application: Platform::WindowlessGlxApplication
Compilation flags:
    CORRADE_BUILD_DEPRECATED
    CORRADE_TARGET_UNIX
    MAGNUM_BUILD_DEPRECATED

Renderer: AMD Radeon R7 M260 Series by ATI Technologies Inc.
OpenGL version: 4.5.13399 Compatibility Profile Context 15.201.1151
Using optional features:
    GL_ARB_ES2_compatibility
    GL_ARB_direct_state_access
    GL_ARB_get_texture_sub_image
    GL_ARB_invalidate_subdata
    ...
Using driver workarounds:
    no-forward-compatible-core-context
    no-layout-qualifiers-on-old-glsl
Context flags:
Supported GLSL versions:
    430 core
    430 compatibility
    420 core
    ...

Vendor extension support:
    GL_AMD_vertex_shader_layer                                    SUPPORTED
    GL_AMD_shader_trinary_minmax                                  SUPPORTED
    GL_ARB_robustness                                                 -
    GL_ARB_robustness_isolation                                       -
    ...