## GLX Specific Support

GLX Specific Support — GLX specific API

## Synopsis

                        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);

## Description

The GLX backend for Clutter provides some specific API for GLX related calls.

The ClutterGLX API is available since Clutter 0.4

## Details

### ClutterGLXTexturePixmap

    typedef struct {
    } ClutterGLXTexturePixmap;

The ClutterGLXTexturePixmap structure contains only private data

Since 0.8

### ClutterGLXTexturePixmapClass

    typedef struct {
    } ClutterGLXTexturePixmapClass;

The ClutterGLXTexturePixmapClass structure contains only private data

Since 0.8

### clutter_glx_texture_pixmap_new ()

    ClutterActor *      clutter_glx_texture_pixmap_new      (void);

Creates a new, empty ClutterGLXTexturePixmap

Returns : | A new ClutterGLXTexturePixmap

Since 0.8

### clutter_glx_texture_pixmap_new_with_pixmap ()

    ClutterActor *      clutter_glx_texture_pixmap_new_with_pixmap
                                                            (Pixmap pixmap);

Creates a new ClutterGLXTexturePixmap for `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

### clutter_glx_texture_pixmap_new_with_window ()

    ClutterActor *      clutter_glx_texture_pixmap_new_with_window
                                                            (Window window);

Creates a new ClutterGLXTexturePixmap for `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

### clutter_glx_texture_pixmap_using_extension ()

    gboolean            clutter_glx_texture_pixmap_using_extension
                                                            (ClutterGLXTexturePixmap *texture);

Checks whether `texture` is using the GLX_EXT_texture_from_pixmap extension; this extension can be optionally (though it is strongly encouraged) implemented as a zero-copy between a GLX pixmap and a GL texture.

`texture` : | A ClutterGLXTexturePixmap
Returns : | `TRUE` if the texture is using the GLX_EXT_texture_from_pixmap OpenGL extension or falling back to the slower software mechanism.

Since 0.8