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>GstGLDisplayX11: 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="GstGLDisplayWayland.html" title="GstGLDisplayWayland"> 10<link rel="next" href="gst-plugins-base-libs-GstEGLImage.html" title="GstEGLImage"> 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">|</span> 18 <a href="#gst-plugins-base-libs-GstGLDisplayX11.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="GstGLDisplayWayland.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> 23<td><a accesskey="n" href="gst-plugins-base-libs-GstEGLImage.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-GstGLDisplayX11"></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-GstGLDisplayX11.top_of_page"></a>GstGLDisplayX11</span></h2> 30<p>GstGLDisplayX11</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-GstGLDisplayX11.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<a class="link" href="gst-plugins-base-libs-GstGLDisplayX11.html#GstGLDisplayX11" title="struct GstGLDisplayX11"><span class="returnvalue">GstGLDisplayX11</span></a> * 45</td> 46<td class="function_name"> 47<a class="link" href="gst-plugins-base-libs-GstGLDisplayX11.html#gst-gl-display-x11-new" title="gst_gl_display_x11_new ()">gst_gl_display_x11_new</a> <span class="c_punctuation">()</span> 48</td> 49</tr> 50<tr> 51<td class="function_type"> 52<a class="link" href="gst-plugins-base-libs-GstGLDisplayX11.html#GstGLDisplayX11" title="struct GstGLDisplayX11"><span class="returnvalue">GstGLDisplayX11</span></a> * 53</td> 54<td class="function_name"> 55<a class="link" href="gst-plugins-base-libs-GstGLDisplayX11.html#gst-gl-display-x11-new-with-display" title="gst_gl_display_x11_new_with_display ()">gst_gl_display_x11_new_with_display</a> <span class="c_punctuation">()</span> 56</td> 57</tr> 58</tbody> 59</table></div> 60</div> 61<div class="refsect1"> 62<a name="gst-plugins-base-libs-GstGLDisplayX11.other"></a><h2>Types and Values</h2> 63<div class="informaltable"><table class="informaltable" width="100%" border="0"> 64<colgroup> 65<col width="150px" class="name"> 66<col class="description"> 67</colgroup> 68<tbody><tr> 69<td class="datatype_keyword">struct</td> 70<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstGLDisplayX11.html#GstGLDisplayX11" title="struct GstGLDisplayX11">GstGLDisplayX11</a></td> 71</tr></tbody> 72</table></div> 73</div> 74<div class="refsect1"> 75<a name="gst-plugins-base-libs-GstGLDisplayX11.includes"></a><h2>Includes</h2> 76<pre class="synopsis">#include <gst/gl/x11/gstgldisplay_x11.h> 77</pre> 78</div> 79<div class="refsect1"> 80<a name="gst-plugins-base-libs-GstGLDisplayX11.description"></a><h2>Description</h2> 81</div> 82<div class="refsect1"> 83<a name="gst-plugins-base-libs-GstGLDisplayX11.functions_details"></a><h2>Functions</h2> 84<div class="refsect2"> 85<a name="gst-gl-display-x11-new"></a><h3>gst_gl_display_x11_new ()</h3> 86<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstGLDisplayX11.html#GstGLDisplayX11" title="struct GstGLDisplayX11"><span class="returnvalue">GstGLDisplayX11</span></a> * 87gst_gl_display_x11_new (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre> 88<p>Create a new <a class="link" href="gst-plugins-base-libs-GstGLDisplayX11.html#GstGLDisplayX11" title="struct GstGLDisplayX11"><span class="type">GstGLDisplayX11</span></a> from the x11 display name. See <code class="function">XOpenDisplay()</code> 89for details on what is a valid name.</p> 90<div class="refsect3"> 91<a name="gst-gl-display-x11-new.parameters"></a><h4>Parameters</h4> 92<div class="informaltable"><table class="informaltable" width="100%" border="0"> 93<colgroup> 94<col width="150px" class="parameters_name"> 95<col class="parameters_description"> 96<col width="200px" class="parameters_annotations"> 97</colgroup> 98<tbody><tr> 99<td class="parameter_name"><p>name</p></td> 100<td class="parameter_description"><p>a display name. </p></td> 101<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td> 102</tr></tbody> 103</table></div> 104</div> 105<div class="refsect3"> 106<a name="gst-gl-display-x11-new.returns"></a><h4>Returns</h4> 107<p>a new <a class="link" href="gst-plugins-base-libs-GstGLDisplayX11.html#GstGLDisplayX11" title="struct GstGLDisplayX11"><span class="type">GstGLDisplayX11</span></a> or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p> 108<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> 109</div> 110</div> 111<hr> 112<div class="refsect2"> 113<a name="gst-gl-display-x11-new-with-display"></a><h3>gst_gl_display_x11_new_with_display ()</h3> 114<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstGLDisplayX11.html#GstGLDisplayX11" title="struct GstGLDisplayX11"><span class="returnvalue">GstGLDisplayX11</span></a> * 115gst_gl_display_x11_new_with_display (<em class="parameter"><code><span class="type">Display</span> *display</code></em>);</pre> 116<p>Creates a new display connection from a X11 Display.</p> 117<div class="refsect3"> 118<a name="gst-gl-display-x11-new-with-display.parameters"></a><h4>Parameters</h4> 119<div class="informaltable"><table class="informaltable" width="100%" border="0"> 120<colgroup> 121<col width="150px" class="parameters_name"> 122<col class="parameters_description"> 123<col width="200px" class="parameters_annotations"> 124</colgroup> 125<tbody><tr> 126<td class="parameter_name"><p>display</p></td> 127<td class="parameter_description"><p>an existing, x11 display</p></td> 128<td class="parameter_annotations"> </td> 129</tr></tbody> 130</table></div> 131</div> 132<div class="refsect3"> 133<a name="gst-gl-display-x11-new-with-display.returns"></a><h4>Returns</h4> 134<p>a new <a class="link" href="gst-plugins-base-libs-GstGLDisplayX11.html#GstGLDisplayX11" title="struct GstGLDisplayX11"><span class="type">GstGLDisplayX11</span></a>. </p> 135<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> 136</div> 137</div> 138</div> 139<div class="refsect1"> 140<a name="gst-plugins-base-libs-GstGLDisplayX11.other_details"></a><h2>Types and Values</h2> 141<div class="refsect2"> 142<a name="GstGLDisplayX11"></a><h3>struct GstGLDisplayX11</h3> 143<pre class="programlisting">struct GstGLDisplayX11 { 144}; 145</pre> 146<p>the contents of a <a class="link" href="gst-plugins-base-libs-GstGLDisplayX11.html#GstGLDisplayX11" title="struct GstGLDisplayX11"><span class="type">GstGLDisplayX11</span></a> are private and should only be accessed 147through the provided API</p> 148</div> 149</div> 150</div> 151<div class="footer"> 152<hr>Generated by GTK-Doc V1.28</div> 153</body> 154</html>