4 * An OpenGL based 'interactive canvas' library.
6 * Authored By Johan Bilien <johan.bilien@nokia.com>
8 * Copyright (C) 2007 OpenedHand
10 * This library is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Lesser General Public
12 * License as published by the Free Software Foundation; either
13 * version 2 of the License, or (at your option) any later version.
15 * This library is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * Lesser General Public License for more details.
20 * You should have received a copy of the GNU Lesser General Public
21 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
26 #ifndef __CLUTTER_GLX_TEXTURE_PIXMAP_H__
27 #define __CLUTTER_GLX_TEXTURE_PIXMAP_H__
29 #include <clutter/x11/clutter-x11-texture-pixmap.h>
33 #define CLUTTER_GLX_TYPE_TEXTURE_PIXMAP (clutter_glx_texture_pixmap_get_type ())
34 #define CLUTTER_GLX_TEXTURE_PIXMAP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CLUTTER_GLX_TYPE_TEXTURE_PIXMAP, ClutterGLXTexturePixmap))
35 #define CLUTTER_GLX_TEXTURE_PIXMAP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CLUTTER_GLX_TYPE_TEXTURE_PIXMAP, ClutterGLXTexturePixmapClass))
36 #define CLUTTER_GLX_IS_TEXTURE_PIXMAP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CLUTTER_GLX_TYPE_TEXTURE_PIXMAP))
37 #define CLUTTER_GLX_IS_TEXTURE_PIXMAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_GLX_TYPE_TEXTURE_PIXMAP))
38 #define CLUTTER_GLX_TEXTURE_PIXMAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_GLX_TYPE_TEXTURE_PIXMAP, ClutterGLXTexturePixmapClass))
40 typedef struct _ClutterGLXTexturePixmap ClutterGLXTexturePixmap;
41 typedef struct _ClutterGLXTexturePixmapClass ClutterGLXTexturePixmapClass;
42 typedef struct _ClutterGLXTexturePixmapPrivate ClutterGLXTexturePixmapPrivate;
45 * ClutterGLXTexturePixmapClass:
47 * The #ClutterGLXTexturePixmapClass structure contains only private data
51 * Deprecated: 1.6: Use #ClutterX11TexturePixmapClass instead
53 struct _ClutterGLXTexturePixmapClass
56 ClutterX11TexturePixmapClass parent_class;
60 * ClutterGLXTexturePixmap:
62 * The #ClutterGLXTexturePixmap structure contains only private data
66 * Deprecated: 1.6: Use #ClutterX11TexturePixmap instead
68 struct _ClutterGLXTexturePixmap
71 ClutterX11TexturePixmap parent;
73 ClutterGLXTexturePixmapPrivate *priv;
76 GType clutter_glx_texture_pixmap_get_type (void);
78 CLUTTER_DEPRECATED_FOR(clutter_x11_texture_pixmap_new)
79 ClutterActor * clutter_glx_texture_pixmap_new (void);
81 CLUTTER_DEPRECATED_FOR(clutter_x11_texture_pixmap_new_with_pixmap)
82 ClutterActor * clutter_glx_texture_pixmap_new_with_pixmap (Pixmap pixmap);
84 CLUTTER_DEPRECATED_FOR(clutter_x11_texture_pixmap_new_with_window)
85 ClutterActor * clutter_glx_texture_pixmap_new_with_window (Window window);
87 CLUTTER_DEPRECATED_FOR(cogl_texture_pixmap_x11_is_using_tfp_extension)
88 gboolean clutter_glx_texture_pixmap_using_extension (ClutterGLXTexturePixmap *texture);
92 #endif /* __CLUTTER_GLX_TEXTURE_PIXMAP_H__ */