1 | #ifndef _XAAROP_H
|
---|
2 | #define _XAAROP_H
|
---|
3 |
|
---|
4 | #define ROP_DST 0x00000001
|
---|
5 | #define ROP_SRC 0x00000002
|
---|
6 | #define ROP_PAT 0x00000004
|
---|
7 |
|
---|
8 | #define ROP_0 0x00
|
---|
9 | #define ROP_DPSoon 0x01
|
---|
10 | #define ROP_DPSona 0x02
|
---|
11 | #define ROP_PSon 0x03
|
---|
12 | #define ROP_SDPona 0x04
|
---|
13 | #define ROP_DPon 0x05
|
---|
14 | #define ROP_PDSxnon 0x06
|
---|
15 | #define ROP_PDSaon 0x07
|
---|
16 | #define ROP_SDPnaa 0x08
|
---|
17 | #define ROP_PDSxon 0x09
|
---|
18 | #define ROP_DPna 0x0A
|
---|
19 | #define ROP_PSDnaon 0x0B
|
---|
20 | #define ROP_SPna 0x0C
|
---|
21 | #define ROP_PDSnaon 0x0D
|
---|
22 | #define ROP_PDSonon 0x0E
|
---|
23 | #define ROP_Pn 0x0F
|
---|
24 | #define ROP_PDSona 0x10
|
---|
25 | #define ROP_DSon 0x11
|
---|
26 | #define ROP_SDPxnon 0x12
|
---|
27 | #define ROP_SDPaon 0x13
|
---|
28 | #define ROP_DPSxnon 0x14
|
---|
29 | #define ROP_DPSaon 0x15
|
---|
30 | #define ROP_PSDPSanaxx 0x16
|
---|
31 | #define ROP_SSPxDSxaxn 0x17
|
---|
32 | #define ROP_SPxPDxa 0x18
|
---|
33 | #define ROP_SDPSanaxn 0x19
|
---|
34 | #define ROP_PDSPaox 0x1A
|
---|
35 | #define ROP_SDPSxaxn 0x1B
|
---|
36 | #define ROP_PSDPaox 0x1C
|
---|
37 | #define ROP_DSPDxaxn 0x1D
|
---|
38 | #define ROP_PDSox 0x1E
|
---|
39 | #define ROP_PDSoan 0x1F
|
---|
40 | #define ROP_DPSnaa 0x20
|
---|
41 | #define ROP_SDPxon 0x21
|
---|
42 | #define ROP_DSna 0x22
|
---|
43 | #define ROP_SPDnaon 0x23
|
---|
44 | #define ROP_SPxDSxa 0x24
|
---|
45 | #define ROP_PDSPanaxn 0x25
|
---|
46 | #define ROP_SDPSaox 0x26
|
---|
47 | #define ROP_SDPSxnox 0x27
|
---|
48 | #define ROP_DPSxa 0x28
|
---|
49 | #define ROP_PSDPSaoxxn 0x29
|
---|
50 | #define ROP_DPSana 0x2A
|
---|
51 | #define ROP_SSPxPDxaxn 0x2B
|
---|
52 | #define ROP_SPDSoax 0x2C
|
---|
53 | #define ROP_PSDnox 0x2D
|
---|
54 | #define ROP_PSDPxox 0x2E
|
---|
55 | #define ROP_PSDnoan 0x2F
|
---|
56 | #define ROP_PSna 0x30
|
---|
57 | #define ROP_SDPnaon 0x31
|
---|
58 | #define ROP_SDPSoox 0x32
|
---|
59 | #define ROP_Sn 0x33
|
---|
60 | #define ROP_SPDSaox 0x34
|
---|
61 | #define ROP_SPDSxnox 0x35
|
---|
62 | #define ROP_SDPox 0x36
|
---|
63 | #define ROP_SDPoan 0x37
|
---|
64 | #define ROP_PSDPoax 0x38
|
---|
65 | #define ROP_SPDnox 0x39
|
---|
66 | #define ROP_SPDSxox 0x3A
|
---|
67 | #define ROP_SPDnoan 0x3B
|
---|
68 | #define ROP_PSx 0x3C
|
---|
69 | #define ROP_SPDSonox 0x3D
|
---|
70 | #define ROP_SPDSnaox 0x3E
|
---|
71 | #define ROP_PSan 0x3F
|
---|
72 | #define ROP_PSDnaa 0x40
|
---|
73 | #define ROP_DPSxon 0x41
|
---|
74 | #define ROP_SDxPDxa 0x42
|
---|
75 | #define ROP_SPDSanaxn 0x43
|
---|
76 | #define ROP_SDna 0x44
|
---|
77 | #define ROP_DPSnaon 0x45
|
---|
78 | #define ROP_DSPDaox 0x46
|
---|
79 | #define ROP_PSDPxaxn 0x47
|
---|
80 | #define ROP_SDPxa 0x48
|
---|
81 | #define ROP_PDSPDaoxxn 0x49
|
---|
82 | #define ROP_DPSDoax 0x4A
|
---|
83 | #define ROP_PDSnox 0x4B
|
---|
84 | #define ROP_SDPana 0x4C
|
---|
85 | #define ROP_SSPxDSxoxn 0x4D
|
---|
86 | #define ROP_PDSPxox 0x4E
|
---|
87 | #define ROP_PDSnoan 0x4F
|
---|
88 | #define ROP_PDna 0x50
|
---|
89 | #define ROP_DSPnaon 0x51
|
---|
90 | #define ROP_DPSDaox 0x52
|
---|
91 | #define ROP_SPDSxaxn 0x53
|
---|
92 | #define ROP_DPSonon 0x54
|
---|
93 | #define ROP_Dn 0x55
|
---|
94 | #define ROP_DPSox 0x56
|
---|
95 | #define ROP_DPSoan 0x57
|
---|
96 | #define ROP_PDSPoax 0x58
|
---|
97 | #define ROP_DPSnox 0x59
|
---|
98 | #define ROP_DPx 0x5A
|
---|
99 | #define ROP_DPSDonox 0x5B
|
---|
100 | #define ROP_DPSDxox 0x5C
|
---|
101 | #define ROP_DPSnoan 0x5D
|
---|
102 | #define ROP_DPSDnaox 0x5E
|
---|
103 | #define ROP_DPan 0x5F
|
---|
104 | #define ROP_PDSxa 0x60
|
---|
105 | #define ROP_DSPDSaoxxn 0x61
|
---|
106 | #define ROP_DSPDoax 0x62
|
---|
107 | #define ROP_SDPnox 0x63
|
---|
108 | #define ROP_SDPSoax 0x64
|
---|
109 | #define ROP_DSPnox 0x65
|
---|
110 | #define ROP_DSx 0x66
|
---|
111 | #define ROP_SDPSonox 0x67
|
---|
112 | #define ROP_DSPDSonoxxn 0x68
|
---|
113 | #define ROP_PDSxxn 0x69
|
---|
114 | #define ROP_DPSax 0x6A
|
---|
115 | #define ROP_PSDPSoaxxn 0x6B
|
---|
116 | #define ROP_SDPax 0x6C
|
---|
117 | #define ROP_PDSPDoaxxn 0x6D
|
---|
118 | #define ROP_SDPSnoax 0x6E
|
---|
119 | #define ROP_PDSxnan 0x6F
|
---|
120 | #define ROP_PDSana 0x70
|
---|
121 | #define ROP_SSDxPDxaxn 0x71
|
---|
122 | #define ROP_SDPSxox 0x72
|
---|
123 | #define ROP_SDPnoan 0x73
|
---|
124 | #define ROP_DSPDxox 0x74
|
---|
125 | #define ROP_DSPnoan 0x75
|
---|
126 | #define ROP_SDPSnaox 0x76
|
---|
127 | #define ROP_DSan 0x77
|
---|
128 | #define ROP_PDSax 0x78
|
---|
129 | #define ROP_DSPDSoaxxn 0x79
|
---|
130 | #define ROP_DPSDnoax 0x7A
|
---|
131 | #define ROP_SDPxnan 0x7B
|
---|
132 | #define ROP_SPDSnoax 0x7C
|
---|
133 | #define ROP_DPSxnan 0x7D
|
---|
134 | #define ROP_SPxDSxo 0x7E
|
---|
135 | #define ROP_DPSaan 0x7F
|
---|
136 | #define ROP_DPSaa 0x80
|
---|
137 | #define ROP_SPxDSxon 0x81
|
---|
138 | #define ROP_DPSxna 0x82
|
---|
139 | #define ROP_SPDSnoaxn 0x83
|
---|
140 | #define ROP_SDPxna 0x84
|
---|
141 | #define ROP_PDSPnoaxn 0x85
|
---|
142 | #define ROP_DSPDSoaxx 0x86
|
---|
143 | #define ROP_PDSaxn 0x87
|
---|
144 | #define ROP_DSa 0x88
|
---|
145 | #define ROP_SDPSnaoxn 0x89
|
---|
146 | #define ROP_DSPnoa 0x8A
|
---|
147 | #define ROP_DSPDxoxn 0x8B
|
---|
148 | #define ROP_SDPnoa 0x8C
|
---|
149 | #define ROP_SDPSxoxn 0x8D
|
---|
150 | #define ROP_SSDxPDxax 0x8E
|
---|
151 | #define ROP_PDSanan 0x8F
|
---|
152 | #define ROP_PDSxna 0x90
|
---|
153 | #define ROP_SDPSnoaxn 0x91
|
---|
154 | #define ROP_DPSDPoaxx 0x92
|
---|
155 | #define ROP_SPDaxn 0x93
|
---|
156 | #define ROP_PSDPSoaxx 0x94
|
---|
157 | #define ROP_DPSaxn 0x95
|
---|
158 | #define ROP_DPSxx 0x96
|
---|
159 | #define ROP_PSDPSonoxx 0x97
|
---|
160 | #define ROP_SDPSonoxn 0x98
|
---|
161 | #define ROP_DSxn 0x99
|
---|
162 | #define ROP_DPSnax 0x9A
|
---|
163 | #define ROP_SDPSoaxn 0x9B
|
---|
164 | #define ROP_SPDnax 0x9C
|
---|
165 | #define ROP_DSPDoaxn 0x9D
|
---|
166 | #define ROP_DSPDSaoxx 0x9E
|
---|
167 | #define ROP_PDSxan 0x9F
|
---|
168 | #define ROP_DPa 0xA0
|
---|
169 | #define ROP_PDSPnaoxn 0xA1
|
---|
170 | #define ROP_DPSnoa 0xA2
|
---|
171 | #define ROP_DPSDxoxn 0xA3
|
---|
172 | #define ROP_PDSPonoxn 0xA4
|
---|
173 | #define ROP_PDxn 0xA5
|
---|
174 | #define ROP_DSPnax 0xA6
|
---|
175 | #define ROP_PDSPoaxn 0xA7
|
---|
176 | #define ROP_DPSoa 0xA8
|
---|
177 | #define ROP_DPSoxn 0xA9
|
---|
178 | #define ROP_D 0xAA
|
---|
179 | #define ROP_DPSono 0xAB
|
---|
180 | #define ROP_SPDSxax 0xAC
|
---|
181 | #define ROP_DPSDaoxn 0xAD
|
---|
182 | #define ROP_DSPnao 0xAE
|
---|
183 | #define ROP_DPno 0xAF
|
---|
184 | #define ROP_PDSnoa 0xB0
|
---|
185 | #define ROP_PDSPxoxn 0xB1
|
---|
186 | #define ROP_SSPxDSxox 0xB2
|
---|
187 | #define ROP_SDPanan 0xB3
|
---|
188 | #define ROP_PSDnax 0xB4
|
---|
189 | #define ROP_DPSDoaxn 0xB5
|
---|
190 | #define ROP_DPSDPaoxx 0xB6
|
---|
191 | #define ROP_SDPxan 0xB7
|
---|
192 | #define ROP_PSDPxax 0xB8
|
---|
193 | #define ROP_DSPDaoxn 0xB9
|
---|
194 | #define ROP_DPSnao 0xBA
|
---|
195 | #define ROP_DSno 0xBB
|
---|
196 | #define ROP_SPDSanax 0xBC
|
---|
197 | #define ROP_SDxPDxan 0xBD
|
---|
198 | #define ROP_DPSxo 0xBE
|
---|
199 | #define ROP_DPSano 0xBF
|
---|
200 | #define ROP_Psa 0xC0
|
---|
201 | #define ROP_SPDSnaoxn 0xC1
|
---|
202 | #define ROP_SPDSonoxn 0xC2
|
---|
203 | #define ROP_PSxn 0xC3
|
---|
204 | #define ROP_SPDnoa 0xC4
|
---|
205 | #define ROP_SPDSxoxn 0xC5
|
---|
206 | #define ROP_SDPnax 0xC6
|
---|
207 | #define ROP_PSDPoaxn 0xC7
|
---|
208 | #define ROP_SDPoa 0xC8
|
---|
209 | #define ROP_SPDoxn 0xC9
|
---|
210 | #define ROP_DPSDxax 0xCA
|
---|
211 | #define ROP_SPDSaoxn 0xCB
|
---|
212 | #define ROP_S 0xCC
|
---|
213 | #define ROP_SDPono 0xCD
|
---|
214 | #define ROP_SDPnao 0xCE
|
---|
215 | #define ROP_SPno 0xCF
|
---|
216 | #define ROP_PSDnoa 0xD0
|
---|
217 | #define ROP_PSDPxoxn 0xD1
|
---|
218 | #define ROP_PDSnax 0xD2
|
---|
219 | #define ROP_SPDSoaxn 0xD3
|
---|
220 | #define ROP_SSPxPDxax 0xD4
|
---|
221 | #define ROP_DPSanan 0xD5
|
---|
222 | #define ROP_PSDPSaoxx 0xD6
|
---|
223 | #define ROP_DPSxan 0xD7
|
---|
224 | #define ROP_PDSPxax 0xD8
|
---|
225 | #define ROP_SDPSaoxn 0xD9
|
---|
226 | #define ROP_DPSDanax 0xDA
|
---|
227 | #define ROP_SPxDSxan 0xDB
|
---|
228 | #define ROP_SPDnao 0xDC
|
---|
229 | #define ROP_SDno 0xDD
|
---|
230 | #define ROP_SDPxo 0xDE
|
---|
231 | #define ROP_SDPano 0xDF
|
---|
232 | #define ROP_PDSoa 0xE0
|
---|
233 | #define ROP_PDSoxn 0xE1
|
---|
234 | #define ROP_DSPDxax 0xE2
|
---|
235 | #define ROP_PSDPaoxn 0xE3
|
---|
236 | #define ROP_SDPSxax 0xE4
|
---|
237 | #define ROP_PDSPaoxn 0xE5
|
---|
238 | #define ROP_SDPSanax 0xE6
|
---|
239 | #define ROP_SPxPDxan 0xE7
|
---|
240 | #define ROP_SSPxDSxax 0xE8
|
---|
241 | #define ROP_DSPDSanaxxn 0xE9
|
---|
242 | #define ROP_DPSao 0xEA
|
---|
243 | #define ROP_DPSxno 0xEB
|
---|
244 | #define ROP_SDPao 0xEC
|
---|
245 | #define ROP_SDPxno 0xED
|
---|
246 | #define ROP_DSo 0xEE
|
---|
247 | #define ROP_SDPnoo 0xEF
|
---|
248 | #define ROP_P 0xF0
|
---|
249 | #define ROP_PDSono 0xF1
|
---|
250 | #define ROP_PDSnao 0xF2
|
---|
251 | #define ROP_PSno 0xF3
|
---|
252 | #define ROP_PSDnao 0xF4
|
---|
253 | #define ROP_PDno 0xF5
|
---|
254 | #define ROP_PDSxo 0xF6
|
---|
255 | #define ROP_PDSano 0xF7
|
---|
256 | #define ROP_PDSao 0xF8
|
---|
257 | #define ROP_PDSxno 0xF9
|
---|
258 | #define ROP_DPo 0xFA
|
---|
259 | #define ROP_DPSnoo 0xFB
|
---|
260 | #define ROP_PSo 0xFC
|
---|
261 | #define ROP_PSDnoo 0xFD
|
---|
262 | #define ROP_DPSoo 0xFE
|
---|
263 | #define ROP_1 0xFF
|
---|
264 |
|
---|
265 | #define NO_SRC_ROP(rop) \
|
---|
266 | ((rop == GXnoop) || (rop == GXset) || (rop == GXclear) || (rop == GXinvert))
|
---|
267 |
|
---|
268 | #endif /* _XAAROP_H */
|
---|