summaryrefslogtreecommitdiff
path: root/cogl/cogl-kms-display.h
diff options
context:
space:
mode:
Diffstat (limited to 'cogl/cogl-kms-display.h')
-rw-r--r--cogl/cogl-kms-display.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/cogl/cogl-kms-display.h b/cogl/cogl-kms-display.h
index 77219c29..05222c35 100644
--- a/cogl/cogl-kms-display.h
+++ b/cogl/cogl-kms-display.h
@@ -67,6 +67,8 @@ typedef struct {
uint32_t *connectors;
uint32_t count;
+
+ CoglBool ignore;
} CoglKmsCrtc;
/**
@@ -97,5 +99,21 @@ cogl_kms_display_set_layout (CoglDisplay *display,
int n_crtcs,
CoglError **error);
+
+/**
+ * cogl_kms_display_set_layout:
+ * @onscreen: a #CoglDisplay
+ * @id: KMS output id
+ * @ignore: Ignore ouput or not
+ *
+ * Tells cogl to ignore (or stop ignoring) a ctrc which means
+ * it never flips buffers at this crtc.
+ *
+ * Stability: unstable
+ */
+void
+cogl_kms_display_set_ignore_crtc (CoglDisplay *display,
+ uint32_t id,
+ CoglBool ignore);
COGL_END_DECLS
#endif /* __COGL_KMS_DISPLAY_H__ */