222 lines
24 KiB
HTML
222 lines
24 KiB
HTML
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||
|
<meta name="generator" content="Doxygen 1.8.3.1"/>
|
||
|
<title>GLFW: glfw3native.h Source File</title>
|
||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||
|
<script type="text/javascript" src="jquery.js"></script>
|
||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||
|
<script type="text/javascript" src="search/search.js"></script>
|
||
|
<script type="text/javascript">
|
||
|
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||
|
</script>
|
||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||
|
</head>
|
||
|
<body>
|
||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||
|
<div id="titlearea">
|
||
|
<table cellspacing="0" cellpadding="0">
|
||
|
<tbody>
|
||
|
<tr style="height: 56px;">
|
||
|
<td style="padding-left: 0.5em;">
|
||
|
<div id="projectname">GLFW
|
||
|
 <span id="projectnumber">3.0.2</span>
|
||
|
</div>
|
||
|
<div id="projectbrief">A multi-platform library for OpenGL, window and input</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
<!-- end header part -->
|
||
|
<!-- Generated by Doxygen 1.8.3.1 -->
|
||
|
<script type="text/javascript">
|
||
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||
|
</script>
|
||
|
<div id="navrow1" class="tabs">
|
||
|
<ul class="tablist">
|
||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||
|
<li><a href="modules.html"><span>Modules</span></a></li>
|
||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||
|
<li>
|
||
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
||
|
<span class="left">
|
||
|
<img id="MSearchSelect" src="search/mag_sel.png"
|
||
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
||
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
||
|
alt=""/>
|
||
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
||
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
||
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
||
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
||
|
</span><span class="right">
|
||
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
||
|
</span>
|
||
|
</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div id="navrow2" class="tabs2">
|
||
|
<ul class="tablist">
|
||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<!-- window showing the filter options -->
|
||
|
<div id="MSearchSelectWindow"
|
||
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
||
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
||
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||
|
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Pages</a></div>
|
||
|
|
||
|
<!-- iframe showing the search results (closed by default) -->
|
||
|
<div id="MSearchResultsWindow">
|
||
|
<iframe src="javascript:void(0)" frameborder="0"
|
||
|
name="MSearchResults" id="MSearchResults">
|
||
|
</iframe>
|
||
|
</div>
|
||
|
|
||
|
<div id="nav-path" class="navpath">
|
||
|
<ul>
|
||
|
<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>
|
||
|
</div>
|
||
|
</div><!-- top -->
|
||
|
<div class="header">
|
||
|
<div class="headertitle">
|
||
|
<div class="title">glfw3native.h</div> </div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
<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> <span class="comment">/*************************************************************************</span></div>
|
||
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * GLFW 3.0 - www.glfw.org</span></div>
|
||
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * A library for OpenGL, window and input</span></div>
|
||
|
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> *------------------------------------------------------------------------</span></div>
|
||
|
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * Copyright (c) 2002-2006 Marcus Geelnard</span></div>
|
||
|
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org></span></div>
|
||
|
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> *</span></div>
|
||
|
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * This software is provided 'as-is', without any express or implied</span></div>
|
||
|
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * warranty. In no event will the authors be held liable for any damages</span></div>
|
||
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * arising from the use of this software.</span></div>
|
||
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> *</span></div>
|
||
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * Permission is granted to anyone to use this software for any purpose,</span></div>
|
||
|
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * including commercial applications, and to alter it and redistribute it</span></div>
|
||
|
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * freely, subject to the following restrictions:</span></div>
|
||
|
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> *</span></div>
|
||
|
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * 1. The origin of this software must not be misrepresented; you must not</span></div>
|
||
|
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * claim that you wrote the original software. If you use this software</span></div>
|
||
|
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * in a product, an acknowledgment in the product documentation would</span></div>
|
||
|
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> * be appreciated but is not required.</span></div>
|
||
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> *</span></div>
|
||
|
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"> * 2. Altered source versions must be plainly marked as such, and must not</span></div>
|
||
|
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment"> * be misrepresented as being the original software.</span></div>
|
||
|
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment"> *</span></div>
|
||
|
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment"> * 3. This notice may not be removed or altered from any source</span></div>
|
||
|
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment"> * distribution.</span></div>
|
||
|
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment"> *</span></div>
|
||
|
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment"> *************************************************************************/</span></div>
|
||
|
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div>
|
||
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#ifndef _glfw3_native_h_</span></div>
|
||
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor"></span><span class="preprocessor">#define _glfw3_native_h_</span></div>
|
||
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor"></span></div>
|
||
|
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
|
||
|
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div>
|
||
|
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#endif</span></div>
|
||
|
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor"></span></div>
|
||
|
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div>
|
||
|
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment">/*************************************************************************</span></div>
|
||
|
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="comment"> * Doxygen documentation</span></div>
|
||
|
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="comment"> *************************************************************************/</span></div>
|
||
|
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div>
|
||
|
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="comment">/*************************************************************************</span></div>
|
||
|
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="comment"> * System headers and types</span></div>
|
||
|
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="comment"> *************************************************************************/</span></div>
|
||
|
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> </div>
|
||
|
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="preprocessor">#if defined(GLFW_EXPOSE_NATIVE_WIN32)</span></div>
|
||
|
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="preprocessor"></span><span class="preprocessor"> #include <windows.h></span></div>
|
||
|
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <span class="preprocessor">#elif defined(GLFW_EXPOSE_NATIVE_COCOA)</span></div>
|
||
|
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="preprocessor"></span><span class="preprocessor"> #if defined(__OBJC__)</span></div>
|
||
|
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="preprocessor"></span><span class="preprocessor"> #import <Cocoa/Cocoa.h></span></div>
|
||
|
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="preprocessor"> #else</span></div>
|
||
|
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="preprocessor"></span> <span class="keyword">typedef</span> <span class="keywordtype">void</span>* id;</div>
|
||
|
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="preprocessor"> #endif</span></div>
|
||
|
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> <span class="preprocessor"></span><span class="preprocessor">#elif defined(GLFW_EXPOSE_NATIVE_X11)</span></div>
|
||
|
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="preprocessor"></span><span class="preprocessor"> #include <X11/Xlib.h></span></div>
|
||
|
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="preprocessor">#else</span></div>
|
||
|
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="preprocessor"></span><span class="preprocessor"> #error "No window API specified"</span></div>
|
||
|
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
|
||
|
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <span class="preprocessor"></span></div>
|
||
|
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="preprocessor">#if defined(GLFW_EXPOSE_NATIVE_WGL)</span></div>
|
||
|
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="preprocessor"></span> <span class="comment">/* WGL is declared by windows.h */</span></div>
|
||
|
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <span class="preprocessor">#elif defined(GLFW_EXPOSE_NATIVE_NSGL)</span></div>
|
||
|
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="preprocessor"></span> <span class="comment">/* NSGL is declared by Cocoa.h */</span></div>
|
||
|
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="preprocessor">#elif defined(GLFW_EXPOSE_NATIVE_GLX)</span></div>
|
||
|
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="preprocessor"></span><span class="preprocessor"> #include <GL/glx.h></span></div>
|
||
|
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> <span class="preprocessor">#elif defined(GLFW_EXPOSE_NATIVE_EGL)</span></div>
|
||
|
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <span class="preprocessor"></span><span class="preprocessor"> #include <EGL/egl.h></span></div>
|
||
|
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> <span class="preprocessor">#else</span></div>
|
||
|
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="preprocessor"></span><span class="preprocessor"> #error "No context API specified"</span></div>
|
||
|
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
|
||
|
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="preprocessor"></span></div>
|
||
|
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div>
|
||
|
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="comment">/*************************************************************************</span></div>
|
||
|
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <span class="comment"> * Functions</span></div>
|
||
|
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <span class="comment"> *************************************************************************/</span></div>
|
||
|
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> </div>
|
||
|
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="preprocessor">#if defined(GLFW_EXPOSE_NATIVE_WIN32)</span></div>
|
||
|
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> <span class="preprocessor"></span></div>
|
||
|
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span> 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>
|
||
|
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> <span class="preprocessor">#endif</span></div>
|
||
|
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> <span class="preprocessor"></span></div>
|
||
|
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> <span class="preprocessor">#if defined(GLFW_EXPOSE_NATIVE_WGL)</span></div>
|
||
|
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="preprocessor"></span></div>
|
||
|
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> 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>
|
||
|
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> <span class="preprocessor">#endif</span></div>
|
||
|
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> <span class="preprocessor"></span></div>
|
||
|
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> <span class="preprocessor">#if defined(GLFW_EXPOSE_NATIVE_COCOA)</span></div>
|
||
|
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> <span class="preprocessor"></span></div>
|
||
|
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> 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>
|
||
|
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> <span class="preprocessor">#endif</span></div>
|
||
|
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> <span class="preprocessor"></span></div>
|
||
|
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> <span class="preprocessor">#if defined(GLFW_EXPOSE_NATIVE_NSGL)</span></div>
|
||
|
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> <span class="preprocessor"></span></div>
|
||
|
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> 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>
|
||
|
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> <span class="preprocessor">#endif</span></div>
|
||
|
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span> <span class="preprocessor"></span></div>
|
||
|
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> <span class="preprocessor">#if defined(GLFW_EXPOSE_NATIVE_X11)</span></div>
|
||
|
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span> <span class="preprocessor"></span></div>
|
||
|
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span> 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>
|
||
|
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> 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>
|
||
|
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span> <span class="preprocessor">#endif</span></div>
|
||
|
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> <span class="preprocessor"></span></div>
|
||
|
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> <span class="preprocessor">#if defined(GLFW_EXPOSE_NATIVE_GLX)</span></div>
|
||
|
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> <span class="preprocessor"></span></div>
|
||
|
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> 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>
|
||
|
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span> <span class="preprocessor">#endif</span></div>
|
||
|
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> <span class="preprocessor"></span></div>
|
||
|
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span> <span class="preprocessor">#if defined(GLFW_EXPOSE_NATIVE_EGL)</span></div>
|
||
|
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span> <span class="preprocessor"></span></div>
|
||
|
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span> 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>
|
||
|
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span> 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>
|
||
|
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span> 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>
|
||
|
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span> <span class="preprocessor">#endif</span></div>
|
||
|
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span> <span class="preprocessor"></span></div>
|
||
|
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
|
||
|
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span> <span class="preprocessor"></span>}</div>
|
||
|
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span> <span class="preprocessor">#endif</span></div>
|
||
|
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> <span class="preprocessor"></span></div>
|
||
|
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span> <span class="preprocessor">#endif </span><span class="comment">/* _glfw3_native_h_ */</span><span class="preprocessor"></span></div>
|
||
|
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span> <span class="preprocessor"></span></div>
|
||
|
</div><!-- fragment --></div><!-- contents -->
|
||
|
<!-- start footer part -->
|
||
|
<hr class="footer"/><address class="footer"><small>
|
||
|
Generated on Sun Aug 25 2013 21:45:13 for GLFW by  <a href="http://www.doxygen.org/index.html">
|
||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||
|
</a> 1.8.3.1
|
||
|
</small></address>
|
||
|
</body>
|
||
|
</html>
|