From baf585e16cdb254335317c19c419e8d37b1042dc Mon Sep 17 00:00:00 2001 From: nightshad Date: Thu, 31 Mar 2011 15:18:49 +0000 Subject: [PATCH] Added comments about different blending modes as requested on mailinglist. git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1367 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- lib/libcoolstream/cnxtfb.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/libcoolstream/cnxtfb.h b/lib/libcoolstream/cnxtfb.h index f328150f1..15a47afc1 100644 --- a/lib/libcoolstream/cnxtfb.h +++ b/lib/libcoolstream/cnxtfb.h @@ -37,9 +37,9 @@ typedef struct _cnxtfb_resolution typedef enum { - CNXTFB_BLEND_MODE_GLOBAL_ALPHA = 0, - CNXTFB_BLEND_MODE_PIXEL_ALPHA, - CNXTFB_BLEND_MODE_ALPHA_MULTIPLIED, + CNXTFB_BLEND_MODE_GLOBAL_ALPHA = 0, /* Global / Region Alpha */ + CNXTFB_BLEND_MODE_PIXEL_ALPHA, /* Alpha from pixel */ + CNXTFB_BLEND_MODE_ALPHA_MULTIPLIED, /* Global alpha multiplied with pixel alpha */ } CNXTFB_BLEND_MODE; #define CNXTFB_IO(type) _IO('F', type) @@ -50,7 +50,7 @@ typedef enum #define FBIO_WAITFORVSYNC _IOW('F', 0x20, u_int32_t) #endif -#define FBIO_GETCNXTFBHANDLE CNXTFB_IOR(0x21, cnxtfb_handle) // 0x4620 +#define FBIO_GETCNXTFBHANDLE CNXTFB_IOR(0x21, cnxtfb_handle) #define FBIO_STARTDISPLAY CNXTFB_IO(0x22) #define FBIO_STOPDISPLAY CNXTFB_IO(0x23) #define FBIO_SETOPACITY CNXTFB_IOW(0x24, u_int8_t)