Name

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

Synopsis

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, or x11_egl

-a api
--api=api

Where api is gl, gles1, gles2, or 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

Issues

Please report bugs or and feature requests to https://gitlab.freedesktop.org/mesa/waffle/issues.

See Also

waffle(7)