summaryrefslogtreecommitdiff
path: root/src/privatescreen.h
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@opencompositing.org>2008-08-18 15:32:31 +0200
committerDennis kasprzyk <onestone@opencompositing.org>2008-08-18 15:32:31 +0200
commit79d78d3f60e683411a075fe44fe4ab862d0fadc6 (patch)
treed970c542e2a67264ac6ca61ba814f6b44408b255 /src/privatescreen.h
parentfa7e9361989282eddfc3012ffc392fadebf2b3c5 (diff)
downloadunity-window-decorator-79d78d3f60e683411a075fe44fe4ab862d0fadc6.tar.gz
unity-window-decorator-79d78d3f60e683411a075fe44fe4ab862d0fadc6.tar.bz2
Fragment interface C++ port (not tested).
Diffstat (limited to 'src/privatescreen.h')
-rw-r--r--src/privatescreen.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/privatescreen.h b/src/privatescreen.h
index cc2b2d8..cab3277 100644
--- a/src/privatescreen.h
+++ b/src/privatescreen.h
@@ -6,6 +6,8 @@
#include <compsize.h>
#include <comppoint.h>
#include <comptexture.h>
+#include <compfragment.h>
+#include "privatefragment.h"
#define COMP_SCREEN_OPTION_DETECT_REFRESH_RATE 0
#define COMP_SCREEN_OPTION_LIGHTING 1
@@ -264,12 +266,7 @@ class PrivateScreen {
int timeLeft;
Bool pendingCommands;
- int lastFunctionId;
-
- CompFunction *fragmentFunctions;
- CompProgram *fragmentPrograms;
-
- int saturateFunction[2][64];
+ CompFragment::Storage fragmentStorage;
GLfloat projection[16];