wflinfo 1
wflinfo a utility for printing OpenGL or OpenGL ES driver information

wflinfo Manual

waffle
`wflinfo` `--platform` platform `--api` api `OPTIONS`

## Description

wflinfo is utility which creates an OpenGL or OpenGL ES context using the waffle library and prints information about the context.

## Required Parameters

`-p` platform
`--platform` platform

  Where platform is

  - android
  - cgl
  - gbm
  - glx
  - surfaceless_egl (or short alias 'sl')
  - wayland
  - wgl
  - x11_egl
`-a` api
`--api` api

  Where api is

  - gl
  - gles1
  - gles2
  - gles3

## Options

`-V` MAJOR.MINOR
`--version` MAJOR.MINOR

  For example --api gl --version 3.2 would request OpenGL 3.2

`--profile` profile

  Where profile is core, compat or none

`-v`
`--verbose`

  Print more information

`--forward-compatible`

  Request a forward compatible context be created

`--debug-context`

  Request a debug context be created

`-f` format
`--format` format

  Choose the output format. Supported formats are 'original' (the default) and 'json'.

  The JSON format is backwards-compatible across Waffle versions. Future Waffle versions may add new entries to the JSON output, but will not remove existing entries.

`-h`
`--help`

  Print wflinfo usage information

## Examples

- wflinfo --platform glx --api gl
- wflinfo --platform x11_egl --api gl --version 3.2 --profile core
- wflinfo --platform wayland --api gles3
- wflinfo --platform gbm --api gl --version 3.2 --verbose
- wflinfo -p gbm -a gl -V 3.2 -v

## See Also

- waffle 7