diff options
Diffstat (limited to 'clutter/glx/clutter-stage-glx.h')
-rw-r--r-- | clutter/glx/clutter-stage-glx.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clutter/glx/clutter-stage-glx.h b/clutter/glx/clutter-stage-glx.h index 9baa0f3d4..37f219ec8 100644 --- a/clutter/glx/clutter-stage-glx.h +++ b/clutter/glx/clutter-stage-glx.h @@ -44,6 +44,8 @@ G_BEGIN_DECLS typedef struct _ClutterStageGLX ClutterStageGLX; typedef struct _ClutterStageGLXClass ClutterStageGLXClass; +#define CLUTTER_STAGE_GLX_MAX_SWAP_CHAIN_LENGTH 3 + struct _ClutterStageGLX { ClutterStageX11 parent_instance; @@ -61,6 +63,10 @@ struct _ClutterStageGLX ClutterGeometry bounding_redraw_clip; + ClutterGeometry old_redraw_clips[CLUTTER_STAGE_GLX_MAX_SWAP_CHAIN_LENGTH - 1]; + int n_old_redraw_clips; + int max_old_redraw_clips; + guint initialized_redraw_clip : 1; }; |