2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
3 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
6 Copyright Intel 2012 - 2013
8 This manual page is licensed under the Creative Commons Attribution-ShareAlike 3.0 United States License (CC BY-SA 3.0
9 US). To view a copy of this license, visit http://creativecommons.org.license/by-sa/3.0/us.
14 xmlns:xi="http://www.w3.org/2001/XInclude">
16 <!-- See http://www.docbook.org/tdg/en/html/refentry.html. -->
19 <refentrytitle>wflinfo</refentrytitle>
20 <manvolnum>1</manvolnum>
24 <refname>wflinfo</refname>
25 <refpurpose>a utility for printing OpenGL or OpenGL ES driver information</refpurpose>
29 <title>wflinfo Manual</title>
30 <productname>waffle</productname>
31 <xi:include href="common/author-chad.versace.xml"/>
32 <xi:include href="common/author-jordan.l.justen.xml"/>
33 <xi:include href="common/copyright.xml"/>
34 <xi:include href="common/legalnotice.xml"/>
39 <command>wflinfo</command>
41 <option>--platform=<replaceable class="parameter">platform</replaceable></option>
44 <option>--api=<replaceable class="parameter">api</replaceable></option>
47 <option><replaceable class="parameter">OPTIONS</replaceable></option>
53 <title>Description</title>
56 wflinfo is utility which creates an OpenGL or OpenGL ES context using the waffle library and
57 prints information about the context.
63 <title>Required Parameters</title>
67 <term><option>-p</option> <replaceable class="parameter">platform</replaceable></term>
68 <term><option>--platform=<replaceable class="parameter">platform</replaceable></option></term>
71 Where <replaceable class="parameter">platform</replaceable> is
72 <simplelist type="inline">
73 <?dbchoice choice="or"?>
74 <member>android</member>
78 <member>surfaceless_egl (or short alias 'sl')</member>
79 <member>wayland</member>
81 <member>x11_egl</member>
87 <term><option>-a</option> <replaceable class="parameter">api</replaceable></term>
88 <term><option>--api=<replaceable class="parameter">api</replaceable></option></term>
91 Where <replaceable class="parameter">api</replaceable> is
92 <simplelist type="inline">
93 <?dbchoice choice="or"?>
95 <member>gles1</member>
96 <member>gles2</member>
97 <member>gles3</member>
107 <title>Options</title>
110 <term><option>-V</option> <replaceable class="parameter">MAJOR.MINOR</replaceable></term>
111 <term><option>--version=<replaceable class="parameter">MAJOR.MINOR</replaceable></option></term>
114 For example --api=gl --version=3.2 would request OpenGL 3.2
119 <term><option>--profile=<replaceable class="parameter">profile</replaceable></option></term>
122 Where <replaceable class="parameter">profile</replaceable> is core, compat or none
127 <term><option>-v</option></term>
128 <term><option>--verbose</option></term>
131 Print more information
136 <term><option>--forward-compatible</option></term>
139 Request a forward compatible context be created
144 <term><option>--debug-context</option></term>
147 Request a debug context be created
152 <term><option>-f <replaceable class="parameter">format</replaceable></option></term>
153 <term><option>--format=<replaceable class="parameter">format</replaceable></option></term>
156 Choose the output format. Supported formats are 'original' (the default) and 'json'.
159 The JSON format is backwards-compatible across Waffle versions.
160 Future Waffle versions may add new entries to the JSON output, but will not remove existing entries.
165 <term><option>-h</option></term>
166 <term><option>--help</option></term>
169 Print wflinfo usage information
177 <title>Examples</title>
181 <member>wflinfo --platform=glx --api=gl</member>
182 <member>wflinfo --platform=x11_egl --api=gl --version=3.2 --profile=core</member>
183 <member>wflinfo --platform=wayland --api=gles3</member>
184 <member>wflinfo --platform=gbm --api=gl --version=3.2 --verbose</member>
185 <member>wflinfo -p gbm -a gl -V 3.2 -v</member>
191 <xi:include href="common/issues.xml"/>
194 <title>See Also</title>
197 <member><citerefentry><refentrytitle>waffle</refentrytitle><manvolnum>7</manvolnum></citerefentry></member>
205 vim:tw=120 et ts=2 sw=2: