mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
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:
@ -59,14 +59,6 @@ typedef int (*WaitVideoSyncProc) (int divisor,
|
||||
int remainder,
|
||||
unsigned int *count);
|
||||
typedef int (*SwapIntervalProc) (int interval);
|
||||
typedef void (*BindTexImage) (Display *display,
|
||||
GLXDrawable drawable,
|
||||
int buffer,
|
||||
int *attribList);
|
||||
typedef void (*ReleaseTexImage) (Display *display,
|
||||
GLXDrawable drawable,
|
||||
int buffer);
|
||||
|
||||
|
||||
struct _ClutterBackendGLX
|
||||
{
|
||||
@ -82,11 +74,6 @@ struct _ClutterBackendGLX
|
||||
gint dri_fd;
|
||||
ClutterGLXVBlankType vblank_type;
|
||||
|
||||
/* texture from pixmap stuff */
|
||||
gboolean t_f_p;
|
||||
BindTexImage bind_tex_image;
|
||||
ReleaseTexImage release_tex_image;
|
||||
|
||||
/* props */
|
||||
Atom atom_WM_STATE;
|
||||
Atom atom_WM_STATE_FULLSCREEN;
|
||||
|
Reference in New Issue
Block a user