~ubuntu-branches/ubuntu/vivid/gstreamer-vaapi/vivid

« back to all changes in this revision

Viewing changes to docs/reference/libs/html/libs-GstVaapiWindowGLX.html

  • Committer: Package Import Robot
  • Author(s): Vincent Cheng
  • Date: 2014-08-06 23:56:00 UTC
  • mfrom: (0.1.4 sid) (1.1.3)
  • Revision ID: package-import@ubuntu.com-20140806235600-fg1kcmiu67k315q5
Tags: 0.5.9-2
* Remove spurious build-deps: libva-drm1, libavcodec-dev. (Closes: #757283)
* Drop Build-Depends-Indep and build docs unconditionally on all archs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<html>
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
 
<title>GstVaapiWindowGLX</title>
 
5
<title>GStreamer VA-API Plugins 1.2 Library Reference Manual: GstVaapiWindowGLX</title>
6
6
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
7
<link rel="home" href="index.html" title="GStreamer VA-API Plugins 1.2 Library Reference Manual">
8
8
<link rel="up" href="ch01.html" title="gst-plugins-vaapi Library">
9
9
<link rel="prev" href="libs-GstVaapiWindowX11.html" title="GstVaapiWindowX11">
10
10
<link rel="next" href="libs-GstVaapiPixmap.html" title="GstVaapiPixmap">
11
 
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
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="2">
16
 
<tr valign="middle">
17
 
<td><a accesskey="p" href="libs-GstVaapiWindowX11.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
 
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
 
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
 
<th width="100%" align="center">GStreamer VA-API Plugins 1.2 Library Reference Manual</th>
21
 
<td><a accesskey="n" href="libs-GstVaapiPixmap.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22
 
</tr>
23
 
<tr><td colspan="5" class="shortcuts">
24
 
<a href="#libs-GstVaapiWindowGLX.synopsis" class="shortcut">Top</a>
25
 
                   | 
26
 
                  <a href="#libs-GstVaapiWindowGLX.description" class="shortcut">Description</a>
27
 
</td></tr>
28
 
</table>
 
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><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="#libs-GstVaapiWindowGLX.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> 
 
19
                  <a href="#libs-GstVaapiWindowGLX.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
 
20
</td>
 
21
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
 
22
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
 
23
<td><a accesskey="p" href="libs-GstVaapiWindowX11.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
 
24
<td><a accesskey="n" href="libs-GstVaapiPixmap.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
 
25
</tr></table>
29
26
<div class="refentry">
30
27
<a name="libs-GstVaapiWindowGLX"></a><div class="titlepage"></div>
31
28
<div class="refnamediv"><table width="100%"><tr>
33
30
<h2><span class="refentrytitle"><a name="libs-GstVaapiWindowGLX.top_of_page"></a>GstVaapiWindowGLX</span></h2>
34
31
<p>GstVaapiWindowGLX — VA/GLX window abstraction</p>
35
32
</td>
36
 
<td valign="top" align="right"></td>
 
33
<td class="gallery_image" valign="top" align="right"></td>
37
34
</tr></table></div>
38
 
<div class="refsynopsisdiv">
39
 
<a name="libs-GstVaapiWindowGLX.synopsis"></a><h2>Synopsis</h2>
40
 
<pre class="synopsis">                    <a class="link" href="libs-GstVaapiWindowGLX.html#GstVaapiWindowGLX" title="GstVaapiWindowGLX">GstVaapiWindowGLX</a>;
41
 
<a class="link" href="libs-GstVaapiWindow.html#GstVaapiWindow" title="GstVaapiWindow"><span class="returnvalue">GstVaapiWindow</span></a> *    <a class="link" href="libs-GstVaapiWindowGLX.html#gst-vaapi-window-glx-new" title="gst_vaapi_window_glx_new ()">gst_vaapi_window_glx_new</a>            (<em class="parameter"><code><a class="link" href="libs-GstVaapiDisplay.html#GstVaapiDisplay" title="GstVaapiDisplay"><span class="type">GstVaapiDisplay</span></a> *display</code></em>,
42
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> width</code></em>,
43
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> height</code></em>);
44
 
<a class="link" href="libs-GstVaapiWindow.html#GstVaapiWindow" title="GstVaapiWindow"><span class="returnvalue">GstVaapiWindow</span></a> *    <a class="link" href="libs-GstVaapiWindowGLX.html#gst-vaapi-window-glx-new-with-xid" title="gst_vaapi_window_glx_new_with_xid ()">gst_vaapi_window_glx_new_with_xid</a>   (<em class="parameter"><code><a class="link" href="libs-GstVaapiDisplay.html#GstVaapiDisplay" title="GstVaapiDisplay"><span class="type">GstVaapiDisplay</span></a> *display</code></em>,
45
 
                                                         <em class="parameter"><code><span class="type">Window</span> xid</code></em>);
46
 
<span class="returnvalue">GLXContext</span>          <a class="link" href="libs-GstVaapiWindowGLX.html#gst-vaapi-window-glx-get-context" title="gst_vaapi_window_glx_get_context ()">gst_vaapi_window_glx_get_context</a>    (<em class="parameter"><code><a class="link" href="libs-GstVaapiWindowGLX.html#GstVaapiWindowGLX" title="GstVaapiWindowGLX"><span class="type">GstVaapiWindowGLX</span></a> *window</code></em>);
47
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libs-GstVaapiWindowGLX.html#gst-vaapi-window-glx-set-context" title="gst_vaapi_window_glx_set_context ()">gst_vaapi_window_glx_set_context</a>    (<em class="parameter"><code><a class="link" href="libs-GstVaapiWindowGLX.html#GstVaapiWindowGLX" title="GstVaapiWindowGLX"><span class="type">GstVaapiWindowGLX</span></a> *window</code></em>,
48
 
                                                         <em class="parameter"><code><span class="type">GLXContext</span> ctx</code></em>);
49
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libs-GstVaapiWindowGLX.html#gst-vaapi-window-glx-make-current" title="gst_vaapi_window_glx_make_current ()">gst_vaapi_window_glx_make_current</a>   (<em class="parameter"><code><a class="link" href="libs-GstVaapiWindowGLX.html#GstVaapiWindowGLX" title="GstVaapiWindowGLX"><span class="type">GstVaapiWindowGLX</span></a> *window</code></em>);
50
 
<span class="returnvalue">void</span>                <a class="link" href="libs-GstVaapiWindowGLX.html#gst-vaapi-window-glx-swap-buffers" title="gst_vaapi_window_glx_swap_buffers ()">gst_vaapi_window_glx_swap_buffers</a>   (<em class="parameter"><code><a class="link" href="libs-GstVaapiWindowGLX.html#GstVaapiWindowGLX" title="GstVaapiWindowGLX"><span class="type">GstVaapiWindowGLX</span></a> *window</code></em>);
51
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libs-GstVaapiWindowGLX.html#gst-vaapi-window-glx-put-texture" title="gst_vaapi_window_glx_put_texture ()">gst_vaapi_window_glx_put_texture</a>    (<em class="parameter"><code><a class="link" href="libs-GstVaapiWindowGLX.html#GstVaapiWindowGLX" title="GstVaapiWindowGLX"><span class="type">GstVaapiWindowGLX</span></a> *window</code></em>,
52
 
                                                         <em class="parameter"><code><a class="link" href="libs-GstVaapiTexture.html#GstVaapiTexture" title="GstVaapiTexture"><span class="type">GstVaapiTexture</span></a> *texture</code></em>,
53
 
                                                         <em class="parameter"><code>const <a class="link" href="libs-Basic-data-structures.html#GstVaapiRectangle" title="struct GstVaapiRectangle"><span class="type">GstVaapiRectangle</span></a> *src_rect</code></em>,
54
 
                                                         <em class="parameter"><code>const <a class="link" href="libs-Basic-data-structures.html#GstVaapiRectangle" title="struct GstVaapiRectangle"><span class="type">GstVaapiRectangle</span></a> *dst_rect</code></em>);
 
35
<div class="refsect1">
 
36
<a name="libs-GstVaapiWindowGLX.functions"></a><h2>Functions</h2>
 
37
<div class="informaltable"><table width="100%" border="0">
 
38
<colgroup>
 
39
<col width="150px" class="functions_return">
 
40
<col class="functions_name">
 
41
</colgroup>
 
42
<tbody>
 
43
<tr>
 
44
<td class="function_type">
 
45
<a class="link" href="libs-GstVaapiWindow.html#GstVaapiWindow" title="GstVaapiWindow"><span class="returnvalue">GstVaapiWindow</span></a> *
 
46
</td>
 
47
<td class="function_name">
 
48
<a class="link" href="libs-GstVaapiWindowGLX.html#gst-vaapi-window-glx-new" title="gst_vaapi_window_glx_new ()">gst_vaapi_window_glx_new</a> <span class="c_punctuation">()</span>
 
49
</td>
 
50
</tr>
 
51
<tr>
 
52
<td class="function_type">
 
53
<a class="link" href="libs-GstVaapiWindow.html#GstVaapiWindow" title="GstVaapiWindow"><span class="returnvalue">GstVaapiWindow</span></a> *
 
54
</td>
 
55
<td class="function_name">
 
56
<a class="link" href="libs-GstVaapiWindowGLX.html#gst-vaapi-window-glx-new-with-xid" title="gst_vaapi_window_glx_new_with_xid ()">gst_vaapi_window_glx_new_with_xid</a> <span class="c_punctuation">()</span>
 
57
</td>
 
58
</tr>
 
59
<tr>
 
60
<td class="function_type">
 
61
<span class="returnvalue">GLXContext</span>
 
62
</td>
 
63
<td class="function_name">
 
64
<a class="link" href="libs-GstVaapiWindowGLX.html#gst-vaapi-window-glx-get-context" title="gst_vaapi_window_glx_get_context ()">gst_vaapi_window_glx_get_context</a> <span class="c_punctuation">()</span>
 
65
</td>
 
66
</tr>
 
67
<tr>
 
68
<td class="function_type">
 
69
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
 
70
</td>
 
71
<td class="function_name">
 
72
<a class="link" href="libs-GstVaapiWindowGLX.html#gst-vaapi-window-glx-set-context" title="gst_vaapi_window_glx_set_context ()">gst_vaapi_window_glx_set_context</a> <span class="c_punctuation">()</span>
 
73
</td>
 
74
</tr>
 
75
<tr>
 
76
<td class="function_type">
 
77
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
 
78
</td>
 
79
<td class="function_name">
 
80
<a class="link" href="libs-GstVaapiWindowGLX.html#gst-vaapi-window-glx-make-current" title="gst_vaapi_window_glx_make_current ()">gst_vaapi_window_glx_make_current</a> <span class="c_punctuation">()</span>
 
81
</td>
 
82
</tr>
 
83
<tr>
 
84
<td class="function_type">
 
85
<span class="returnvalue">void</span>
 
86
</td>
 
87
<td class="function_name">
 
88
<a class="link" href="libs-GstVaapiWindowGLX.html#gst-vaapi-window-glx-swap-buffers" title="gst_vaapi_window_glx_swap_buffers ()">gst_vaapi_window_glx_swap_buffers</a> <span class="c_punctuation">()</span>
 
89
</td>
 
90
</tr>
 
91
<tr>
 
92
<td class="function_type">
 
93
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
 
94
</td>
 
95
<td class="function_name">
 
96
<a class="link" href="libs-GstVaapiWindowGLX.html#gst-vaapi-window-glx-put-texture" title="gst_vaapi_window_glx_put_texture ()">gst_vaapi_window_glx_put_texture</a> <span class="c_punctuation">()</span>
 
97
</td>
 
98
</tr>
 
99
</tbody>
 
100
</table></div>
 
101
</div>
 
102
<div class="refsect1">
 
103
<a name="libs-GstVaapiWindowGLX.other"></a><h2>Types and Values</h2>
 
104
<div class="informaltable"><table width="100%" border="0">
 
105
<colgroup>
 
106
<col width="150px" class="name">
 
107
<col class="description">
 
108
</colgroup>
 
109
<tbody><tr>
 
110
<td class="datatype_keyword"> </td>
 
111
<td class="function_name"><a class="link" href="libs-GstVaapiWindowGLX.html#GstVaapiWindowGLX" title="GstVaapiWindowGLX">GstVaapiWindowGLX</a></td>
 
112
</tr></tbody>
 
113
</table></div>
 
114
</div>
 
115
<div class="refsect1">
 
116
<a name="libs-GstVaapiWindowGLX.object-hierarchy"></a><h2>Object Hierarchy</h2>
 
117
<pre class="screen">
55
118
</pre>
56
119
</div>
57
120
<div class="refsect1">
58
121
<a name="libs-GstVaapiWindowGLX.description"></a><h2>Description</h2>
59
122
</div>
60
123
<div class="refsect1">
61
 
<a name="libs-GstVaapiWindowGLX.details"></a><h2>Details</h2>
62
 
<div class="refsect2">
63
 
<a name="GstVaapiWindowGLX"></a><h3>GstVaapiWindowGLX</h3>
64
 
<pre class="programlisting">typedef struct _GstVaapiWindowGLX GstVaapiWindowGLX;</pre>
65
 
<p>
66
 
An X11 <span class="type">Window</span> suitable for GLX rendering.
67
 
</p>
68
 
</div>
69
 
<hr>
70
 
<div class="refsect2">
71
 
<a name="gst-vaapi-window-glx-new"></a><h3>gst_vaapi_window_glx_new ()</h3>
72
 
<pre class="programlisting"><a class="link" href="libs-GstVaapiWindow.html#GstVaapiWindow" title="GstVaapiWindow"><span class="returnvalue">GstVaapiWindow</span></a> *    gst_vaapi_window_glx_new            (<em class="parameter"><code><a class="link" href="libs-GstVaapiDisplay.html#GstVaapiDisplay" title="GstVaapiDisplay"><span class="type">GstVaapiDisplay</span></a> *display</code></em>,
73
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> width</code></em>,
74
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> height</code></em>);</pre>
75
 
<p>
76
 
Creates a window with the specified <em class="parameter"><code>width</code></em> and <em class="parameter"><code>height</code></em>. The window
77
 
will be attached to the <em class="parameter"><code>display</code></em> and remains invisible to the user
78
 
until <a class="link" href="libs-GstVaapiWindow.html#gst-vaapi-window-show" title="gst_vaapi_window_show ()"><code class="function">gst_vaapi_window_show()</code></a> is called.
79
 
</p>
80
 
<div class="variablelist"><table border="0" class="variablelist">
 
124
<a name="libs-GstVaapiWindowGLX.functions_details"></a><h2>Functions</h2>
 
125
<div class="refsect2">
 
126
<a name="gst-vaapi-window-glx-new"></a><h3>gst_vaapi_window_glx_new ()</h3>
 
127
<pre class="programlisting"><a class="link" href="libs-GstVaapiWindow.html#GstVaapiWindow" title="GstVaapiWindow"><span class="returnvalue">GstVaapiWindow</span></a> *
 
128
gst_vaapi_window_glx_new (<em class="parameter"><code><a class="link" href="libs-GstVaapiDisplay.html#GstVaapiDisplay" title="GstVaapiDisplay"><span class="type">GstVaapiDisplay</span></a> *display</code></em>,
 
129
                          <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> width</code></em>,
 
130
                          <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> height</code></em>);</pre>
 
131
<p>Creates a window with the specified <em class="parameter"><code>width</code></em>
 
132
 and <em class="parameter"><code>height</code></em>
 
133
. The window
 
134
will be attached to the <em class="parameter"><code>display</code></em>
 
135
 and remains invisible to the user
 
136
until <a class="link" href="libs-GstVaapiWindow.html#gst-vaapi-window-show" title="gst_vaapi_window_show ()"><code class="function">gst_vaapi_window_show()</code></a> is called.</p>
 
137
<div class="refsect3">
 
138
<a name="id-1.2.9.7.2.5"></a><h4>Parameters</h4>
 
139
<div class="informaltable"><table width="100%" border="0">
81
140
<colgroup>
82
 
<col align="left" valign="top">
83
 
<col>
 
141
<col width="150px" class="parameters_name">
 
142
<col class="parameters_description">
 
143
<col width="200px" class="parameters_annotations">
84
144
</colgroup>
85
145
<tbody>
86
146
<tr>
87
 
<td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
88
 
<td>a <a class="link" href="libs-GstVaapiDisplay.html#GstVaapiDisplay" title="GstVaapiDisplay"><span class="type">GstVaapiDisplay</span></a>
89
 
</td>
90
 
</tr>
91
 
<tr>
92
 
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
93
 
<td>the requested window width, in pixels</td>
94
 
</tr>
95
 
<tr>
96
 
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
97
 
<td>the requested windo height, in pixels</td>
98
 
</tr>
99
 
<tr>
100
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
101
 
<td>the newly allocated <a class="link" href="libs-GstVaapiWindow.html#GstVaapiWindow" title="GstVaapiWindow"><span class="type">GstVaapiWindow</span></a> object</td>
 
147
<td class="parameter_name"><p>display</p></td>
 
148
<td class="parameter_description"><p>a <a class="link" href="libs-GstVaapiDisplay.html#GstVaapiDisplay" title="GstVaapiDisplay"><span class="type">GstVaapiDisplay</span></a></p></td>
 
149
<td class="parameter_annotations"> </td>
 
150
</tr>
 
151
<tr>
 
152
<td class="parameter_name"><p>width</p></td>
 
153
<td class="parameter_description"><p>the requested window width, in pixels</p></td>
 
154
<td class="parameter_annotations"> </td>
 
155
</tr>
 
156
<tr>
 
157
<td class="parameter_name"><p>height</p></td>
 
158
<td class="parameter_description"><p>the requested windo height, in pixels</p></td>
 
159
<td class="parameter_annotations"> </td>
102
160
</tr>
103
161
</tbody>
104
162
</table></div>
105
163
</div>
 
164
<div class="refsect3">
 
165
<a name="id-1.2.9.7.2.6"></a><h4>Returns</h4>
 
166
<p> the newly allocated <a class="link" href="libs-GstVaapiWindow.html#GstVaapiWindow" title="GstVaapiWindow"><span class="type">GstVaapiWindow</span></a> object</p>
 
167
<p></p>
 
168
</div>
 
169
</div>
106
170
<hr>
107
171
<div class="refsect2">
108
 
<a name="gst-vaapi-window-glx-new-with-xid"></a><h3>gst_vaapi_window_glx_new_with_xid ()</h3>
109
 
<pre class="programlisting"><a class="link" href="libs-GstVaapiWindow.html#GstVaapiWindow" title="GstVaapiWindow"><span class="returnvalue">GstVaapiWindow</span></a> *    gst_vaapi_window_glx_new_with_xid   (<em class="parameter"><code><a class="link" href="libs-GstVaapiDisplay.html#GstVaapiDisplay" title="GstVaapiDisplay"><span class="type">GstVaapiDisplay</span></a> *display</code></em>,
110
 
                                                         <em class="parameter"><code><span class="type">Window</span> xid</code></em>);</pre>
111
 
<p>
112
 
Creates a <a class="link" href="libs-GstVaapiWindow.html#GstVaapiWindow" title="GstVaapiWindow"><span class="type">GstVaapiWindow</span></a> using the X11 <span class="type">Window</span> <em class="parameter"><code>xid</code></em>. The caller
 
172
<a name="gst-vaapi-window-glx-new-with-xid"></a><h3>gst_vaapi_window_glx_new_with_xid ()</h3>
 
173
<pre class="programlisting"><a class="link" href="libs-GstVaapiWindow.html#GstVaapiWindow" title="GstVaapiWindow"><span class="returnvalue">GstVaapiWindow</span></a> *
 
174
gst_vaapi_window_glx_new_with_xid (<em class="parameter"><code><a class="link" href="libs-GstVaapiDisplay.html#GstVaapiDisplay" title="GstVaapiDisplay"><span class="type">GstVaapiDisplay</span></a> *display</code></em>,
 
175
                                   <em class="parameter"><code><span class="type">Window</span> xid</code></em>);</pre>
 
176
<p>Creates a <a class="link" href="libs-GstVaapiWindow.html#GstVaapiWindow" title="GstVaapiWindow"><span class="type">GstVaapiWindow</span></a> using the X11 <span class="type">Window</span> <em class="parameter"><code>xid</code></em>
 
177
. The caller
113
178
still owns the window and must call <code class="function">XDestroyWindow()</code> when all
114
179
<a class="link" href="libs-GstVaapiWindow.html#GstVaapiWindow" title="GstVaapiWindow"><span class="type">GstVaapiWindow</span></a> references are released. Doing so too early can
115
 
yield undefined behaviour.
116
 
</p>
117
 
<div class="variablelist"><table border="0" class="variablelist">
118
 
<colgroup>
119
 
<col align="left" valign="top">
120
 
<col>
121
 
</colgroup>
122
 
<tbody>
123
 
<tr>
124
 
<td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
125
 
<td>a <a class="link" href="libs-GstVaapiDisplay.html#GstVaapiDisplay" title="GstVaapiDisplay"><span class="type">GstVaapiDisplay</span></a>
126
 
</td>
127
 
</tr>
128
 
<tr>
129
 
<td><p><span class="term"><em class="parameter"><code>xid</code></em> :</span></p></td>
130
 
<td>an X11 <span class="type">Window</span> id</td>
131
 
</tr>
132
 
<tr>
133
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
134
 
<td>the newly allocated <a class="link" href="libs-GstVaapiWindow.html#GstVaapiWindow" title="GstVaapiWindow"><span class="type">GstVaapiWindow</span></a> object</td>
135
 
</tr>
136
 
</tbody>
137
 
</table></div>
138
 
</div>
139
 
<hr>
140
 
<div class="refsect2">
141
 
<a name="gst-vaapi-window-glx-get-context"></a><h3>gst_vaapi_window_glx_get_context ()</h3>
142
 
<pre class="programlisting"><span class="returnvalue">GLXContext</span>          gst_vaapi_window_glx_get_context    (<em class="parameter"><code><a class="link" href="libs-GstVaapiWindowGLX.html#GstVaapiWindowGLX" title="GstVaapiWindowGLX"><span class="type">GstVaapiWindowGLX</span></a> *window</code></em>);</pre>
143
 
<p>
144
 
Returns the <span class="type">GLXContext</span> bound to the <em class="parameter"><code>window</code></em>.
145
 
</p>
146
 
<div class="variablelist"><table border="0" class="variablelist">
147
 
<colgroup>
148
 
<col align="left" valign="top">
149
 
<col>
150
 
</colgroup>
151
 
<tbody>
152
 
<tr>
153
 
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
154
 
<td>a <a class="link" href="libs-GstVaapiWindowGLX.html#GstVaapiWindowGLX" title="GstVaapiWindowGLX"><span class="type">GstVaapiWindowGLX</span></a>
155
 
</td>
156
 
</tr>
157
 
<tr>
158
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
159
 
<td>the <span class="type">GLXContext</span> bound to the <em class="parameter"><code>window</code></em>
160
 
</td>
161
 
</tr>
162
 
</tbody>
163
 
</table></div>
164
 
</div>
165
 
<hr>
166
 
<div class="refsect2">
167
 
<a name="gst-vaapi-window-glx-set-context"></a><h3>gst_vaapi_window_glx_set_context ()</h3>
168
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gst_vaapi_window_glx_set_context    (<em class="parameter"><code><a class="link" href="libs-GstVaapiWindowGLX.html#GstVaapiWindowGLX" title="GstVaapiWindowGLX"><span class="type">GstVaapiWindowGLX</span></a> *window</code></em>,
169
 
                                                         <em class="parameter"><code><span class="type">GLXContext</span> ctx</code></em>);</pre>
170
 
<p>
171
 
Binds GLX context <em class="parameter"><code>ctx</code></em> to <em class="parameter"><code>window</code></em>. If <em class="parameter"><code>ctx</code></em> is non <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the caller
 
180
yield undefined behaviour.</p>
 
181
<div class="refsect3">
 
182
<a name="id-1.2.9.7.3.5"></a><h4>Parameters</h4>
 
183
<div class="informaltable"><table width="100%" border="0">
 
184
<colgroup>
 
185
<col width="150px" class="parameters_name">
 
186
<col class="parameters_description">
 
187
<col width="200px" class="parameters_annotations">
 
188
</colgroup>
 
189
<tbody>
 
190
<tr>
 
191
<td class="parameter_name"><p>display</p></td>
 
192
<td class="parameter_description"><p>a <a class="link" href="libs-GstVaapiDisplay.html#GstVaapiDisplay" title="GstVaapiDisplay"><span class="type">GstVaapiDisplay</span></a></p></td>
 
193
<td class="parameter_annotations"> </td>
 
194
</tr>
 
195
<tr>
 
196
<td class="parameter_name"><p>xid</p></td>
 
197
<td class="parameter_description"><p>an X11 <span class="type">Window</span> id</p></td>
 
198
<td class="parameter_annotations"> </td>
 
199
</tr>
 
200
</tbody>
 
201
</table></div>
 
202
</div>
 
203
<div class="refsect3">
 
204
<a name="id-1.2.9.7.3.6"></a><h4>Returns</h4>
 
205
<p> the newly allocated <a class="link" href="libs-GstVaapiWindow.html#GstVaapiWindow" title="GstVaapiWindow"><span class="type">GstVaapiWindow</span></a> object</p>
 
206
<p></p>
 
207
</div>
 
208
</div>
 
209
<hr>
 
210
<div class="refsect2">
 
211
<a name="gst-vaapi-window-glx-get-context"></a><h3>gst_vaapi_window_glx_get_context ()</h3>
 
212
<pre class="programlisting"><span class="returnvalue">GLXContext</span>
 
213
gst_vaapi_window_glx_get_context (<em class="parameter"><code><a class="link" href="libs-GstVaapiWindowGLX.html#GstVaapiWindowGLX" title="GstVaapiWindowGLX"><span class="type">GstVaapiWindowGLX</span></a> *window</code></em>);</pre>
 
214
<p>Returns the <span class="type">GLXContext</span> bound to the <em class="parameter"><code>window</code></em>
 
215
.</p>
 
216
<div class="refsect3">
 
217
<a name="id-1.2.9.7.4.5"></a><h4>Parameters</h4>
 
218
<div class="informaltable"><table width="100%" border="0">
 
219
<colgroup>
 
220
<col width="150px" class="parameters_name">
 
221
<col class="parameters_description">
 
222
<col width="200px" class="parameters_annotations">
 
223
</colgroup>
 
224
<tbody><tr>
 
225
<td class="parameter_name"><p>window</p></td>
 
226
<td class="parameter_description"><p>a <a class="link" href="libs-GstVaapiWindowGLX.html#GstVaapiWindowGLX" title="GstVaapiWindowGLX"><span class="type">GstVaapiWindowGLX</span></a></p></td>
 
227
<td class="parameter_annotations"> </td>
 
228
</tr></tbody>
 
229
</table></div>
 
230
</div>
 
231
<div class="refsect3">
 
232
<a name="id-1.2.9.7.4.6"></a><h4>Returns</h4>
 
233
<p> the <span class="type">GLXContext</span> bound to the <em class="parameter"><code>window</code></em>
 
234
</p>
 
235
<p></p>
 
236
</div>
 
237
</div>
 
238
<hr>
 
239
<div class="refsect2">
 
240
<a name="gst-vaapi-window-glx-set-context"></a><h3>gst_vaapi_window_glx_set_context ()</h3>
 
241
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
 
242
gst_vaapi_window_glx_set_context (<em class="parameter"><code><a class="link" href="libs-GstVaapiWindowGLX.html#GstVaapiWindowGLX" title="GstVaapiWindowGLX"><span class="type">GstVaapiWindowGLX</span></a> *window</code></em>,
 
243
                                  <em class="parameter"><code><span class="type">GLXContext</span> ctx</code></em>);</pre>
 
244
<p>Binds GLX context <em class="parameter"><code>ctx</code></em>
 
245
 to <em class="parameter"><code>window</code></em>
 
246
. If <em class="parameter"><code>ctx</code></em>
 
247
 is non <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the caller
172
248
is responsible to making sure it has compatible visual with that of
173
 
the underlying X window. If <em class="parameter"><code>ctx</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a new context is created
174
 
and the <em class="parameter"><code>window</code></em> owns it.
175
 
</p>
176
 
<div class="variablelist"><table border="0" class="variablelist">
 
249
the underlying X window. If <em class="parameter"><code>ctx</code></em>
 
250
 is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a new context is created
 
251
and the <em class="parameter"><code>window</code></em>
 
252
 owns it.</p>
 
253
<div class="refsect3">
 
254
<a name="id-1.2.9.7.5.5"></a><h4>Parameters</h4>
 
255
<div class="informaltable"><table width="100%" border="0">
177
256
<colgroup>
178
 
<col align="left" valign="top">
179
 
<col>
 
257
<col width="150px" class="parameters_name">
 
258
<col class="parameters_description">
 
259
<col width="200px" class="parameters_annotations">
180
260
</colgroup>
181
261
<tbody>
182
262
<tr>
183
 
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
184
 
<td>a <a class="link" href="libs-GstVaapiWindowGLX.html#GstVaapiWindowGLX" title="GstVaapiWindowGLX"><span class="type">GstVaapiWindowGLX</span></a>
185
 
</td>
186
 
</tr>
187
 
<tr>
188
 
<td><p><span class="term"><em class="parameter"><code>ctx</code></em> :</span></p></td>
189
 
<td>a GLX context</td>
190
 
</tr>
191
 
<tr>
192
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
193
 
<td>
194
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success</td>
 
263
<td class="parameter_name"><p>window</p></td>
 
264
<td class="parameter_description"><p>a <a class="link" href="libs-GstVaapiWindowGLX.html#GstVaapiWindowGLX" title="GstVaapiWindowGLX"><span class="type">GstVaapiWindowGLX</span></a></p></td>
 
265
<td class="parameter_annotations"> </td>
 
266
</tr>
 
267
<tr>
 
268
<td class="parameter_name"><p>ctx</p></td>
 
269
<td class="parameter_description"><p>a GLX context</p></td>
 
270
<td class="parameter_annotations"> </td>
195
271
</tr>
196
272
</tbody>
197
273
</table></div>
198
274
</div>
 
275
<div class="refsect3">
 
276
<a name="id-1.2.9.7.5.6"></a><h4>Returns</h4>
 
277
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success</p>
 
278
<p></p>
 
279
</div>
 
280
</div>
199
281
<hr>
200
282
<div class="refsect2">
201
 
<a name="gst-vaapi-window-glx-make-current"></a><h3>gst_vaapi_window_glx_make_current ()</h3>
202
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gst_vaapi_window_glx_make_current   (<em class="parameter"><code><a class="link" href="libs-GstVaapiWindowGLX.html#GstVaapiWindowGLX" title="GstVaapiWindowGLX"><span class="type">GstVaapiWindowGLX</span></a> *window</code></em>);</pre>
203
 
<p>
204
 
Makes the <em class="parameter"><code>window</code></em> GLX context the current GLX rendering context of
 
283
<a name="gst-vaapi-window-glx-make-current"></a><h3>gst_vaapi_window_glx_make_current ()</h3>
 
284
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
 
285
gst_vaapi_window_glx_make_current (<em class="parameter"><code><a class="link" href="libs-GstVaapiWindowGLX.html#GstVaapiWindowGLX" title="GstVaapiWindowGLX"><span class="type">GstVaapiWindowGLX</span></a> *window</code></em>);</pre>
 
286
<p>Makes the <em class="parameter"><code>window</code></em>
 
287
 GLX context the current GLX rendering context of
205
288
the calling thread, replacing the previously current context if
206
 
there was one.
207
 
</p>
208
 
<div class="variablelist"><table border="0" class="variablelist">
209
 
<colgroup>
210
 
<col align="left" valign="top">
211
 
<col>
212
 
</colgroup>
213
 
<tbody>
214
 
<tr>
215
 
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
216
 
<td>a <a class="link" href="libs-GstVaapiWindowGLX.html#GstVaapiWindowGLX" title="GstVaapiWindowGLX"><span class="type">GstVaapiWindowGLX</span></a>
217
 
</td>
218
 
</tr>
219
 
<tr>
220
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
221
 
<td>
222
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success</td>
223
 
</tr>
224
 
</tbody>
225
 
</table></div>
226
 
</div>
227
 
<hr>
228
 
<div class="refsect2">
229
 
<a name="gst-vaapi-window-glx-swap-buffers"></a><h3>gst_vaapi_window_glx_swap_buffers ()</h3>
230
 
<pre class="programlisting"><span class="returnvalue">void</span>                gst_vaapi_window_glx_swap_buffers   (<em class="parameter"><code><a class="link" href="libs-GstVaapiWindowGLX.html#GstVaapiWindowGLX" title="GstVaapiWindowGLX"><span class="type">GstVaapiWindowGLX</span></a> *window</code></em>);</pre>
231
 
<p>
232
 
Promotes the contents of the back buffer of <em class="parameter"><code>window</code></em> to become the
233
 
contents of the front buffer of <em class="parameter"><code>window</code></em>. This simply is wrapper
234
 
around <code class="function">glXSwapBuffers()</code>.
235
 
</p>
236
 
<div class="variablelist"><table border="0" class="variablelist">
237
 
<colgroup>
238
 
<col align="left" valign="top">
239
 
<col>
240
 
</colgroup>
241
 
<tbody><tr>
242
 
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
243
 
<td>a <a class="link" href="libs-GstVaapiWindowGLX.html#GstVaapiWindowGLX" title="GstVaapiWindowGLX"><span class="type">GstVaapiWindowGLX</span></a>
244
 
</td>
245
 
</tr></tbody>
246
 
</table></div>
247
 
</div>
248
 
<hr>
249
 
<div class="refsect2">
250
 
<a name="gst-vaapi-window-glx-put-texture"></a><h3>gst_vaapi_window_glx_put_texture ()</h3>
251
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gst_vaapi_window_glx_put_texture    (<em class="parameter"><code><a class="link" href="libs-GstVaapiWindowGLX.html#GstVaapiWindowGLX" title="GstVaapiWindowGLX"><span class="type">GstVaapiWindowGLX</span></a> *window</code></em>,
252
 
                                                         <em class="parameter"><code><a class="link" href="libs-GstVaapiTexture.html#GstVaapiTexture" title="GstVaapiTexture"><span class="type">GstVaapiTexture</span></a> *texture</code></em>,
253
 
                                                         <em class="parameter"><code>const <a class="link" href="libs-Basic-data-structures.html#GstVaapiRectangle" title="struct GstVaapiRectangle"><span class="type">GstVaapiRectangle</span></a> *src_rect</code></em>,
254
 
                                                         <em class="parameter"><code>const <a class="link" href="libs-Basic-data-structures.html#GstVaapiRectangle" title="struct GstVaapiRectangle"><span class="type">GstVaapiRectangle</span></a> *dst_rect</code></em>);</pre>
255
 
<p>
256
 
Renders the <em class="parameter"><code>texture</code></em> region specified by <em class="parameter"><code>src_rect</code></em> into the <em class="parameter"><code>window</code></em>
257
 
region specified by <em class="parameter"><code>dst_rect</code></em>.
258
 
</p>
259
 
<p>
260
 
NOTE: only GL_TEXTURE_2D textures are supported at this time.
261
 
</p>
262
 
<div class="variablelist"><table border="0" class="variablelist">
263
 
<colgroup>
264
 
<col align="left" valign="top">
265
 
<col>
266
 
</colgroup>
267
 
<tbody>
268
 
<tr>
269
 
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
270
 
<td>a <a class="link" href="libs-GstVaapiWindowGLX.html#GstVaapiWindowGLX" title="GstVaapiWindowGLX"><span class="type">GstVaapiWindowGLX</span></a>
271
 
</td>
272
 
</tr>
273
 
<tr>
274
 
<td><p><span class="term"><em class="parameter"><code>texture</code></em> :</span></p></td>
275
 
<td>a <a class="link" href="libs-GstVaapiTexture.html#GstVaapiTexture" title="GstVaapiTexture"><span class="type">GstVaapiTexture</span></a>
276
 
</td>
277
 
</tr>
278
 
<tr>
279
 
<td><p><span class="term"><em class="parameter"><code>src_rect</code></em> :</span></p></td>
280
 
<td>the sub-rectangle of the source texture to
281
 
extract and process. If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the entire texture will be used.</td>
282
 
</tr>
283
 
<tr>
284
 
<td><p><span class="term"><em class="parameter"><code>dst_rect</code></em> :</span></p></td>
285
 
<td>the sub-rectangle of the destination
 
289
there was one.</p>
 
290
<div class="refsect3">
 
291
<a name="id-1.2.9.7.6.5"></a><h4>Parameters</h4>
 
292
<div class="informaltable"><table width="100%" border="0">
 
293
<colgroup>
 
294
<col width="150px" class="parameters_name">
 
295
<col class="parameters_description">
 
296
<col width="200px" class="parameters_annotations">
 
297
</colgroup>
 
298
<tbody><tr>
 
299
<td class="parameter_name"><p>window</p></td>
 
300
<td class="parameter_description"><p>a <a class="link" href="libs-GstVaapiWindowGLX.html#GstVaapiWindowGLX" title="GstVaapiWindowGLX"><span class="type">GstVaapiWindowGLX</span></a></p></td>
 
301
<td class="parameter_annotations"> </td>
 
302
</tr></tbody>
 
303
</table></div>
 
304
</div>
 
305
<div class="refsect3">
 
306
<a name="id-1.2.9.7.6.6"></a><h4>Returns</h4>
 
307
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success</p>
 
308
<p></p>
 
309
</div>
 
310
</div>
 
311
<hr>
 
312
<div class="refsect2">
 
313
<a name="gst-vaapi-window-glx-swap-buffers"></a><h3>gst_vaapi_window_glx_swap_buffers ()</h3>
 
314
<pre class="programlisting"><span class="returnvalue">void</span>
 
315
gst_vaapi_window_glx_swap_buffers (<em class="parameter"><code><a class="link" href="libs-GstVaapiWindowGLX.html#GstVaapiWindowGLX" title="GstVaapiWindowGLX"><span class="type">GstVaapiWindowGLX</span></a> *window</code></em>);</pre>
 
316
<p>Promotes the contents of the back buffer of <em class="parameter"><code>window</code></em>
 
317
 to become the
 
318
contents of the front buffer of <em class="parameter"><code>window</code></em>
 
319
. This simply is wrapper
 
320
around <code class="function">glXSwapBuffers()</code>.</p>
 
321
<div class="refsect3">
 
322
<a name="id-1.2.9.7.7.5"></a><h4>Parameters</h4>
 
323
<div class="informaltable"><table width="100%" border="0">
 
324
<colgroup>
 
325
<col width="150px" class="parameters_name">
 
326
<col class="parameters_description">
 
327
<col width="200px" class="parameters_annotations">
 
328
</colgroup>
 
329
<tbody><tr>
 
330
<td class="parameter_name"><p>window</p></td>
 
331
<td class="parameter_description"><p>a <a class="link" href="libs-GstVaapiWindowGLX.html#GstVaapiWindowGLX" title="GstVaapiWindowGLX"><span class="type">GstVaapiWindowGLX</span></a></p></td>
 
332
<td class="parameter_annotations"> </td>
 
333
</tr></tbody>
 
334
</table></div>
 
335
</div>
 
336
</div>
 
337
<hr>
 
338
<div class="refsect2">
 
339
<a name="gst-vaapi-window-glx-put-texture"></a><h3>gst_vaapi_window_glx_put_texture ()</h3>
 
340
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
 
341
gst_vaapi_window_glx_put_texture (<em class="parameter"><code><a class="link" href="libs-GstVaapiWindowGLX.html#GstVaapiWindowGLX" title="GstVaapiWindowGLX"><span class="type">GstVaapiWindowGLX</span></a> *window</code></em>,
 
342
                                  <em class="parameter"><code><a class="link" href="libs-GstVaapiTexture.html#GstVaapiTexture" title="GstVaapiTexture"><span class="type">GstVaapiTexture</span></a> *texture</code></em>,
 
343
                                  <em class="parameter"><code>const <a class="link" href="libs-Basic-data-structures.html#GstVaapiRectangle" title="struct GstVaapiRectangle"><span class="type">GstVaapiRectangle</span></a> *src_rect</code></em>,
 
344
                                  <em class="parameter"><code>const <a class="link" href="libs-Basic-data-structures.html#GstVaapiRectangle" title="struct GstVaapiRectangle"><span class="type">GstVaapiRectangle</span></a> *dst_rect</code></em>);</pre>
 
345
<p>Renders the <em class="parameter"><code>texture</code></em>
 
346
 region specified by <em class="parameter"><code>src_rect</code></em>
 
347
 into the <em class="parameter"><code>window</code></em>
 
348
 
 
349
region specified by <em class="parameter"><code>dst_rect</code></em>
 
350
.</p>
 
351
<p>NOTE: only GL_TEXTURE_2D textures are supported at this time.</p>
 
352
<div class="refsect3">
 
353
<a name="id-1.2.9.7.8.6"></a><h4>Parameters</h4>
 
354
<div class="informaltable"><table width="100%" border="0">
 
355
<colgroup>
 
356
<col width="150px" class="parameters_name">
 
357
<col class="parameters_description">
 
358
<col width="200px" class="parameters_annotations">
 
359
</colgroup>
 
360
<tbody>
 
361
<tr>
 
362
<td class="parameter_name"><p>window</p></td>
 
363
<td class="parameter_description"><p>a <a class="link" href="libs-GstVaapiWindowGLX.html#GstVaapiWindowGLX" title="GstVaapiWindowGLX"><span class="type">GstVaapiWindowGLX</span></a></p></td>
 
364
<td class="parameter_annotations"> </td>
 
365
</tr>
 
366
<tr>
 
367
<td class="parameter_name"><p>texture</p></td>
 
368
<td class="parameter_description"><p>a <a class="link" href="libs-GstVaapiTexture.html#GstVaapiTexture" title="GstVaapiTexture"><span class="type">GstVaapiTexture</span></a></p></td>
 
369
<td class="parameter_annotations"> </td>
 
370
</tr>
 
371
<tr>
 
372
<td class="parameter_name"><p>src_rect</p></td>
 
373
<td class="parameter_description"><p>the sub-rectangle of the source texture to
 
374
extract and process. If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the entire texture will be used.</p></td>
 
375
<td class="parameter_annotations"> </td>
 
376
</tr>
 
377
<tr>
 
378
<td class="parameter_name"><p>dst_rect</p></td>
 
379
<td class="parameter_description"><p>the sub-rectangle of the destination
286
380
window into which the texture is rendered. If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the entire
287
 
window will be used.</td>
288
 
</tr>
289
 
<tr>
290
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
291
 
<td>
292
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success</td>
 
381
window will be used.</p></td>
 
382
<td class="parameter_annotations"> </td>
293
383
</tr>
294
384
</tbody>
295
385
</table></div>
296
386
</div>
 
387
<div class="refsect3">
 
388
<a name="id-1.2.9.7.8.7"></a><h4>Returns</h4>
 
389
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success</p>
 
390
<p></p>
 
391
</div>
 
392
</div>
 
393
</div>
 
394
<div class="refsect1">
 
395
<a name="libs-GstVaapiWindowGLX.other_details"></a><h2>Types and Values</h2>
 
396
<div class="refsect2">
 
397
<a name="GstVaapiWindowGLX"></a><h3>GstVaapiWindowGLX</h3>
 
398
<pre class="programlisting">typedef struct _GstVaapiWindowGLX GstVaapiWindowGLX;</pre>
 
399
<p>An X11 <span class="type">Window</span> suitable for GLX rendering.</p>
 
400
</div>
297
401
</div>
298
402
</div>
299
403
<div class="footer">
300
404
<hr>
301
 
          Generated by GTK-Doc V1.19</div>
 
405
          Generated by GTK-Doc V1.20</div>
302
406
</body>
303
407
</html>
 
 
b'\\ No newline at end of file'