![]() |
![]() |
![]() |
Clutter Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
ClutterGLXTexturePixmap; ClutterGLXTexturePixmapClass; ClutterActor * clutter_glx_texture_pixmap_new (void); ClutterActor * clutter_glx_texture_pixmap_new_with_pixmap (Pixmap pixmap); ClutterActor * clutter_glx_texture_pixmap_new_with_window (Window window); gboolean clutter_glx_texture_pixmap_using_extension (ClutterGLXTexturePixmap *texture);
The GLX backend for Clutter provides some specific API for GLX related calls.
The ClutterGLX API is available since Clutter 0.4
typedef struct { ClutterX11TexturePixmap parent; ClutterGLXTexturePixmapPrivate *priv; } ClutterGLXTexturePixmap;
typedef struct { ClutterX11TexturePixmapClass parent_class; } ClutterGLXTexturePixmapClass;
ClutterActor * clutter_glx_texture_pixmap_new (void);
Returns : |
A new ClutterGLXTexturePixmap |
Since 0.8
ClutterActor * clutter_glx_texture_pixmap_new_with_pixmap (Pixmap pixmap);
|
the X Pixmap to which this texture should be bound |
Returns : |
A new ClutterGLXTexturePixmap bound to the given X Pixmap |
Since 0.8
ClutterActor * clutter_glx_texture_pixmap_new_with_window (Window window);
|
the X window to which this texture should be bound |
Returns : |
A new ClutterGLXTexturePixmap bound to the given X window |
Since 0.8
gboolean clutter_glx_texture_pixmap_using_extension (ClutterGLXTexturePixmap *texture);
|
A ClutterGLXTexturePixmap |
Returns : |
A boolean indicating if the texture is using the GLX_EXT_texture_from_pixmap OpenGL extension or falling back to slower software mechanism. |
Since 0.8