summaryrefslogtreecommitdiff
path: root/graphics__opengl_8h_source.html
blob: 7d96b6ef8bb0dadee6a09b54579b55898b93c74c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!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.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>navit: graphics/opengl/graphics_opengl.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="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></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 id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">navit
   &#160;<span id="projectnumber">0.5.3-trunk</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('graphics__opengl_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</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 class="header">
  <div class="headertitle">
<div class="title">graphics_opengl.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="graphics__opengl_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="keyword">struct </span><a class="code" href="structgraphics__opengl__window__system.html">graphics_opengl_window_system</a>;</div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="keyword">struct </span><a class="code" href="structgraphics__opengl__platform.html">graphics_opengl_platform</a>;</div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;</div><div class="line"><a name="l00005"></a><span class="lineno"><a class="line" href="structgraphics__opengl__window__system__methods.html">    5</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structgraphics__opengl__window__system__methods.html">graphics_opengl_window_system_methods</a> {</div><div class="line"><a name="l00006"></a><span class="lineno"><a class="line" href="structgraphics__opengl__window__system__methods.html#a9ee902977cd17dbf055b8e48582ba528">    6</a></span>&#160;        void (*<a class="code" href="structgraphics__opengl__window__system__methods.html#a9ee902977cd17dbf055b8e48582ba528">destroy</a>)(<span class="keyword">struct </span><a class="code" href="structgraphics__opengl__window__system.html">graphics_opengl_window_system</a> *);</div><div class="line"><a name="l00007"></a><span class="lineno"><a class="line" href="structgraphics__opengl__window__system__methods.html#aa894c8067871f7b1bcc445f7f86e10bc">    7</a></span>&#160;        <span class="keywordtype">void</span> *(*get_display)(<span class="keyword">struct </span><a class="code" href="structgraphics__opengl__window__system.html">graphics_opengl_window_system</a> *);</div><div class="line"><a name="l00008"></a><span class="lineno"><a class="line" href="structgraphics__opengl__window__system__methods.html#af319dfa884bd07fc90ae6d2cf4eba1b1">    8</a></span>&#160;        <span class="keywordtype">void</span> *(*get_window)(<span class="keyword">struct </span><a class="code" href="structgraphics__opengl__window__system.html">graphics_opengl_window_system</a> *);</div><div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="structgraphics__opengl__window__system__methods.html#a0c4015dd6ab8cee6d8b224d4c86bd3f1">    9</a></span>&#160;        void (*<a class="code" href="structgraphics__opengl__window__system__methods.html#a0c4015dd6ab8cee6d8b224d4c86bd3f1">set_callbacks</a>)(<span class="keyword">struct </span><a class="code" href="structgraphics__opengl__window__system.html">graphics_opengl_window_system</a> *, <span class="keywordtype">void</span> *<a class="code" href="garmin__img_8c.html#a433b1c9921d3b90f7c145c781a43f325">data</a>, <span class="keywordtype">void</span> *<a class="code" href="structgraphics__opengl__window__system.html#a08ac431fae7fa546948bcda4e118248e">resize</a>, <span class="keywordtype">void</span> *<a class="code" href="structgraphics__opengl__window__system.html#aba394603f887837cfc7250fe9d07589c">button</a>, <span class="keywordtype">void</span> *<a class="code" href="structgraphics__opengl__window__system.html#a8a329aa3e7cbe60c7b2b6caa8f767b44">motion</a>, <span class="keywordtype">void</span> *<a class="code" href="graphics__gtk__drawing__area_8c.html#a32af90cf45b027c8b8faffb94cf2b8c4">keypress</a>);</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;};</div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="structgraphics__opengl__platform__methods.html">   12</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structgraphics__opengl__platform__methods.html">graphics_opengl_platform_methods</a> {</div><div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="structgraphics__opengl__platform__methods.html#a12625b1efcd723bdcb7129652aa154b0">   13</a></span>&#160;        void (*<a class="code" href="structgraphics__opengl__window__system__methods.html#a9ee902977cd17dbf055b8e48582ba528">destroy</a>)(<span class="keyword">struct </span><a class="code" href="structgraphics__opengl__platform.html">graphics_opengl_platform</a> *);</div><div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="structgraphics__opengl__platform__methods.html#a96678d73696011d5142f35bda58869b2">   14</a></span>&#160;        void (*swap_buffers)(<span class="keyword">struct </span><a class="code" href="structgraphics__opengl__platform.html">graphics_opengl_platform</a> *);</div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;};</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="keyword">struct </span><a class="code" href="structgraphics__opengl__window__system.html">graphics_opengl_window_system</a> *<a class="code" href="graphics__opengl_8h.html#a68e67effcdadb0d0d213627cc549a75d">graphics_opengl_x11_new</a>(<span class="keywordtype">void</span> *displayname, <span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h, <span class="keywordtype">int</span> depth, <span class="keyword">struct</span> <a class="code" href="structgraphics__opengl__window__system__methods.html">graphics_opengl_window_system_methods</a> **<a class="code" href="font__freetype_8c.html#aceb013fe8197cf382d5d66cf84451d83">methods</a>);</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="keyword">struct </span><a class="code" href="structgraphics__opengl__platform.html">graphics_opengl_platform</a> *<a class="code" href="graphics__opengl_8h.html#a1da503d26b8b0a44adae1cc93e238bd1">graphics_opengl_egl_new</a>(<span class="keywordtype">void</span> *<a class="code" href="graphics__opengl_8c.html#aa56c53aab8eb86f3bde703cb491ef326">display</a>, <span class="keywordtype">void</span> *<a class="code" href="structwindow.html">window</a>, <span class="keyword">struct</span> <a class="code" href="structgraphics__opengl__platform__methods.html">graphics_opengl_platform_methods</a> **<a class="code" href="font__freetype_8c.html#aceb013fe8197cf382d5d66cf84451d83">methods</a>);</div><div class="ttc" id="graphics__opengl_8h_html_a1da503d26b8b0a44adae1cc93e238bd1"><div class="ttname"><a href="graphics__opengl_8h.html#a1da503d26b8b0a44adae1cc93e238bd1">graphics_opengl_egl_new</a></div><div class="ttdeci">struct graphics_opengl_platform * graphics_opengl_egl_new(void *display, void *window, struct graphics_opengl_platform_methods **methods)</div><div class="ttdef"><b>Definition:</b> graphics_opengl_egl.c:52</div></div>
<div class="ttc" id="structgraphics__opengl__window__system_html_a8a329aa3e7cbe60c7b2b6caa8f767b44"><div class="ttname"><a href="structgraphics__opengl__window__system.html#a8a329aa3e7cbe60c7b2b6caa8f767b44">graphics_opengl_window_system::motion</a></div><div class="ttdeci">void(* motion)(void *data, int x, int y)</div><div class="ttdef"><b>Definition:</b> graphics_opengl_x11.c:20</div></div>
<div class="ttc" id="structgraphics__opengl__platform_html"><div class="ttname"><a href="structgraphics__opengl__platform.html">graphics_opengl_platform</a></div><div class="ttdef"><b>Definition:</b> graphics_egl.c:111</div></div>
<div class="ttc" id="structgraphics__opengl__platform__methods_html"><div class="ttname"><a href="structgraphics__opengl__platform__methods.html">graphics_opengl_platform_methods</a></div><div class="ttdef"><b>Definition:</b> graphics_opengl.h:12</div></div>
<div class="ttc" id="structgraphics__opengl__window__system_html_a08ac431fae7fa546948bcda4e118248e"><div class="ttname"><a href="structgraphics__opengl__window__system.html#a08ac431fae7fa546948bcda4e118248e">graphics_opengl_window_system::resize</a></div><div class="ttdeci">void(* resize)(void *data, int w, int h)</div><div class="ttdef"><b>Definition:</b> graphics_opengl_x11.c:18</div></div>
<div class="ttc" id="font__freetype_8c_html_aceb013fe8197cf382d5d66cf84451d83"><div class="ttname"><a href="font__freetype_8c.html#aceb013fe8197cf382d5d66cf84451d83">methods</a></div><div class="ttdeci">static struct font_freetype_methods methods</div><div class="ttdef"><b>Definition:</b> font_freetype.c:604</div></div>
<div class="ttc" id="structgraphics__opengl__window__system_html_aba394603f887837cfc7250fe9d07589c"><div class="ttname"><a href="structgraphics__opengl__window__system.html#aba394603f887837cfc7250fe9d07589c">graphics_opengl_window_system::button</a></div><div class="ttdeci">void(* button)(void *data, int button, int state, int x, int y)</div><div class="ttdef"><b>Definition:</b> graphics_opengl_x11.c:19</div></div>
<div class="ttc" id="garmin__img_8c_html_a433b1c9921d3b90f7c145c781a43f325"><div class="ttname"><a href="garmin__img_8c.html#a433b1c9921d3b90f7c145c781a43f325">data</a></div><div class="ttdeci">char data</div><div class="ttdef"><b>Definition:</b> garmin_img.c:330</div></div>
<div class="ttc" id="graphics__gtk__drawing__area_8c_html_a32af90cf45b027c8b8faffb94cf2b8c4"><div class="ttname"><a href="graphics__gtk__drawing__area_8c.html#a32af90cf45b027c8b8faffb94cf2b8c4">keypress</a></div><div class="ttdeci">static gint keypress(GtkWidget *widget, GdkEventKey *event, gpointer user_data)</div><div class="ttdef"><b>Definition:</b> graphics_gtk_drawing_area.c:729</div></div>
<div class="ttc" id="structgraphics__opengl__window__system_html"><div class="ttname"><a href="structgraphics__opengl__window__system.html">graphics_opengl_window_system</a></div><div class="ttdef"><b>Definition:</b> graphics_opengl_x11.c:9</div></div>
<div class="ttc" id="structgraphics__opengl__window__system__methods_html_a9ee902977cd17dbf055b8e48582ba528"><div class="ttname"><a href="structgraphics__opengl__window__system__methods.html#a9ee902977cd17dbf055b8e48582ba528">graphics_opengl_window_system_methods::destroy</a></div><div class="ttdeci">void(* destroy)(struct graphics_opengl_window_system *)</div><div class="ttdef"><b>Definition:</b> graphics_opengl.h:6</div></div>
<div class="ttc" id="structwindow_html"><div class="ttname"><a href="structwindow.html">window</a></div><div class="ttdef"><b>Definition:</b> window.h:23</div></div>
<div class="ttc" id="structgraphics__opengl__window__system__methods_html"><div class="ttname"><a href="structgraphics__opengl__window__system__methods.html">graphics_opengl_window_system_methods</a></div><div class="ttdef"><b>Definition:</b> graphics_opengl.h:5</div></div>
<div class="ttc" id="structgraphics__opengl__window__system__methods_html_a0c4015dd6ab8cee6d8b224d4c86bd3f1"><div class="ttname"><a href="structgraphics__opengl__window__system__methods.html#a0c4015dd6ab8cee6d8b224d4c86bd3f1">graphics_opengl_window_system_methods::set_callbacks</a></div><div class="ttdeci">void(* set_callbacks)(struct graphics_opengl_window_system *, void *data, void *resize, void *button, void *motion, void *keypress)</div><div class="ttdef"><b>Definition:</b> graphics_opengl.h:9</div></div>
<div class="ttc" id="graphics__opengl_8h_html_a68e67effcdadb0d0d213627cc549a75d"><div class="ttname"><a href="graphics__opengl_8h.html#a68e67effcdadb0d0d213627cc549a75d">graphics_opengl_x11_new</a></div><div class="ttdeci">struct graphics_opengl_window_system * graphics_opengl_x11_new(void *displayname, int w, int h, int depth, struct graphics_opengl_window_system_methods **methods)</div><div class="ttdef"><b>Definition:</b> graphics_opengl_x11.c:107</div></div>
<div class="ttc" id="graphics__opengl_8c_html_aa56c53aab8eb86f3bde703cb491ef326"><div class="ttname"><a href="graphics__opengl_8c.html#aa56c53aab8eb86f3bde703cb491ef326">display</a></div><div class="ttdeci">static void display(void)</div><div class="ttdef"><b>Definition:</b> graphics_opengl.c:1486</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_e79632891301b850df87e9c0030293fa.html">graphics</a></li><li class="navelem"><a class="el" href="dir_c7b46606d24366b69b1a67bdd3f2153b.html">opengl</a></li><li class="navelem"><a class="el" href="graphics__opengl_8h.html">graphics_opengl.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>