summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/blurfx.h
diff options
context:
space:
mode:
authoronestone <onestone@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-10-06 02:24:01 +0000
committeronestone <onestone@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-10-06 02:24:01 +0000
commitcef5c9fffca229b8473e949450bdd8bad9f0ec7c (patch)
tree1d3b6bdb4cef09933abd7b990235fd4f7225de1f /beryl-plugins/src/blurfx.h
parente54e8e302ddf6fe927f6880584944a57ff5b5f2b (diff)
downloadmarex-dev-cef5c9fffca229b8473e949450bdd8bad9f0ec7c.tar.gz
marex-dev-cef5c9fffca229b8473e949450bdd8bad9f0ec7c.tar.bz2
Added Inter-Plugin-Communication-System
git-svn-id: file:///beryl/trunk@509 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/blurfx.h')
-rw-r--r--beryl-plugins/src/blurfx.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/beryl-plugins/src/blurfx.h b/beryl-plugins/src/blurfx.h
index 49a50b1..ff168f4 100644
--- a/beryl-plugins/src/blurfx.h
+++ b/beryl-plugins/src/blurfx.h
@@ -184,6 +184,8 @@ static const char *blurShader[10][2];
#define NUM_OPTIONS(s) (sizeof ((s)->opt) / sizeof (CompOption))
+#define DISABLE_FEATURE(x,y) (IPCS_IsSet(IPCS_OBJECT(x),y) && IPCS_GetBool(IPCS_OBJECT(x),y))
+
static int displayPrivateIndex = 0;
typedef struct _BlurfxDisplay
@@ -285,6 +287,11 @@ typedef struct _BlurfxScreen
Bool rb_supported;
+
+ int ipcs_disable_blur;
+ int ipcs_disable_mblur;
+ int ipcs_disable_reflection;
+
CompOption opt[BLURFX_SCREEN_OPTION_NUM]; // options
}BlurfxScreen;
@@ -316,6 +323,9 @@ typedef struct _BlurfxWindow
float mvm[16]; // here we store the model view matrix
Bool mvm_updated; // is the model view matrix up to date
+ int ipcs_disable_blur;
+ int ipcs_disable_reflection;
+
}BlurfxWindow;