[mutter] cogl: Remove unused xlib state from CoglContext
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] cogl: Remove unused xlib state from CoglContext
- Date: Wed, 18 Dec 2019 16:33:35 +0000 (UTC)
commit 573ba108d9d2a3a9469a32df1363a670f54f2e18
Author: Adam Jackson <ajax redhat com>
Date: Tue Dec 17 10:47:58 2019 -0500
cogl: Remove unused xlib state from CoglContext
https://gitlab.gnome.org/GNOME/mutter/merge_requests/977
cogl/cogl/cogl-context-private.h | 16 ----------------
1 file changed, 16 deletions(-)
---
diff --git a/cogl/cogl/cogl-context-private.h b/cogl/cogl/cogl-context-private.h
index b7d626bd3..3cd639aae 100644
--- a/cogl/cogl/cogl-context-private.h
+++ b/cogl/cogl/cogl-context-private.h
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]