1<?xml version="1.0" encoding="UTF-8" standalone="no"?> 2<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title xmlns:xlink="http://www.w3.org/1999/xlink">eglGetDisplay - EGL Reference Pages</title> 5 <link rel="stylesheet" type="text/css" href="khronos-man.css"/> 6 <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"/> 7 </head> 8 <body> 9 <header/> 10 <div class="refentry" id="eglGetDisplay"> 11 <div class="titlepage"/> 12 <div class="refnamediv"> 13 <h2>Name</h2> 14 <p>eglGetDisplay — 15 return an <abbr class="acronym">EGL</abbr> display connection 16 </p> 17 </div> 18 <div class="refsynopsisdiv"> 19 <h2>C Specification</h2> 20 <div class="funcsynopsis"> 21 <table style="border: 0; cellspacing: 0; cellpadding: 0;" class="funcprototype-table"> 22 <tr> 23 <td> 24 <code class="funcdef">EGLDisplay <strong class="fsfunc">eglGetDisplay</strong>(</code> 25 </td> 26 <td>NativeDisplayType <var class="pdparam">native_display</var><code>)</code>;</td> 27 </tr> 28 </table> 29 <div class="funcprototype-spacer"> </div> 30 </div> 31 </div> 32 <div class="refsect1" id="parameters"> 33 <h2>Parameters</h2> 34 <div class="variablelist"> 35 <dl class="variablelist"> 36 <dt> 37 <span class="term"> 38 <em class="parameter"> 39 <code>native_display</code> 40 </em> 41 </span> 42 </dt> 43 <dd> 44 <p> 45 Specifies the display to connect to. 46 <code class="constant">EGL_DEFAULT_DISPLAY</code> indicates the default display. 47 </p> 48 </dd> 49 </dl> 50 </div> 51 </div> 52 <div class="refsect1" id="description"> 53 <h2>Description</h2> 54 <p> 55 <code class="function">eglGetDisplay</code> obtains the 56 <abbr class="acronym">EGL</abbr> display connection for the native 57 display <em class="parameter"><code>native_display</code></em>. 58 </p> 59 <p> 60 If <em class="parameter"><code>display_id</code></em> is 61 <code class="constant">EGL_DEFAULT_DISPLAY</code>, a default display connection is returned. 62 </p> 63 <p> 64 If no display connection matching <em class="parameter"><code>native_display</code></em> is 65 available, <code class="constant">EGL_NO_DISPLAY</code> is returned. No 66 error is generated. 67 </p> 68 <p> 69 Use <a class="citerefentry" href="eglInitialize.xhtml"><span class="citerefentry"><span class="refentrytitle">eglInitialize</span></span></a> 70 to initialize the display connection. 71 </p> 72 </div> 73 <div class="refsect1" id="seealso"> 74 <h2>See Also</h2> 75 <p> 76 <a class="citerefentry" href="eglInitialize.xhtml"><span class="citerefentry"><span class="refentrytitle">eglInitialize</span></span></a> 77 </p> 78 </div> 79 <p> 80 </p> 81 <div class="refsect3" id="copyright"> 82 <img src="KhronosLogo.jpg"/> 83 <p> 84 Copyright © 2003-2014 The Khronos Group Inc. 85 Permission is hereby granted, free of charge, to any person obtaining a 86 copy of this software and/or associated documentation files (the 87 "Materials"), to deal in the Materials without restriction, including 88 without limitation the rights to use, copy, modify, merge, publish, 89 distribute, sublicense, and/or sell copies of the Materials, and to 90 permit persons to whom the Materials are furnished to do so, subject to 91 the condition that this copyright notice and permission notice shall be included 92 in all copies or substantial portions of the Materials. 93 </p> 94 </div> 95 <p> 96</p> 97 </div> 98 <footer/> 99 </body> 100</html> 101