summaryrefslogtreecommitdiff
path: root/src/OffscreenContext.h
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2013-01-24 03:02:31 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2013-01-24 03:02:31 (GMT)
commit1e7636e364535c78e4eebd36666bac5d352c3608 (patch)
tree5479c9229973795a771f912f3c3414f2075f2875 /src/OffscreenContext.h
parent1bec7aad09631d3f86874ead2c26335bc897fde5 (diff)
add files removed from test path
Diffstat (limited to 'src/OffscreenContext.h')
-rw-r--r--src/OffscreenContext.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/OffscreenContext.h b/src/OffscreenContext.h
new file mode 100644
index 0000000..6eebcba
--- /dev/null
+++ b/src/OffscreenContext.h
@@ -0,0 +1,13 @@
+#ifndef OFFSCREENCONTEXT_H_
+#define OFFSCREENCONTEXT_H_
+
+#include <iostream> // for error output
+#include <string>
+
+struct OffscreenContext *create_offscreen_context(int w, int h);
+void bind_offscreen_context(OffscreenContext *ctx);
+bool teardown_offscreen_context(OffscreenContext *ctx);
+bool save_framebuffer(OffscreenContext *ctx, const char *filename);
+std::string offscreen_context_getinfo(OffscreenContext *ctx);
+
+#endif
contact: Jan Huwald // Impressum