2008-04-15 Matthew Allum <mallum@openedhand.com>
Work related to #873; * clutter/glx/clutter-backend-glx.c: * clutter/glx/clutter-backend-glx.h: * clutter/x11/clutter-x11-texture-pixmap.c: * clutter/x11/clutter-x11-texture-pixmap.h: General cleanup of texture pixmap code, adding; - Pixmap dimentions and depth now auto probed, read only props. - More X safety traps - Add support for optionally tracking damage and automatically updating texture. * clutter/glx/clutter-glx-texture-pixmap.c: * clutter/glx/clutter-glx-texture-pixmap.h: General cleanup and some safety additions. Needs more work so 'proper' subclass - dependent on new COGL. * clutter/x11/clutter-backend-x11.c: (clutter_x11_remove_filter): Invert g_return_if check. * configure.ac: Pull in XComposite and XDamage (at least for now) * tests/Makefile.am: * tests/test-pixmap.c: Add a modified test from Johan for above.
This commit is contained in:
@ -67,16 +67,10 @@ struct _ClutterX11TexturePixmap
|
||||
GType clutter_x11_texture_pixmap_get_type (void);
|
||||
ClutterActor * clutter_x11_texture_pixmap_new (void);
|
||||
|
||||
ClutterActor * clutter_x11_texture_pixmap_new_with_pixmap (Pixmap pixmap,
|
||||
guint width,
|
||||
guint height,
|
||||
guint depth);
|
||||
ClutterActor * clutter_x11_texture_pixmap_new_with_pixmap (Pixmap pixmap);
|
||||
|
||||
void clutter_x11_texture_pixmap_set_pixmap (ClutterX11TexturePixmap *texture,
|
||||
Pixmap pixmap,
|
||||
guint width,
|
||||
guint height,
|
||||
guint depth);
|
||||
Pixmap pixmap);
|
||||
|
||||
void clutter_x11_texture_pixmap_update_area (ClutterX11TexturePixmap *texture,
|
||||
gint x,
|
||||
@ -84,6 +78,9 @@ void clutter_x11_texture_pixmap_update_area (ClutterX11TexturePixmap *texture,
|
||||
gint width,
|
||||
gint height);
|
||||
|
||||
void
|
||||
clutter_x11_texture_pixmap_set_automatic (ClutterX11TexturePixmap *texture,
|
||||
gboolean setting);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
Reference in New Issue
Block a user