Subversion Repositories Kolibri OS

Rev

Rev 4359 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4359 Rev 4501
Line 40... Line 40...
40
#define BLT_WRITE_ALPHA		(1<<21)
40
#define BLT_WRITE_ALPHA		(1<<21)
41
#define BLT_WRITE_RGB		(1<<20)
41
#define BLT_WRITE_RGB		(1<<20)
42
#define BLT_SRC_TILED		(1<<15)
42
#define BLT_SRC_TILED		(1<<15)
43
#define BLT_DST_TILED		(1<<11)
43
#define BLT_DST_TILED		(1<<11)
Line 44... Line 44...
44
 
44
 
45
#define COLOR_BLT_CMD			((2<<29)|(0x40<<22)|(0x3))
45
#define COLOR_BLT_CMD			(2<<29|0x40<<22|(0x3))
46
#define XY_COLOR_BLT			((2<<29)|(0x50<<22)|(0x4))
46
#define XY_COLOR_BLT			(2<<29|0x50<<22|(0x4))
47
#define XY_SETUP_BLT			((2<<29)|(1<<22)|6)
47
#define XY_SETUP_BLT			(2<<29|0x01<<22)
48
#define XY_SETUP_MONO_PATTERN_SL_BLT	((2<<29)|(0x11<<22)|7)
48
#define XY_SETUP_MONO_PATTERN_SL_BLT	(2<<29|0x11<<22)
49
#define XY_SETUP_CLIP			((2<<29)|(3<<22)|1)
49
#define XY_SETUP_CLIP			(2<<29|0x03<<22|1)
50
#define XY_SCANLINE_BLT			((2<<29)|(0x25<<22)|1)
50
#define XY_SCANLINE_BLT			(2<<29|0x25<<22|1)
51
#define XY_TEXT_IMMEDIATE_BLT		((2<<29)|(0x31<<22)|(1<<16))
51
#define XY_TEXT_IMMEDIATE_BLT		(2<<29|0x31<<22|(1<<16))
52
#define XY_SRC_COPY_BLT_CMD		((2<<29)|(0x53<<22)|6)
52
#define XY_SRC_COPY_BLT_CMD		(2<<29|0x53<<22)
53
#define SRC_COPY_BLT_CMD		((2<<29)|(0x43<<22)|0x4)
53
#define SRC_COPY_BLT_CMD		(2<<29|0x43<<22|0x4)
54
#define XY_PAT_BLT			((2<<29)|(0x51<<22)|0x4)
54
#define XY_PAT_BLT			(2<<29|0x51<<22)
55
#define XY_PAT_BLT_IMMEDIATE		((2<<29)|(0x72<<22))
55
#define XY_PAT_BLT_IMMEDIATE		(2<<29|0x72<<22)
56
#define XY_MONO_PAT			((0x2<<29)|(0x52<<22)|0x7)
56
#define XY_MONO_PAT			(2<<29|0x52<<22)
57
#define XY_MONO_SRC_COPY		((0x2<<29)|(0x54<<22)|(0x6))
57
#define XY_MONO_SRC_COPY		(2<<29|0x54<<22)
58
#define XY_MONO_SRC_COPY_IMM		((0x2<<29)|(0x71<<22))
58
#define XY_MONO_SRC_COPY_IMM		(2<<29|0x71<<22)
59
#define XY_FULL_MONO_PATTERN_BLT	((0x2<<29)|(0x57<<22)|0xa)
59
#define XY_FULL_MONO_PATTERN_BLT	(2<<29|0x57<<22)
Line 60... Line 60...
60
#define XY_FULL_MONO_PATTERN_MONO_SRC_BLT	((0x2<<29)|(0x58<<22)|0xa)
60
#define XY_FULL_MONO_PATTERN_MONO_SRC_BLT (2<<29|0x58<<22)
61
 
61
 
62
/* FLUSH commands */
62
/* FLUSH commands */
63
#define BRW_3D(Pipeline,Opcode,Subopcode) \
63
#define BRW_3D(Pipeline,Opcode,Subopcode) \