:pserver:cvsanon@mok.lvcm.com:/CVS/ReactOS reactos
[reactos.git] / drivers / dd / vga / display / objects / bitblt.h
1 /// Define the A vector polynomial bits
2 // Each bit corresponds to one of the terms in the polynomial
3 //
4 // Rop(D,S,P) = a + a D + a S + a P + a  DS + a  DP + a  SP + a   DSP
5 //               0   d     s     p     ds      dp      sp      dsp
6
7 #define AVEC_NOT    0x01
8 #define AVEC_D      0x02
9 #define AVEC_S      0x04
10 #define AVEC_P      0x08
11 #define AVEC_DS     0x10
12 #define AVEC_DP     0x20
13 #define AVEC_SP     0x40
14 #define AVEC_DSP    0x80
15
16 #define AVEC_NEED_SOURCE  (AVEC_S | AVEC_DS | AVEC_SP | AVEC_DSP)
17 #define AVEC_NEED_PATTERN (AVEC_P | AVEC_DP | AVEC_SP | AVEC_DSP)
18
19 #define BB_TARGET_SCREEN 0x0001
20 #define BB_TARGET_ONLY   0x0002
21 #define BB_SOURCE_COPY   0x0004
22 #define BB_PATTERN_COPY  0x0008