From 7d7a0260bf778a2c3134ad2c04330c006474bc16 Mon Sep 17 00:00:00 2001 From: Matt Hortman Date: Tue, 21 Feb 2012 11:20:32 -0500 Subject: [PATCH] added constants for raster operations --- libguac/include/protocol.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) mode change 100644 => 100755 libguac/include/protocol.h diff --git a/libguac/include/protocol.h b/libguac/include/protocol.h old mode 100644 new mode 100755 index d7d282ed..822b0566 --- a/libguac/include/protocol.h +++ b/libguac/include/protocol.h @@ -90,7 +90,12 @@ typedef enum guac_composite_mode { GUAC_COMP_IN = 0x4, /* 0100 */ GUAC_COMP_OUT = 0x8, /* 1000 */ GUAC_COMP_RATOP = 0x9, /* 1001 */ - GUAC_COMP_SRC = 0xC /* 1100 */ + GUAC_COMP_SRC = 0xC, /* 1100 */ + + GUAC_COMP_OR = 0xF0, /* perform OR ternary raster operation */ + GUAC_COMP_AND = 0xF1, /* perform AND ternary raster operation */ + GUAC_COMP_XOR2 = 0xF2, /* perform XOR ternary raster operation */ + GUAC_COMP_NOR = 0xF3 /* perform NOR ternary raster operation */ } guac_composite_mode;