1 | /* $Id: VBoxDispDrawCmd.h 93115 2022-01-01 11:31:46Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * VBox XPDM Display driver
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2011-2022 Oracle Corporation
|
---|
8 | *
|
---|
9 | * This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | * available from http://www.virtualbox.org. This file is free software;
|
---|
11 | * you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | * General Public License (GPL) as published by the Free Software
|
---|
13 | * Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | */
|
---|
17 |
|
---|
18 | #ifndef GA_INCLUDED_SRC_WINNT_Graphics_Video_disp_xpdm_VBoxDispDrawCmd_h
|
---|
19 | #define GA_INCLUDED_SRC_WINNT_Graphics_Video_disp_xpdm_VBoxDispDrawCmd_h
|
---|
20 | #ifndef RT_WITHOUT_PRAGMA_ONCE
|
---|
21 | # pragma once
|
---|
22 | #endif
|
---|
23 |
|
---|
24 | #define VBVA_DECL_OP(__fn, __args) \
|
---|
25 | void vbvaDrv##__fn __args; \
|
---|
26 | void vrdpDrv##__fn __args;
|
---|
27 |
|
---|
28 | VBVA_DECL_OP(BitBlt, ( \
|
---|
29 | SURFOBJ *psoTrg, \
|
---|
30 | SURFOBJ *psoSrc, \
|
---|
31 | SURFOBJ *psoMask, \
|
---|
32 | CLIPOBJ *pco, \
|
---|
33 | XLATEOBJ *pxlo, \
|
---|
34 | RECTL *prclTrg, \
|
---|
35 | POINTL *pptlSrc, \
|
---|
36 | POINTL *pptlMask, \
|
---|
37 | BRUSHOBJ *pbo, \
|
---|
38 | POINTL *pptlBrush, \
|
---|
39 | ROP4 rop4 \
|
---|
40 | ));
|
---|
41 |
|
---|
42 | VBVA_DECL_OP(TextOut, ( \
|
---|
43 | SURFOBJ *pso, \
|
---|
44 | STROBJ *pstro, \
|
---|
45 | FONTOBJ *pfo, \
|
---|
46 | CLIPOBJ *pco, \
|
---|
47 | RECTL *prclExtra, \
|
---|
48 | RECTL *prclOpaque, \
|
---|
49 | BRUSHOBJ *pboFore, \
|
---|
50 | BRUSHOBJ *pboOpaque, \
|
---|
51 | POINTL *pptlOrg, \
|
---|
52 | MIX mix \
|
---|
53 | ));
|
---|
54 |
|
---|
55 | VBVA_DECL_OP(LineTo, ( \
|
---|
56 | SURFOBJ *pso, \
|
---|
57 | CLIPOBJ *pco, \
|
---|
58 | BRUSHOBJ *pbo, \
|
---|
59 | LONG x1, \
|
---|
60 | LONG y1, \
|
---|
61 | LONG x2, \
|
---|
62 | LONG y2, \
|
---|
63 | RECTL *prclBounds, \
|
---|
64 | MIX mix \
|
---|
65 | ));
|
---|
66 |
|
---|
67 | VBVA_DECL_OP(StretchBlt, ( \
|
---|
68 | SURFOBJ *psoDest, \
|
---|
69 | SURFOBJ *psoSrc, \
|
---|
70 | SURFOBJ *psoMask, \
|
---|
71 | CLIPOBJ *pco, \
|
---|
72 | XLATEOBJ *pxlo, \
|
---|
73 | COLORADJUSTMENT *pca, \
|
---|
74 | POINTL *pptlHTOrg, \
|
---|
75 | RECTL *prclDest, \
|
---|
76 | RECTL *prclSrc, \
|
---|
77 | POINTL *pptlMask, \
|
---|
78 | ULONG iMode \
|
---|
79 | ));
|
---|
80 |
|
---|
81 | VBVA_DECL_OP(CopyBits, ( \
|
---|
82 | SURFOBJ *psoDest, \
|
---|
83 | SURFOBJ *psoSrc, \
|
---|
84 | CLIPOBJ *pco, \
|
---|
85 | XLATEOBJ *pxlo, \
|
---|
86 | RECTL *prclDest, \
|
---|
87 | POINTL *pptlSrc \
|
---|
88 | ));
|
---|
89 |
|
---|
90 | VBVA_DECL_OP(Paint, ( \
|
---|
91 | SURFOBJ *pso, \
|
---|
92 | CLIPOBJ *pco, \
|
---|
93 | BRUSHOBJ *pbo, \
|
---|
94 | POINTL *pptlBrushOrg, \
|
---|
95 | MIX mix \
|
---|
96 | ));
|
---|
97 |
|
---|
98 | VBVA_DECL_OP(FillPath, ( \
|
---|
99 | SURFOBJ *pso, \
|
---|
100 | PATHOBJ *ppo, \
|
---|
101 | CLIPOBJ *pco, \
|
---|
102 | BRUSHOBJ *pbo, \
|
---|
103 | POINTL *pptlBrushOrg, \
|
---|
104 | MIX mix, \
|
---|
105 | FLONG flOptions \
|
---|
106 | ));
|
---|
107 |
|
---|
108 | VBVA_DECL_OP(StrokePath, ( \
|
---|
109 | SURFOBJ *pso, \
|
---|
110 | PATHOBJ *ppo, \
|
---|
111 | CLIPOBJ *pco, \
|
---|
112 | XFORMOBJ *pxo, \
|
---|
113 | BRUSHOBJ *pbo, \
|
---|
114 | POINTL *pptlBrushOrg, \
|
---|
115 | LINEATTRS *plineattrs, \
|
---|
116 | MIX mix \
|
---|
117 | ));
|
---|
118 |
|
---|
119 | VBVA_DECL_OP(StrokeAndFillPath, ( \
|
---|
120 | SURFOBJ *pso, \
|
---|
121 | PATHOBJ *ppo, \
|
---|
122 | CLIPOBJ *pco, \
|
---|
123 | XFORMOBJ *pxo, \
|
---|
124 | BRUSHOBJ *pboStroke, \
|
---|
125 | LINEATTRS *plineattrs, \
|
---|
126 | BRUSHOBJ *pboFill, \
|
---|
127 | POINTL *pptlBrushOrg, \
|
---|
128 | MIX mixFill, \
|
---|
129 | FLONG flOptions \
|
---|
130 | ))
|
---|
131 |
|
---|
132 | VBVA_DECL_OP(SaveScreenBits, ( \
|
---|
133 | SURFOBJ *pso, \
|
---|
134 | ULONG iMode, \
|
---|
135 | ULONG_PTR ident, \
|
---|
136 | RECTL *prcl \
|
---|
137 | ))
|
---|
138 |
|
---|
139 | #undef VBVA_DECL_OP
|
---|
140 |
|
---|
141 | #endif /* !GA_INCLUDED_SRC_WINNT_Graphics_Video_disp_xpdm_VBoxDispDrawCmd_h */
|
---|