summaryrefslogtreecommitdiff
path: root/cogl/cogl-onscreen-template.h
diff options
context:
space:
mode:
Diffstat (limited to 'cogl/cogl-onscreen-template.h')
-rw-r--r--cogl/cogl-onscreen-template.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/cogl/cogl-onscreen-template.h b/cogl/cogl-onscreen-template.h
index c10d3849..9aa66760 100644
--- a/cogl/cogl-onscreen-template.h
+++ b/cogl/cogl-onscreen-template.h
@@ -112,6 +112,25 @@ cogl_onscreen_template_set_has_alpha (CoglOnscreenTemplate *onscreen_template,
CoglBool has_alpha);
/**
+ * cogl_onscreen_template_set_stereo_enabled:
+ * @onscreen_template: A #CoglOnscreenTemplate template framebuffer
+ * @enabled: Whether framebuffers are created with stereo buffers
+ *
+ * Sets whether future #CoglOnscreen framebuffers derived from this
+ * template are attempted to be created with both left and right
+ * buffers, for use with stereo display. If the display system
+ * does not support stereo, then creation of the framebuffer will
+ * fail.
+ *
+ * Since: 1.20
+ * Stability: unstable
+ */
+void
+cogl_onscreen_template_set_stereo_enabled (
+ CoglOnscreenTemplate *onscreen_template,
+ CoglBool enabled);
+
+/**
* cogl_is_onscreen_template:
* @object: A #CoglObject pointer
*