diff options
author | Keith Packard <keithp@keithp.com> | 2006-04-19 21:56:13 +0000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2006-04-19 21:56:13 +0000 |
commit | b37c515320dc8df2b1d160cc3f37d6bfac109b91 (patch) | |
tree | 471b25cabb328d43fcf313702d2f688d273b4d18 /render/picture.h | |
parent | c947d796aad0b81d661a10b787deed967376da79 (diff) |
Add support for x4a4 format (depth 4 at 8bpp). Bug #6325.
Diffstat (limited to 'render/picture.h')
-rw-r--r-- | render/picture.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/render/picture.h b/render/picture.h index b09d9aac2..778eb5c4c 100644 --- a/render/picture.h +++ b/render/picture.h @@ -100,6 +100,15 @@ typedef struct _Picture *PicturePtr; #define PICT_c8 PICT_FORMAT(8,PICT_TYPE_COLOR,0,0,0,0) #define PICT_g8 PICT_FORMAT(8,PICT_TYPE_GRAY,0,0,0,0) +#define PICT_x4a4 PICT_FORMAT(8,PICT_TYPE_A,4,0,0,0) +#define PICT_x4r1g2b1 PICT_FORMAT(8,PICT_TYPE_ARGB,0,1,2,1) +#define PICT_x4b1g2r1 PICT_FORMAT(8,PICT_TYPE_ABGR,0,1,2,1) +#define PICT_x4a1r1g1b1 PICT_FORMAT(8,PICT_TYPE_ARGB,1,1,1,1) +#define PICT_x4a1b1g1r1 PICT_FORMAT(8,PICT_TYPE_ABGR,1,1,1,1) + +#define PICT_x4c4 PICT_FORMAT(8,PICT_TYPE_COLOR,0,0,0,0) +#define PICT_x4g4 PICT_FORMAT(8,PICT_TYPE_GRAY,0,0,0,0) + /* 4bpp formats */ #define PICT_a4 PICT_FORMAT(4,PICT_TYPE_A,4,0,0,0) #define PICT_r1g2b1 PICT_FORMAT(4,PICT_TYPE_ARGB,0,1,2,1) |