i915g: add a few more render target formats

Snatched from xvmc.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter 2011-06-13 23:03:00 +02:00
parent 755f2e2ae5
commit df8d26ec09
1 changed files with 7 additions and 0 deletions

View File

@ -170,6 +170,13 @@
#define COLOR_BUF_RGB555 (1<<8)
#define COLOR_BUF_RGB565 (2<<8)
#define COLOR_BUF_ARGB8888 (3<<8)
#define COLOR_BUF_YCRCB_SWAP (4<<8)
#define COLOR_BUF_YCRCB_NORMAL (5<<8)
#define COLOR_BUF_YCRCB_SWAPUV (6<<8)
#define COLOR_BUF_YCRCB_SWAPUVY (7<<8)
#define COLOR_BUF_ARGB4444 (8<<8)
#define COLOR_BUF_ARGB1555 (9<<8)
#define COLOR_BUF_ARGB2101010 (10<<8)
#define DEPTH_FRMT_16_FIXED 0
#define DEPTH_FRMT_16_FLOAT (1<<2)
#define DEPTH_FRMT_24_FIXED_8_OTHER (2<<2)