projects
/
demo_prior
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- moved fbtex to post.c, made it a ping-pong buffer, added fbos for it.
[demo_prior]
/
src
/
post.h
diff --git
a/src/post.h
b/src/post.h
index
d61dc5d
..
c942630
100644
(file)
--- a/
src/post.h
+++ b/
src/post.h
@@
-1,7
+1,14
@@
#ifndef POST_H_
#define POST_H_
#ifndef POST_H_
#define POST_H_
-struct texture;
+#include "texture.h"
+
+extern struct texture fbtex[2];
+extern int fbtex_cur;
+
+int post_init(void);
+void post_cleanup(void);
+void post_reshape(int x, int y);
void overlay(unsigned int tex, float aspect, float alpha);
void overlay_tex(struct texture *tex, float alpha);
void overlay(unsigned int tex, float aspect, float alpha);
void overlay_tex(struct texture *tex, float alpha);