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">
52
54
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
61
63
<tr><td colspan="5" class="shortcuts">
62
64
<a href="#clutter-GLX-Specific-Support.synopsis" class="shortcut">Top</a>
64
<a href="#clutter-GLX-Specific-Support.description" class="shortcut">Description</a>
66
<a href="#clutter-GLX-Specific-Support.description" class="shortcut">Description</a>
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>
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>
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);
92
91
<div class="refsect1" title="Description">
99
98
The ClutterGLX API is available since Clutter 0.4</p>
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;
110
ClutterGLXTexturePixmapPrivate *priv;
111
105
} ClutterGLXTexturePixmap;
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>
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;
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>
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>
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>
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">
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>
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>
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">
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>
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>
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">
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>
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>
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
210
198
<div class="variablelist"><table border="0">
211
199
<col align="left" valign="top">
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.