glfw3native_8h_source.html 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.3.1"/>
  7. <title>GLFW: glfw3native.h Source File</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  12. <script type="text/javascript" src="search/search.js"></script>
  13. <script type="text/javascript">
  14. $(document).ready(function() { searchBox.OnSelectItem(0); });
  15. </script>
  16. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  17. </head>
  18. <body>
  19. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  20. <div id="titlearea">
  21. <table cellspacing="0" cellpadding="0">
  22. <tbody>
  23. <tr style="height: 56px;">
  24. <td style="padding-left: 0.5em;">
  25. <div id="projectname">GLFW
  26. &#160;<span id="projectnumber">3.0.2</span>
  27. </div>
  28. <div id="projectbrief">A multi-platform library for OpenGL, window and input</div>
  29. </td>
  30. </tr>
  31. </tbody>
  32. </table>
  33. </div>
  34. <!-- end header part -->
  35. <!-- Generated by Doxygen 1.8.3.1 -->
  36. <script type="text/javascript">
  37. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  38. </script>
  39. <div id="navrow1" class="tabs">
  40. <ul class="tablist">
  41. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  42. <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
  43. <li><a href="modules.html"><span>Modules</span></a></li>
  44. <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
  45. <li class="current"><a href="files.html"><span>Files</span></a></li>
  46. <li>
  47. <div id="MSearchBox" class="MSearchBoxInactive">
  48. <span class="left">
  49. <img id="MSearchSelect" src="search/mag_sel.png"
  50. onmouseover="return searchBox.OnSearchSelectShow()"
  51. onmouseout="return searchBox.OnSearchSelectHide()"
  52. alt=""/>
  53. <input type="text" id="MSearchField" value="Search" accesskey="S"
  54. onfocus="searchBox.OnSearchFieldFocus(true)"
  55. onblur="searchBox.OnSearchFieldFocus(false)"
  56. onkeyup="searchBox.OnSearchFieldChange(event)"/>
  57. </span><span class="right">
  58. <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  59. </span>
  60. </div>
  61. </li>
  62. </ul>
  63. </div>
  64. <div id="navrow2" class="tabs2">
  65. <ul class="tablist">
  66. <li><a href="files.html"><span>File&#160;List</span></a></li>
  67. <li><a href="globals.html"><span>Globals</span></a></li>
  68. </ul>
  69. </div>
  70. <!-- window showing the filter options -->
  71. <div id="MSearchSelectWindow"
  72. onmouseover="return searchBox.OnSearchSelectShow()"
  73. onmouseout="return searchBox.OnSearchSelectHide()"
  74. onkeydown="return searchBox.OnSearchSelectKey(event)">
  75. <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Pages</a></div>
  76. <!-- iframe showing the search results (closed by default) -->
  77. <div id="MSearchResultsWindow">
  78. <iframe src="javascript:void(0)" frameborder="0"
  79. name="MSearchResults" id="MSearchResults">
  80. </iframe>
  81. </div>
  82. <div id="nav-path" class="navpath">
  83. <ul>
  84. <li class="navelem"><a class="el" href="dir_3f3568fd511578374d584a66680052c4.html">glfw-3.0.2</a></li><li class="navelem"><a class="el" href="dir_8513384d385aefa7e0df3f96e9cce3ce.html">include</a></li><li class="navelem"><a class="el" href="dir_2234b45d61dd6825fbae406b42298127.html">GLFW</a></li> </ul>
  85. </div>
  86. </div><!-- top -->
  87. <div class="header">
  88. <div class="headertitle">
  89. <div class="title">glfw3native.h</div> </div>
  90. </div><!--header-->
  91. <div class="contents">
  92. <a href="glfw3native_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/*************************************************************************</span></div>
  93. <div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * GLFW 3.0 - www.glfw.org</span></div>
  94. <div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> * A library for OpenGL, window and input</span></div>
  95. <div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> *------------------------------------------------------------------------</span></div>
  96. <div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * Copyright (c) 2002-2006 Marcus Geelnard</span></div>
  97. <div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * Copyright (c) 2006-2010 Camilla Berglund &lt;elmindreda@elmindreda.org&gt;</span></div>
  98. <div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> *</span></div>
  99. <div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> * This software is provided &#39;as-is&#39;, without any express or implied</span></div>
  100. <div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> * warranty. In no event will the authors be held liable for any damages</span></div>
  101. <div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> * arising from the use of this software.</span></div>
  102. <div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> *</span></div>
  103. <div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> * Permission is granted to anyone to use this software for any purpose,</span></div>
  104. <div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> * including commercial applications, and to alter it and redistribute it</span></div>
  105. <div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> * freely, subject to the following restrictions:</span></div>
  106. <div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> *</span></div>
  107. <div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> * 1. The origin of this software must not be misrepresented; you must not</span></div>
  108. <div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment"> * claim that you wrote the original software. If you use this software</span></div>
  109. <div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment"> * in a product, an acknowledgment in the product documentation would</span></div>
  110. <div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment"> * be appreciated but is not required.</span></div>
  111. <div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="comment"> *</span></div>
  112. <div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="comment"> * 2. Altered source versions must be plainly marked as such, and must not</span></div>
  113. <div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="comment"> * be misrepresented as being the original software.</span></div>
  114. <div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="comment"> *</span></div>
  115. <div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="comment"> * 3. This notice may not be removed or altered from any source</span></div>
  116. <div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="comment"> * distribution.</span></div>
  117. <div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="comment"> *</span></div>
  118. <div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="comment"> *************************************************************************/</span></div>
  119. <div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div>
  120. <div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#ifndef _glfw3_native_h_</span></div>
  121. <div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define _glfw3_native_h_</span></div>
  122. <div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor"></span></div>
  123. <div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
  124. <div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
  125. <div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="preprocessor">#endif</span></div>
  126. <div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="preprocessor"></span></div>
  127. <div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;</div>
  128. <div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="comment">/*************************************************************************</span></div>
  129. <div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="comment"> * Doxygen documentation</span></div>
  130. <div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="comment"> *************************************************************************/</span></div>
  131. <div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;</div>
  132. <div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;<span class="comment">/*************************************************************************</span></div>
  133. <div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;<span class="comment"> * System headers and types</span></div>
  134. <div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;<span class="comment"> *************************************************************************/</span></div>
  135. <div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;</div>
  136. <div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;<span class="preprocessor">#if defined(GLFW_EXPOSE_NATIVE_WIN32)</span></div>
  137. <div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;<span class="preprocessor"></span><span class="preprocessor"> #include &lt;windows.h&gt;</span></div>
  138. <div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;<span class="preprocessor">#elif defined(GLFW_EXPOSE_NATIVE_COCOA)</span></div>
  139. <div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;<span class="preprocessor"></span><span class="preprocessor"> #if defined(__OBJC__)</span></div>
  140. <div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;<span class="preprocessor"></span><span class="preprocessor"> #import &lt;Cocoa/Cocoa.h&gt;</span></div>
  141. <div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;<span class="preprocessor"> #else</span></div>
  142. <div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;<span class="preprocessor"></span> <span class="keyword">typedef</span> <span class="keywordtype">void</span>* id;</div>
  143. <div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;<span class="preprocessor"> #endif</span></div>
  144. <div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#elif defined(GLFW_EXPOSE_NATIVE_X11)</span></div>
  145. <div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;<span class="preprocessor"></span><span class="preprocessor"> #include &lt;X11/Xlib.h&gt;</span></div>
  146. <div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;<span class="preprocessor">#else</span></div>
  147. <div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;<span class="preprocessor"></span><span class="preprocessor"> #error &quot;No window API specified&quot;</span></div>
  148. <div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
  149. <div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;<span class="preprocessor"></span></div>
  150. <div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;<span class="preprocessor">#if defined(GLFW_EXPOSE_NATIVE_WGL)</span></div>
  151. <div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;<span class="preprocessor"></span> <span class="comment">/* WGL is declared by windows.h */</span></div>
  152. <div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160;<span class="preprocessor">#elif defined(GLFW_EXPOSE_NATIVE_NSGL)</span></div>
  153. <div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;<span class="preprocessor"></span> <span class="comment">/* NSGL is declared by Cocoa.h */</span></div>
  154. <div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;<span class="preprocessor">#elif defined(GLFW_EXPOSE_NATIVE_GLX)</span></div>
  155. <div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;<span class="preprocessor"></span><span class="preprocessor"> #include &lt;GL/glx.h&gt;</span></div>
  156. <div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;<span class="preprocessor">#elif defined(GLFW_EXPOSE_NATIVE_EGL)</span></div>
  157. <div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;<span class="preprocessor"></span><span class="preprocessor"> #include &lt;EGL/egl.h&gt;</span></div>
  158. <div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;<span class="preprocessor">#else</span></div>
  159. <div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;<span class="preprocessor"></span><span class="preprocessor"> #error &quot;No context API specified&quot;</span></div>
  160. <div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
  161. <div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;<span class="preprocessor"></span></div>
  162. <div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;</div>
  163. <div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160;<span class="comment">/*************************************************************************</span></div>
  164. <div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;<span class="comment"> * Functions</span></div>
  165. <div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160;<span class="comment"> *************************************************************************/</span></div>
  166. <div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160;</div>
  167. <div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;<span class="preprocessor">#if defined(GLFW_EXPOSE_NATIVE_WIN32)</span></div>
  168. <div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;<span class="preprocessor"></span></div>
  169. <div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160;GLFWAPI HWND <a class="code" href="group__native.html#gafe5079aa79038b0079fc09d5f0a8e667" title="Returns the HWND of the specified window.">glfwGetWin32Window</a>(<a class="code" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a>* window);</div>
  170. <div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160;<span class="preprocessor">#endif</span></div>
  171. <div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160;<span class="preprocessor"></span></div>
  172. <div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160;<span class="preprocessor">#if defined(GLFW_EXPOSE_NATIVE_WGL)</span></div>
  173. <div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160;<span class="preprocessor"></span></div>
  174. <div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160;GLFWAPI HGLRC <a class="code" href="group__native.html#gadc4010d91d9cc1134d040eeb1202a143" title="Returns the HGLRC of the specified window.">glfwGetWGLContext</a>(<a class="code" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a>* window);</div>
  175. <div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160;<span class="preprocessor">#endif</span></div>
  176. <div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160;<span class="preprocessor"></span></div>
  177. <div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160;<span class="preprocessor">#if defined(GLFW_EXPOSE_NATIVE_COCOA)</span></div>
  178. <div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160;<span class="preprocessor"></span></div>
  179. <div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160;GLFWAPI <span class="keywordtype">id</span> <a class="code" href="group__native.html#gac3ed9d495d0c2bb9652de5a50c648715" title="Returns the NSWindow of the specified window.">glfwGetCocoaWindow</a>(<a class="code" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a>* window);</div>
  180. <div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;<span class="preprocessor">#endif</span></div>
  181. <div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160;<span class="preprocessor"></span></div>
  182. <div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;<span class="preprocessor">#if defined(GLFW_EXPOSE_NATIVE_NSGL)</span></div>
  183. <div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160;<span class="preprocessor"></span></div>
  184. <div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160;GLFWAPI <span class="keywordtype">id</span> <a class="code" href="group__native.html#ga559e002e3cd63c979881770cd4dc63bc" title="Returns the NSOpenGLContext of the specified window.">glfwGetNSGLContext</a>(<a class="code" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a>* window);</div>
  185. <div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160;<span class="preprocessor">#endif</span></div>
  186. <div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160;<span class="preprocessor"></span></div>
  187. <div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160;<span class="preprocessor">#if defined(GLFW_EXPOSE_NATIVE_X11)</span></div>
  188. <div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160;<span class="preprocessor"></span></div>
  189. <div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160;GLFWAPI Display* <a class="code" href="group__native.html#ga8519b66594ea3ef6eeafaa2e3ee37406" title="Returns the Display used by GLFW.">glfwGetX11Display</a>(<span class="keywordtype">void</span>);</div>
  190. <div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160;GLFWAPI Window <a class="code" href="group__native.html#ga90ca676322740842db446999a1b1f21d" title="Returns the Window of the specified window.">glfwGetX11Window</a>(<a class="code" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a>* window);</div>
  191. <div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;<span class="preprocessor">#endif</span></div>
  192. <div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160;<span class="preprocessor"></span></div>
  193. <div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160;<span class="preprocessor">#if defined(GLFW_EXPOSE_NATIVE_GLX)</span></div>
  194. <div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160;<span class="preprocessor"></span></div>
  195. <div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160;GLFWAPI GLXContext <a class="code" href="group__native.html#ga62d884114b0abfcdc2930e89f20867e2" title="Returns the GLXContext of the specified window.">glfwGetGLXContext</a>(<a class="code" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a>* window);</div>
  196. <div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160;<span class="preprocessor">#endif</span></div>
  197. <div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160;<span class="preprocessor"></span></div>
  198. <div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160;<span class="preprocessor">#if defined(GLFW_EXPOSE_NATIVE_EGL)</span></div>
  199. <div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160;<span class="preprocessor"></span></div>
  200. <div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160;GLFWAPI EGLDisplay <a class="code" href="group__native.html#ga1cd8d973f47aacb5532d368147cc3138" title="Returns the EGLDisplay used by GLFW.">glfwGetEGLDisplay</a>(<span class="keywordtype">void</span>);</div>
  201. <div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160;GLFWAPI EGLContext <a class="code" href="group__native.html#ga671c5072becd085f4ab5771a9c8efcf1" title="Returns the EGLContext of the specified window.">glfwGetEGLContext</a>(<a class="code" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a>* window);</div>
  202. <div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160;GLFWAPI EGLSurface <a class="code" href="group__native.html#ga2199b36117a6a695fec8441d8052eee6" title="Returns the EGLSurface of the specified window.">glfwGetEGLSurface</a>(<a class="code" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a>* window);</div>
  203. <div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160;<span class="preprocessor">#endif</span></div>
  204. <div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160;<span class="preprocessor"></span></div>
  205. <div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
  206. <div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160;<span class="preprocessor"></span>}</div>
  207. <div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160;<span class="preprocessor">#endif</span></div>
  208. <div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160;<span class="preprocessor"></span></div>
  209. <div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* _glfw3_native_h_ */</span><span class="preprocessor"></span></div>
  210. <div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160;<span class="preprocessor"></span></div>
  211. </div><!-- fragment --></div><!-- contents -->
  212. <!-- start footer part -->
  213. <hr class="footer"/><address class="footer"><small>
  214. Generated on Sun Aug 25 2013 21:45:13 for GLFW by &#160;<a href="http://www.doxygen.org/index.html">
  215. <img class="footer" src="doxygen.png" alt="doxygen"/>
  216. </a> 1.8.3.1
  217. </small></address>
  218. </body>
  219. </html>