cogl: Remove unused xlib state from CoglContext

https://gitlab.gnome.org/GNOME/mutter/merge_requests/977
This commit is contained in:
Adam Jackson 2019-12-17 10:47:58 -05:00 committed by Georges Basile Stavracas Neto
parent 9325bd9d8e
commit 573ba108d9

View File

@ -34,10 +34,6 @@
#include "cogl-context.h"
#include "cogl-flags.h"
#ifdef COGL_HAS_XLIB_SUPPORT
#include "cogl-xlib-private.h"
#endif
#include "cogl-display-private.h"
#include "cogl-clip-stack.h"
#include "cogl-matrix-stack.h"
@ -273,18 +269,6 @@ struct _CoglContext
CoglSamplerCache *sampler_cache;
/* FIXME: remove these when we remove the last xlib based clutter
* backend. they should be tracked as part of the renderer but e.g.
* the eglx backend doesn't yet have a corresponding Cogl winsys
* and so we wont have a renderer in that case. */
#ifdef COGL_HAS_XLIB_SUPPORT
/* List of callback functions that will be given every Xlib event */
GSList *event_filters;
/* Current top of the XError trap state stack. The actual memory for
these is expected to be allocated on the stack by the caller */
CoglXlibTrapState *trap_state;
#endif
unsigned long winsys_features
[COGL_FLAGS_N_LONGS_FOR_SIZE (COGL_WINSYS_FEATURE_N_FEATURES)];
void *winsys;