1<?xml version="1.0" encoding="UTF-8"?> 2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "xhtml1-transitional.dtd"> 3<!-- saved from url=(0013)about:internet --> 4<?xml-stylesheet type="text/xsl" href="mathml.xsl"?><html xmlns="http://www.w3.org/1999/xhtml" xmlns:pref="http://www.w3.org/2002/Math/preference" xmlns:xlink="http://www.w3.org/1999/xlink" pref:renderer="mathplayer-dl"> 5 <head> 6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 7 <style xmlns="" type="text/css"> 8 /* This style sets a margin around the entire page */ 9 html, body { 10 margin: 10px; 11 } 12 13 p { 14 font: normal 16px verdana, sans-serif; 15 margin: 0; 16 padding-bottom:12px; 17 } 18 19 h1 { 20 font: bold 25px verdana, sans-serif; 21 margin-top: 0; 22 margin-bottom: 3px; 23 padding-top: 0; 24 padding-bottom: 0; 25 } 26 27 h2 { 28 font: bold 19px verdana, sans-serif; 29 margin-top: 28px; 30 margin-bottom: 3px; 31 padding-top: 0; 32 padding-bottom: 0; 33 } 34 35 h3 { 36 font: bold 19px verdana, sans-serif !important; 37 margin-top: 28px; 38 margin-bottom: 3px; 39 padding-top: 0; 40 padding-bottom: 0; 41 } 42 43 li { 44 font: normal 16px verdana, sans-serif; 45 margin-top: 0; 46 margin-bottom: 18px; 47 padding-top: 0; 48 padding-bottom: 0; 49 } 50 51 .pdparam { 52 font: italic 16px verdana, sans-serif; 53 } 54 55 .term { 56 font: italic 16px verdana, sans-serif; 57 font-weight: normal; 58 } 59 60 .type { 61 font: normal 16px verdana, sans-serif !important; 62 } 63 64 .parameter { 65 font-style: italic; 66 } 67 68 a:link, a:visited { 69 color: blue; 70 text-decoration: none; 71 font: normal 16px; 72 } 73 74 a:hover { 75 background-color: #FFFF99; 76 font: normal 16px; 77 } 78 79 div.funcsynopsis { 80 text-align: left; 81 background-color: #e6e6e6; 82 font: normal 16px verdana, sans-serif; 83 padding-top: 10px; 84 padding-bottom: 10px; 85 } 86 87 div.funcsynopsis table { 88 border-collapse: separate; 89 font: normal 16px verdana, sans-serif; 90 } 91 92 div.funcsynopsis td { 93 background-color: #e6e6e6; 94 border: 0 solid #000; 95 padding: 1px; 96 font: normal 16px verdana, sans-serif; 97 } 98 99 div.refsect1 { 100 font-family: verdana, sans-serif; 101 font-size: 16px; 102 } 103 104 code.constant { 105 font: normal 16px courier new, monospace !important; 106 } 107 108 span.errorname { 109 font: normal 16px verdana, sans-serif !important; 110 } 111 112 code.function { 113 font: bold 16px verdana, sans-serif !important; 114 } 115 116 b.fsfunc { 117 font: bold 16px verdana, sans-serif !important; 118 } 119 120 code.varname { 121 font: italic 16px verdana, sans-serif; 122 } 123 124 code.replaceable { 125 font: italic 16px courier new, monospace; 126 } 127 128 code.funcdef { 129 font: normal 16px verdana, sans-serif !important; 130 } 131 132 .citerefentry { 133 font: normal 16px verdana, sans-serif !important; 134 } 135 136 .parameter { 137 font-style: italic; 138 } 139 140 code.fsfunc { 141 font: normal 16px verdana, sans-serif !important; 142 } 143 144 /* PARAMETER: This style controls spacing between the terms in Parameter section */ 145 dt { 146 margin-top: 15px; 147 } 148 149 /* TABLES: These styles apply to all tables OTHER than the Synopsis and Example tables */ 150 div.refsect1 table { 151 width: 100%; 152 margin-top: 10px; 153 background-color: #FFF; 154 border-collapse: collapse; 155 border-color: #000; 156 border-width: 1px; 157 font: normal 16px verdana, sans-serif; 158 } 159 160 div.refsect1 th { 161 border-collapse: collapse; 162 border-color: #000; 163 border-width: 1px; 164 font: bold 16px verdana, sans-serif; 165 } 166 167 div.refsect1 td { 168 background-color: #FFF; 169 padding: 5px; 170 vertical-align: text-top; 171 border-collapse: collapse; 172 border-color: #000; 173 border-width: 1px; 174 font: normal 16px verdana, sans-serif; 175 } 176 177 div.refsect1 p{ 178 font: normal 16px verdana, sans-serif; 179 margin-top: 8px; 180 margin-bottom: 8px; 181 padding-top: 0; 182 padding-bottom: 0; 183 } 184 185 186 /* EXAMPLE: These styles apply only to the Example section */ 187 div.refsect2 { 188 font: normal 16px courier new, monospace !important; 189 } 190 191 div.refsect2 table { 192 margin-top: 0; 193 background-color: #e6e6e6; 194 width: 100%; 195 border: 0 solid #000; 196 padding: 2px; 197 font: normal 16px courier new, monospace !important; 198 } 199 200 div.refsect2 td { 201 background-color: #e6e6e6; 202 font: normal 16px courier new, monospace !important; 203 white-space:pre; 204 } 205 206 /* COPYRIGHT: This style formats the text of the copyright statement at the bottom of the page */ 207 div.refsect3 { 208 font: normal 11px verdana, sans-serif; 209 margin-top: 50px; 210 margin-bottom: 20px; 211 padding-top: 0; 212 padding-bottom: 0; 213 } 214 215</style> 216 <title>eglQueryString</title> 217 <meta name="generator" content="DocBook XSL Stylesheets V1.78.1" /> 218 </head> 219 <body> 220 <div class="refentry"> 221 <a id="eglQueryString"></a> 222 <div class="titlepage"></div> 223 <div xmlns="" class="refnamediv"> 224 <h1>eglQueryString</h1> 225 <p> 226 return a string describing an <acronym xmlns="http://www.w3.org/1999/xhtml" class="acronym">EGL</acronym> display connection 227 </p> 228 </div> 229 <div class="refsynopsisdiv"> 230 <h2>C Specification</h2> 231 <div class="funcsynopsis"> 232 <table xmlns="" border="0" summary="Function synopsis" cellspacing="0" cellpadding="0"> 233 <tr valign="bottom"> 234 <td> 235 <code xmlns="http://www.w3.org/1999/xhtml" class="funcdef">char const * <strong class="fsfunc">eglQueryString</strong>(</code> 236 <td>EGLDisplay <var xmlns="http://www.w3.org/1999/xhtml" class="pdparam">display</var>, </td> 237 </td> 238 </tr> 239 <tr valign="top"> 240 <td> </td> 241 <td>EGLint <var xmlns="http://www.w3.org/1999/xhtml" class="pdparam">name</var><code>)</code></td> 242 </tr> 243 </table> 244 </div> 245 </div> 246 <div class="refsect1"> 247 <a id="parameters"></a> 248 <h2>Parameters</h2> 249 <div class="variablelist"> 250 <dl class="variablelist"> 251 <dt> 252 <span class="term"> 253 <em class="parameter"> 254 <code>display</code> 255 </em> 256 </span> 257 </dt> 258 <dd> 259 <p> 260 Specifies the EGL display connection. 261 </p> 262 </dd> 263 <dt> 264 <span class="term"> 265 <em class="parameter"> 266 <code>name</code> 267 </em> 268 </span> 269 </dt> 270 <dd> 271 <p> 272 Specifies a symbolic constant, one of 273 <code class="constant">EGL_CLIENT_APIS</code>, 274 <code class="constant">EGL_VENDOR</code>, 275 <code class="constant">EGL_VERSION</code>, or 276 <code class="constant">EGL_EXTENSIONS</code>. 277 </p> 278 </dd> 279 </dl> 280 </div> 281 </div> 282 <div class="refsect1"> 283 <a id="description"></a> 284 <h2>Description</h2> 285 <p> 286 <code class="function">eglQueryString</code> returns a pointer to a 287 static string describing an EGL display connection. 288 <em class="parameter"><code>name</code></em> can be one of the following: 289 </p> 290 <div class="variablelist"> 291 <dl class="variablelist"> 292 <dt> 293 <span class="term"> 294 <code class="constant">EGL_CLIENT_APIS</code> 295 </span> 296 </dt> 297 <dd> 298 <p> 299 Returns a string describing which client rendering 300 APIs are supported. The string contains a 301 space-separate list of API names. The list must 302 include at least one of <code class="code">OpenGL</code>, 303 <code class="code">OpenGL_ES</code>, or <code class="code">OpenVG</code>. 304 These strings correspond respectively to values 305 <code class="constant">EGL_OPENGL_API</code>, 306 <code class="constant">EGL_OPENGL_ES_API</code>, and 307 <code class="constant">EGL_OPENVG_API</code> of the 308 <a class="citerefentry" href="eglBindAPI.html"><span class="citerefentry"><span class="refentrytitle">eglBindAPI</span></span></a>, 309 <em class="parameter"><code>api</code></em> argument. 310 </p> 311 </dd> 312 <dt> 313 <span class="term"> 314 <code class="constant">EGL_VENDOR</code> 315 </span> 316 </dt> 317 <dd> 318 <p> 319 Returns the company responsible for this EGL implementation. This 320 name does not change from release to release. 321 </p> 322 </dd> 323 <dt> 324 <span class="term"> 325 <code class="constant">EGL_VERSION</code> 326 </span> 327 </dt> 328 <dd> 329 <p> 330 Returns a version or release number. 331 The <code class="constant">EGL_VERSION</code> string is laid out as 332 follows:</p> 333 <p> 334 <em class="replaceable"><code>major_version</code></em>.<em class="replaceable"><code>minor_version</code></em> 335 space 336 <em class="replaceable"><code>vendor_specific_info</code></em> 337 </p> 338 </dd> 339 <dt> 340 <span class="term"> 341 <code class="constant">EGL_EXTENSIONS</code> 342 </span> 343 </dt> 344 <dd> 345 <p> 346 Returns a space separated list of supported extensions to EGL. 347 </p> 348 </dd> 349 </dl> 350 </div> 351 </div> 352 <div class="refsect1"> 353 <a id="notes"></a> 354 <h2>Notes</h2> 355 <p> 356 <code class="constant">EGL_CLIENT_APIS</code> is supported only if 357 the EGL version is 1.2 or greater. 358 </p> 359 </div> 360 <div class="refsect1"> 361 <a id="errors"></a> 362 <h2>Errors</h2> 363 <p> 364 <code class="constant">NULL</code> is returned on failure. 365 </p> 366 <p> 367 <code class="constant">EGL_BAD_DISPLAY</code> is generated if 368 <em class="parameter"><code>display</code></em> is not an EGL display connection. 369 </p> 370 <p> 371 <code class="constant">EGL_NOT_INITIALIZED</code> is generated if 372 <em class="parameter"><code>display</code></em> has not been initialized. 373 </p> 374 <p> 375 <code class="constant">EGL_BAD_PARAMETER</code> is generated if 376 <em class="parameter"><code>name</code></em> is not an accepted value. 377 </p> 378 </div> 379 <div class="refsect1"> 380 <a id="seealso"></a> 381 <h2>See Also</h2> 382 <p> 383 <a class="citerefentry" href="eglBindAPI.html"><span class="citerefentry"><span class="refentrytitle">eglBindAPI</span></span></a>, 384 <a class="citerefentry" href="eglGetDisplay.html"><span class="citerefentry"><span class="refentrytitle">eglGetDisplay</span></span></a>, 385 <a class="citerefentry" href="eglInitialize.html"><span class="citerefentry"><span class="refentrytitle">eglInitialize</span></span></a> 386 </p> 387 </div> 388 <div xmlns="" class="refsect3" lang="en" xml:lang="en"><a xmlns="http://www.w3.org/1999/xhtml" id="Copyright"></a><h4 xmlns="http://www.w3.org/1999/xhtml"></h4><img xmlns="http://www.w3.org/1999/xhtml" src="KhronosLogo.jpg" /><p xmlns="http://www.w3.org/1999/xhtml"></p> 389Copyright © 2003-2014 The Khronos Group Inc. 390Permission is hereby granted, free of charge, to any person obtaining a 391copy of this software and/or associated documentation files (the 392"Materials"), to deal in the Materials without restriction, including 393without limitation the rights to use, copy, modify, merge, publish, 394distribute, sublicense, and/or sell copies of the Materials, and to 395permit persons to whom the Materials are furnished to do so, subject to 396the condition that this copyright notice and permission notice shall be included 397in all copies or substantial portions of the Materials. 398</div> 399 </div> 400 </body> 401</html> 402