summaryrefslogtreecommitdiff
path: root/cogl/winsys/cogl-winsys-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'cogl/winsys/cogl-winsys-private.h')
-rw-r--r--cogl/winsys/cogl-winsys-private.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/cogl/winsys/cogl-winsys-private.h b/cogl/winsys/cogl-winsys-private.h
index 123419e1..43f34638 100644
--- a/cogl/winsys/cogl-winsys-private.h
+++ b/cogl/winsys/cogl-winsys-private.h
@@ -194,6 +194,18 @@ typedef struct _CoglWinsysVtable
void
(*fence_destroy) (CoglContext *ctx, void *fence);
+ /* optional
+ *
+ * This iterates the current renderer->outputs and for each output
+ * with pending changes they should be applied to the window system
+ * or hardware.
+ *
+ * If it's not possible to apply the pending changes then the
+ * previous state should be restored and an error returned.
+ */
+ CoglBool
+ (*commit_outputs) (CoglRenderer *renderer, CoglError **error);
+
} CoglWinsysVtable;
CoglBool