• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5<title>GstGLDisplayEGL: GStreamer Base Plugins 1.0 Library Reference Manual</title>
6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7<link rel="home" href="index.html" title="GStreamer Base Plugins 1.0 Library Reference Manual">
8<link rel="up" href="gl.html" title="OpenGL Integration Library">
9<link rel="prev" href="gst-plugins-base-libs-GstGLDisplayCocoa.html" title="GstGLDisplayCocoa">
10<link rel="next" href="GstGLDisplayWayland.html" title="GstGLDisplayWayland">
11<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
12<link rel="stylesheet" href="style.css" type="text/css">
13</head>
14<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16<td width="100%" align="left" class="shortcuts">
17<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span18                  <a href="#gst-plugins-base-libs-GstGLDisplayEGL.description" class="shortcut">Description</a></span>
19</td>
20<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
21<td><a accesskey="u" href="gl.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
22<td><a accesskey="p" href="gst-plugins-base-libs-GstGLDisplayCocoa.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
23<td><a accesskey="n" href="GstGLDisplayWayland.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
24</tr></table>
25<div class="refentry">
26<a name="gst-plugins-base-libs-GstGLDisplayEGL"></a><div class="titlepage"></div>
27<div class="refnamediv"><table width="100%"><tr>
28<td valign="top">
29<h2><span class="refentrytitle"><a name="gst-plugins-base-libs-GstGLDisplayEGL.top_of_page"></a>GstGLDisplayEGL</span></h2>
30<p>GstGLDisplayEGL</p>
31</td>
32<td class="gallery_image" valign="top" align="right"></td>
33</tr></table></div>
34<div class="refsect1">
35<a name="gst-plugins-base-libs-GstGLDisplayEGL.functions"></a><h2>Functions</h2>
36<div class="informaltable"><table class="informaltable" width="100%" border="0">
37<colgroup>
38<col width="150px" class="functions_return">
39<col class="functions_name">
40</colgroup>
41<tbody>
42<tr>
43<td class="function_type">
44<span class="returnvalue">GstGLDisplayEGL</span> *
45</td>
46<td class="function_name">
47<a class="link" href="gst-plugins-base-libs-GstGLDisplayEGL.html#gst-gl-display-egl-new" title="gst_gl_display_egl_new ()">gst_gl_display_egl_new</a> <span class="c_punctuation">()</span>
48</td>
49</tr>
50<tr>
51<td class="function_type">
52<span class="returnvalue">GstGLDisplayEGL</span> *
53</td>
54<td class="function_name">
55<a class="link" href="gst-plugins-base-libs-GstGLDisplayEGL.html#gst-gl-display-egl-new-with-egl-display" title="gst_gl_display_egl_new_with_egl_display ()">gst_gl_display_egl_new_with_egl_display</a> <span class="c_punctuation">()</span>
56</td>
57</tr>
58<tr>
59<td class="function_type">
60<span class="returnvalue">GstGLDisplayEGL</span> *
61</td>
62<td class="function_name">
63<a class="link" href="gst-plugins-base-libs-GstGLDisplayEGL.html#gst-gl-display-egl-from-gl-display" title="gst_gl_display_egl_from_gl_display ()">gst_gl_display_egl_from_gl_display</a> <span class="c_punctuation">()</span>
64</td>
65</tr>
66<tr>
67<td class="function_type">
68<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
69</td>
70<td class="function_name">
71<a class="link" href="gst-plugins-base-libs-GstGLDisplayEGL.html#gst-gl-display-egl-get-from-native" title="gst_gl_display_egl_get_from_native ()">gst_gl_display_egl_get_from_native</a> <span class="c_punctuation">()</span>
72</td>
73</tr>
74</tbody>
75</table></div>
76</div>
77<div class="refsect1">
78<a name="gst-plugins-base-libs-GstGLDisplayEGL.includes"></a><h2>Includes</h2>
79<pre class="synopsis">#include &lt;gst/gl/egl/gstgldisplay_egl.h&gt;
80</pre>
81</div>
82<div class="refsect1">
83<a name="gst-plugins-base-libs-GstGLDisplayEGL.description"></a><h2>Description</h2>
84</div>
85<div class="refsect1">
86<a name="gst-plugins-base-libs-GstGLDisplayEGL.functions_details"></a><h2>Functions</h2>
87<div class="refsect2">
88<a name="gst-gl-display-egl-new"></a><h3>gst_gl_display_egl_new ()</h3>
89<pre class="programlisting"><span class="returnvalue">GstGLDisplayEGL</span> *
90gst_gl_display_egl_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
91<p>Create a new <span class="type">GstGLDisplayEGL</span> using the default EGL_DEFAULT_DISPLAY.</p>
92<div class="refsect3">
93<a name="gst-gl-display-egl-new.returns"></a><h4>Returns</h4>
94<p>a new <span class="type">GstGLDisplayEGL</span> or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
95<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
96</div>
97</div>
98<hr>
99<div class="refsect2">
100<a name="gst-gl-display-egl-new-with-egl-display"></a><h3>gst_gl_display_egl_new_with_egl_display ()</h3>
101<pre class="programlisting"><span class="returnvalue">GstGLDisplayEGL</span> *
102gst_gl_display_egl_new_with_egl_display
103                               (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> display</code></em>);</pre>
104</div>
105<hr>
106<div class="refsect2">
107<a name="gst-gl-display-egl-from-gl-display"></a><h3>gst_gl_display_egl_from_gl_display ()</h3>
108<pre class="programlisting"><span class="returnvalue">GstGLDisplayEGL</span> *
109gst_gl_display_egl_from_gl_display (<em class="parameter"><code><a class="link" href="GstGLDisplay.html" title="GstGLDisplay"><span class="type">GstGLDisplay</span></a> *display</code></em>);</pre>
110<p>Creates a EGL display connection from a native Display.</p>
111<p>This function will return the same value for multiple calls with the same
112<em class="parameter"><code>display</code></em>
113.</p>
114<div class="refsect3">
115<a name="gst-gl-display-egl-from-gl-display.parameters"></a><h4>Parameters</h4>
116<div class="informaltable"><table class="informaltable" width="100%" border="0">
117<colgroup>
118<col width="150px" class="parameters_name">
119<col class="parameters_description">
120<col width="200px" class="parameters_annotations">
121</colgroup>
122<tbody><tr>
123<td class="parameter_name"><p>display</p></td>
124<td class="parameter_description"><p>an existing <a class="link" href="GstGLDisplay.html" title="GstGLDisplay"><span class="type">GstGLDisplay</span></a></p></td>
125<td class="parameter_annotations"> </td>
126</tr></tbody>
127</table></div>
128</div>
129<div class="refsect3">
130<a name="gst-gl-display-egl-from-gl-display.returns"></a><h4>Returns</h4>
131<p>a new <span class="type">GstGLDisplayEGL</span>. </p>
132<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
133</div>
134<p class="since">Since: <a class="link" href="ix05.html#api-index-1.12">1.12</a></p>
135</div>
136<hr>
137<div class="refsect2">
138<a name="gst-gl-display-egl-get-from-native"></a><h3>gst_gl_display_egl_get_from_native ()</h3>
139<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
140gst_gl_display_egl_get_from_native (<em class="parameter"><code><a class="link" href="GstGLDisplay.html#GstGLDisplayType" title="enum GstGLDisplayType"><span class="type">GstGLDisplayType</span></a> type</code></em>,
141                                    <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guintptr"><span class="type">guintptr</span></a> display</code></em>);</pre>
142<p>Attempts to create a new <span class="type">EGLDisplay</span> from <em class="parameter"><code>display</code></em>
143.  If <em class="parameter"><code>type</code></em>
144 is
145<a class="link" href="GstGLDisplay.html#GST-GL-DISPLAY-TYPE-ANY:CAPS"><code class="literal">GST_GL_DISPLAY_TYPE_ANY</code></a>, then <em class="parameter"><code>display</code></em>
146 must be 0. <em class="parameter"><code>type</code></em>
147 must not be
148<a class="link" href="GstGLDisplay.html#GST-GL-DISPLAY-TYPE-NONE:CAPS"><code class="literal">GST_GL_DISPLAY_TYPE_NONE</code></a>.</p>
149<div class="refsect3">
150<a name="gst-gl-display-egl-get-from-native.parameters"></a><h4>Parameters</h4>
151<div class="informaltable"><table class="informaltable" width="100%" border="0">
152<colgroup>
153<col width="150px" class="parameters_name">
154<col class="parameters_description">
155<col width="200px" class="parameters_annotations">
156</colgroup>
157<tbody>
158<tr>
159<td class="parameter_name"><p>type</p></td>
160<td class="parameter_description"><p>a <a class="link" href="GstGLDisplay.html#GstGLDisplayType" title="enum GstGLDisplayType"><span class="type">GstGLDisplayType</span></a></p></td>
161<td class="parameter_annotations"> </td>
162</tr>
163<tr>
164<td class="parameter_name"><p>display</p></td>
165<td class="parameter_description"><p>pointer to a display (or 0)</p></td>
166<td class="parameter_annotations"> </td>
167</tr>
168</tbody>
169</table></div>
170</div>
171<div class="refsect3">
172<a name="gst-gl-display-egl-get-from-native.returns"></a><h4>Returns</h4>
173<p> A <span class="type">EGLDisplay</span> or <code class="literal">EGL_NO_DISPLAY</code></p>
174</div>
175<p class="since">Since: <a class="link" href="ix05.html#api-index-1.12">1.12</a></p>
176</div>
177</div>
178<div class="refsect1">
179<a name="gst-plugins-base-libs-GstGLDisplayEGL.other_details"></a><h2>Types and Values</h2>
180</div>
181</div>
182<div class="footer">
183<hr>Generated by GTK-Doc V1.28</div>
184</body>
185</html>