summaryrefslogtreecommitdiffstats
path: root/tests/tests.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tests.h')
-rw-r--r--tests/tests.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/tests.h b/tests/tests.h
index fa088fc..288f339 100644
--- a/tests/tests.h
+++ b/tests/tests.h
@@ -23,6 +23,17 @@
#include <GL/gl.h>
#include <stdio.h>
+/*
+ * Convenience
+ */
+
+dmnsn_scene *dmnsn_new_default_scene();
+void dmnsn_delete_default_scene(dmnsn_scene *scene);
+
+/*
+ * Windowing
+ */
+
typedef struct {
Display *dpy;
Window win;
@@ -40,5 +51,9 @@ void dmnsn_delete_display(dmnsn_display *display);
/* Flush the GL buffers */
void dmnsn_display_frame(dmnsn_display *display);
+/*
+ * Asynchronicity
+ */
+
/* Print a progress bar of the progress of `progress' */
void progressbar(const char *str, const dmnsn_progress *progress);