~oem-solutions-group/unity-2d/clutter-1.0

« back to all changes in this revision

Viewing changes to doc/reference/clutter/html/clutter-GLX-Specific-Support.html

  • Committer: Bazaar Package Importer
  • Author(s): Emilio Pozuelo Monfort
  • Date: 2010-03-21 13:27:56 UTC
  • mto: (2.1.3 experimental)
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20100321132756-nf8yd30yxo3zzwcm
Tags: upstream-1.2.2
Import upstream version 1.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<link rel="up" href="clutterbackends.html" title="Part VII. Clutter Backends">
9
9
<link rel="prev" href="clutter-X11-Specific-Support.html" title="X11 Specific Support">
10
10
<link rel="next" href="clutter-Win32-Specific-Support.html" title="Win32 Specific Support">
11
 
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.13 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
<link rel="part" href="clutter-overview.html" title="Part I. Overview">
14
14
<link rel="part" href="building-clutter.html" title="Part II. Building Clutter">
17
17
<link rel="chapter" href="ch01.html" title="Abstract classes and interfaces">
18
18
<link rel="chapter" href="ch02.html" title="Base actors">
19
19
<link rel="chapter" href="ch03.html" title="Container actors">
 
20
<link rel="chapter" href="ch04.html" title="Layout managers">
20
21
<link rel="part" href="clutteranimation.html" title="Part V. Clutter Animation Framework">
21
 
<link rel="chapter" href="ch04.html" title="Base classes">
22
 
<link rel="chapter" href="ch05.html" title="Behaviours">
23
 
<link rel="chapter" href="ch06.html" title="High Level API">
 
22
<link rel="chapter" href="ch05.html" title="Base classes">
 
23
<link rel="chapter" href="ch06.html" title="Behaviours">
 
24
<link rel="chapter" href="ch07.html" title="High Level API">
24
25
<link rel="part" href="cluttertools.html" title="Part VI. Clutter Tools">
25
 
<link rel="chapter" href="ch07.html" title="General purpose API">
26
 
<link rel="chapter" href="ch08.html" title="User interface definition">
27
 
<link rel="chapter" href="ch09.html" title="Generic list model">
 
26
<link rel="chapter" href="ch08.html" title="General purpose API">
 
27
<link rel="chapter" href="ch09.html" title="User interface definition">
 
28
<link rel="chapter" href="ch10.html" title="Generic list model">
28
29
<link rel="part" href="clutterbackends.html" title="Part VII. Clutter Backends">
29
30
<link rel="part" href="additionaldocs.html" title="Part VIII. Additional Documentation">
30
31
<link rel="chapter" href="clutter-subclassing-ClutterActor.html" title="Implementing a new actor">
47
48
<link rel="index" href="ix05.html" title="Index of new symbols in 0.6">
48
49
<link rel="index" href="ix06.html" title="Index of new symbols in 0.8">
49
50
<link rel="index" href="ix07.html" title="Index of new symbols in 1.0">
 
51
<link rel="index" href="ix08.html" title="Index of new symbols in 1.2">
50
52
<link rel="appendix" href="license.html" title="Appendix A. License">
51
53
</head>
52
54
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
60
62
</tr>
61
63
<tr><td colspan="5" class="shortcuts">
62
64
<a href="#clutter-GLX-Specific-Support.synopsis" class="shortcut">Top</a>
63
 
                 | 
64
 
                <a href="#clutter-GLX-Specific-Support.description" class="shortcut">Description</a>
 
65
                   | 
 
66
                  <a href="#clutter-GLX-Specific-Support.description" class="shortcut">Description</a>
65
67
</td></tr>
66
68
</table>
67
69
<div class="refentry" title="GLX Specific Support">
75
77
</tr></table></div>
76
78
<div class="refsynopsisdiv" title="Synopsis">
77
79
<a name="clutter-GLX-Specific-Support.synopsis"></a><h2>Synopsis</h2>
78
 
<pre class="synopsis">
79
 
                    <a class="link" href="clutter-GLX-Specific-Support.html#ClutterGLXTexturePixmap" title="ClutterGLXTexturePixmap">ClutterGLXTexturePixmap</a>;
 
80
<pre class="synopsis">                    <a class="link" href="clutter-GLX-Specific-Support.html#ClutterGLXTexturePixmap" title="ClutterGLXTexturePixmap">ClutterGLXTexturePixmap</a>;
80
81
                    <a class="link" href="clutter-GLX-Specific-Support.html#ClutterGLXTexturePixmapClass" title="ClutterGLXTexturePixmapClass">ClutterGLXTexturePixmapClass</a>;
81
 
<a class="link" href="ClutterActor.html" title="ClutterActor">ClutterActor</a> *      <a class="link" href="clutter-GLX-Specific-Support.html#clutter-glx-texture-pixmap-new" title="clutter_glx_texture_pixmap_new ()">clutter_glx_texture_pixmap_new</a>      (void);
82
 
<a class="link" href="ClutterActor.html" title="ClutterActor">ClutterActor</a> *      <a class="link" href="clutter-GLX-Specific-Support.html#clutter-glx-texture-pixmap-new-with-pixmap" title="clutter_glx_texture_pixmap_new_with_pixmap ()">clutter_glx_texture_pixmap_new_with_pixmap</a>
83
 
                                                        (Pixmap pixmap);
84
 
<a class="link" href="ClutterActor.html" title="ClutterActor">ClutterActor</a> *      <a class="link" href="clutter-GLX-Specific-Support.html#clutter-glx-texture-pixmap-new-with-window" title="clutter_glx_texture_pixmap_new_with_window ()">clutter_glx_texture_pixmap_new_with_window</a>
85
 
                                                        (Window window);
86
 
<a
87
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
88
 
>gboolean</a>            <a class="link" href="clutter-GLX-Specific-Support.html#clutter-glx-texture-pixmap-using-extension" title="clutter_glx_texture_pixmap_using_extension ()">clutter_glx_texture_pixmap_using_extension</a>
89
 
                                                        (<a class="link" href="clutter-GLX-Specific-Support.html#ClutterGLXTexturePixmap" title="ClutterGLXTexturePixmap">ClutterGLXTexturePixmap</a> *texture);
 
82
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> *      <a class="link" href="clutter-GLX-Specific-Support.html#clutter-glx-texture-pixmap-new" title="clutter_glx_texture_pixmap_new ()">clutter_glx_texture_pixmap_new</a>      (void);
 
83
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> *      <a class="link" href="clutter-GLX-Specific-Support.html#clutter-glx-texture-pixmap-new-with-pixmap" title="clutter_glx_texture_pixmap_new_with_pixmap ()">clutter_glx_texture_pixmap_new_with_pixmap</a>
 
84
                                                        (<span class="returnvalue">Pixmap</span> pixmap);
 
85
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> *      <a class="link" href="clutter-GLX-Specific-Support.html#clutter-glx-texture-pixmap-new-with-window" title="clutter_glx_texture_pixmap_new_with_window ()">clutter_glx_texture_pixmap_new_with_window</a>
 
86
                                                        (<span class="returnvalue">Window</span> window);
 
87
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="clutter-GLX-Specific-Support.html#clutter-glx-texture-pixmap-using-extension" title="clutter_glx_texture_pixmap_using_extension ()">clutter_glx_texture_pixmap_using_extension</a>
 
88
                                                        (<a class="link" href="clutter-GLX-Specific-Support.html#ClutterGLXTexturePixmap" title="ClutterGLXTexturePixmap"><span class="returnvalue">ClutterGLXTexturePixmap</span></a> *texture);
90
89
</pre>
91
90
</div>
92
91
<div class="refsect1" title="Description">
97
96
</p>
98
97
<p>
99
98
The ClutterGLX API is available since Clutter 0.4</p>
100
 
<p>
101
 
</p>
102
99
</div>
103
100
<div class="refsect1" title="Details">
104
101
<a name="clutter-GLX-Specific-Support.details"></a><h2>Details</h2>
105
102
<div class="refsect2" title="ClutterGLXTexturePixmap">
106
103
<a name="ClutterGLXTexturePixmap"></a><h3>ClutterGLXTexturePixmap</h3>
107
104
<pre class="programlisting">typedef struct {
108
 
  ClutterX11TexturePixmap         parent;
109
 
 
110
 
  ClutterGLXTexturePixmapPrivate *priv;
111
105
} ClutterGLXTexturePixmap;
112
106
</pre>
113
107
<p>
114
 
</p>
 
108
The <a class="link" href="clutter-GLX-Specific-Support.html#ClutterGLXTexturePixmap" title="ClutterGLXTexturePixmap"><span class="type">ClutterGLXTexturePixmap</span></a> structure contains only private data</p>
 
109
<p class="since">Since 0.8</p>
115
110
</div>
116
111
<hr>
117
112
<div class="refsect2" title="ClutterGLXTexturePixmapClass">
118
113
<a name="ClutterGLXTexturePixmapClass"></a><h3>ClutterGLXTexturePixmapClass</h3>
119
114
<pre class="programlisting">typedef struct {
120
 
  ClutterX11TexturePixmapClass   parent_class;
121
115
} ClutterGLXTexturePixmapClass;
122
116
</pre>
123
117
<p>
124
 
</p>
 
118
The <a class="link" href="clutter-GLX-Specific-Support.html#ClutterGLXTexturePixmapClass" title="ClutterGLXTexturePixmapClass"><span class="type">ClutterGLXTexturePixmapClass</span></a> structure contains only private data</p>
 
119
<p class="since">Since 0.8</p>
125
120
</div>
126
121
<hr>
127
122
<div class="refsect2" title="clutter_glx_texture_pixmap_new ()">
128
123
<a name="clutter-glx-texture-pixmap-new"></a><h3>clutter_glx_texture_pixmap_new ()</h3>
129
 
<pre class="programlisting"><a class="link" href="ClutterActor.html" title="ClutterActor">ClutterActor</a> *      clutter_glx_texture_pixmap_new      (void);</pre>
130
 
<p>
131
 
</p>
132
 
<p>
133
 
</p>
 
124
<pre class="programlisting"><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> *      clutter_glx_texture_pixmap_new      (void);</pre>
 
125
<p>
 
126
Creates a new, empty <a class="link" href="clutter-GLX-Specific-Support.html#ClutterGLXTexturePixmap" title="ClutterGLXTexturePixmap"><span class="type">ClutterGLXTexturePixmap</span></a></p>
134
127
<div class="variablelist"><table border="0">
135
128
<col align="left" valign="top">
136
129
<tbody><tr>
145
138
<hr>
146
139
<div class="refsect2" title="clutter_glx_texture_pixmap_new_with_pixmap ()">
147
140
<a name="clutter-glx-texture-pixmap-new-with-pixmap"></a><h3>clutter_glx_texture_pixmap_new_with_pixmap ()</h3>
148
 
<pre class="programlisting"><a class="link" href="ClutterActor.html" title="ClutterActor">ClutterActor</a> *      clutter_glx_texture_pixmap_new_with_pixmap
149
 
                                                        (Pixmap pixmap);</pre>
150
 
<p>
151
 
</p>
152
 
<p>
153
 
</p>
 
141
<pre class="programlisting"><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> *      clutter_glx_texture_pixmap_new_with_pixmap
 
142
                                                        (<span class="returnvalue">Pixmap</span> pixmap);</pre>
 
143
<p>
 
144
Creates a new <a class="link" href="clutter-GLX-Specific-Support.html#ClutterGLXTexturePixmap" title="ClutterGLXTexturePixmap"><span class="type">ClutterGLXTexturePixmap</span></a> for <em class="parameter"><code>pixmap</code></em></p>
154
145
<div class="variablelist"><table border="0">
155
146
<col align="left" valign="top">
156
147
<tbody>
172
163
<hr>
173
164
<div class="refsect2" title="clutter_glx_texture_pixmap_new_with_window ()">
174
165
<a name="clutter-glx-texture-pixmap-new-with-window"></a><h3>clutter_glx_texture_pixmap_new_with_window ()</h3>
175
 
<pre class="programlisting"><a class="link" href="ClutterActor.html" title="ClutterActor">ClutterActor</a> *      clutter_glx_texture_pixmap_new_with_window
176
 
                                                        (Window window);</pre>
177
 
<p>
178
 
</p>
179
 
<p>
180
 
</p>
 
166
<pre class="programlisting"><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> *      clutter_glx_texture_pixmap_new_with_window
 
167
                                                        (<span class="returnvalue">Window</span> window);</pre>
 
168
<p>
 
169
Creates a new <a class="link" href="clutter-GLX-Specific-Support.html#ClutterGLXTexturePixmap" title="ClutterGLXTexturePixmap"><span class="type">ClutterGLXTexturePixmap</span></a> for <em class="parameter"><code>window</code></em></p>
181
170
<div class="variablelist"><table border="0">
182
171
<col align="left" valign="top">
183
172
<tbody>
199
188
<hr>
200
189
<div class="refsect2" title="clutter_glx_texture_pixmap_using_extension ()">
201
190
<a name="clutter-glx-texture-pixmap-using-extension"></a><h3>clutter_glx_texture_pixmap_using_extension ()</h3>
202
 
<pre class="programlisting"><a
203
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
204
 
>gboolean</a>            clutter_glx_texture_pixmap_using_extension
205
 
                                                        (<a class="link" href="clutter-GLX-Specific-Support.html#ClutterGLXTexturePixmap" title="ClutterGLXTexturePixmap">ClutterGLXTexturePixmap</a> *texture);</pre>
206
 
<p>
207
 
</p>
208
 
<p>
209
 
</p>
 
191
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            clutter_glx_texture_pixmap_using_extension
 
192
                                                        (<a class="link" href="clutter-GLX-Specific-Support.html#ClutterGLXTexturePixmap" title="ClutterGLXTexturePixmap"><span class="returnvalue">ClutterGLXTexturePixmap</span></a> *texture);</pre>
 
193
<p>
 
194
Checks whether <em class="parameter"><code>texture</code></em> is using the GLX_EXT_texture_from_pixmap
 
195
extension; this extension can be optionally (though it is strongly
 
196
encouraged) implemented as a zero-copy between a GLX pixmap and
 
197
a GL texture.</p>
210
198
<div class="variablelist"><table border="0">
211
199
<col align="left" valign="top">
212
200
<tbody>
217
205
</tr>
218
206
<tr>
219
207
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
220
 
<td> A boolean indicating if the texture is using the
221
 
GLX_EXT_texture_from_pixmap OpenGL extension or falling back to
222
 
slower software mechanism.
 
208
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the texture is using the
 
209
  GLX_EXT_texture_from_pixmap OpenGL extension or falling back to the
 
210
  slower software mechanism.
223
211
 
224
212
</td>
225
213
</tr>
231
219
</div>
232
220
<div class="footer">
233
221
<hr>
234
 
          Generated by GTK-Doc V1.11</div>
 
222
          Generated by GTK-Doc V1.13</div>
235
223
</body>
236
 
</html>
 
224
</html>
 
 
b'\\ No newline at end of file'