summaryrefslogtreecommitdiff
path: root/cogl/cogl-renderer-private.h
diff options
context:
space:
mode:
authorRobert Bragg <robert@linux.intel.com>2012-01-13 16:48:26 +0000
committerRobert Bragg <robert@linux.intel.com>2012-01-16 18:27:19 +0000
commita8513c1d77026a98aa5a21614b97667b77e51750 (patch)
tree093c9a0a5d97ec9299a3f9fad3565152afc4c511 /cogl/cogl-renderer-private.h
parent7d38d9bdf22972c72dbefda4a0de22db85381e4f (diff)
downloadcogl-a8513c1d77026a98aa5a21614b97667b77e51750.tar.gz
renderer: Adds api to add/remove selection constraints
This allows applications to specify certain constraints that feed into the process of selecting a CoglRenderer backend. For example applications might depend on x11 for handling input and so they require a backend that's also based on x11.
Diffstat (limited to 'cogl/cogl-renderer-private.h')
-rw-r--r--cogl/cogl-renderer-private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cogl/cogl-renderer-private.h b/cogl/cogl-renderer-private.h
index 47c0667e..bdc505da 100644
--- a/cogl/cogl-renderer-private.h
+++ b/cogl/cogl-renderer-private.h
@@ -44,6 +44,8 @@ struct _CoglRenderer
gboolean connected;
const CoglWinsysVtable *winsys_vtable;
CoglWinsysID winsys_id_override;
+ GList *constraints;
+
#ifdef COGL_HAS_XLIB_SUPPORT
Display *foreign_xdpy;
gboolean xlib_enable_event_retrieval;