VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm/VBoxDispDrawCmd.h@ 69498

Last change on this file since 69498 was 69498, checked in by vboxsync, 7 years ago

backed out r118835 as it incorrectly updated the 'This file is based on' file headers.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.5 KB
Line 
1/* $Id: VBoxDispDrawCmd.h 69498 2017-10-28 15:07:25Z vboxsync $ */
2/** @file
3 * VBox XPDM Display driver
4 */
5
6/*
7 * Copyright (C) 2011-2016 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 VBOXDISPDRAWCMD_H
19#define VBOXDISPDRAWCMD_H
20
21#define VBVA_DECL_OP(__fn, __args) \
22 void vbvaDrv##__fn __args; \
23 void vrdpDrv##__fn __args;
24
25VBVA_DECL_OP(BitBlt, ( \
26 SURFOBJ *psoTrg, \
27 SURFOBJ *psoSrc, \
28 SURFOBJ *psoMask, \
29 CLIPOBJ *pco, \
30 XLATEOBJ *pxlo, \
31 RECTL *prclTrg, \
32 POINTL *pptlSrc, \
33 POINTL *pptlMask, \
34 BRUSHOBJ *pbo, \
35 POINTL *pptlBrush, \
36 ROP4 rop4 \
37 ));
38
39VBVA_DECL_OP(TextOut, ( \
40 SURFOBJ *pso, \
41 STROBJ *pstro, \
42 FONTOBJ *pfo, \
43 CLIPOBJ *pco, \
44 RECTL *prclExtra, \
45 RECTL *prclOpaque, \
46 BRUSHOBJ *pboFore, \
47 BRUSHOBJ *pboOpaque, \
48 POINTL *pptlOrg, \
49 MIX mix \
50 ));
51
52VBVA_DECL_OP(LineTo, ( \
53 SURFOBJ *pso, \
54 CLIPOBJ *pco, \
55 BRUSHOBJ *pbo, \
56 LONG x1, \
57 LONG y1, \
58 LONG x2, \
59 LONG y2, \
60 RECTL *prclBounds, \
61 MIX mix \
62 ));
63
64VBVA_DECL_OP(StretchBlt, ( \
65 SURFOBJ *psoDest, \
66 SURFOBJ *psoSrc, \
67 SURFOBJ *psoMask, \
68 CLIPOBJ *pco, \
69 XLATEOBJ *pxlo, \
70 COLORADJUSTMENT *pca, \
71 POINTL *pptlHTOrg, \
72 RECTL *prclDest, \
73 RECTL *prclSrc, \
74 POINTL *pptlMask, \
75 ULONG iMode \
76 ));
77
78VBVA_DECL_OP(CopyBits, ( \
79 SURFOBJ *psoDest, \
80 SURFOBJ *psoSrc, \
81 CLIPOBJ *pco, \
82 XLATEOBJ *pxlo, \
83 RECTL *prclDest, \
84 POINTL *pptlSrc \
85 ));
86
87VBVA_DECL_OP(Paint, ( \
88 SURFOBJ *pso, \
89 CLIPOBJ *pco, \
90 BRUSHOBJ *pbo, \
91 POINTL *pptlBrushOrg, \
92 MIX mix \
93 ));
94
95VBVA_DECL_OP(FillPath, ( \
96 SURFOBJ *pso, \
97 PATHOBJ *ppo, \
98 CLIPOBJ *pco, \
99 BRUSHOBJ *pbo, \
100 POINTL *pptlBrushOrg, \
101 MIX mix, \
102 FLONG flOptions \
103 ));
104
105VBVA_DECL_OP(StrokePath, ( \
106 SURFOBJ *pso, \
107 PATHOBJ *ppo, \
108 CLIPOBJ *pco, \
109 XFORMOBJ *pxo, \
110 BRUSHOBJ *pbo, \
111 POINTL *pptlBrushOrg, \
112 LINEATTRS *plineattrs, \
113 MIX mix \
114 ));
115
116VBVA_DECL_OP(StrokeAndFillPath, ( \
117 SURFOBJ *pso, \
118 PATHOBJ *ppo, \
119 CLIPOBJ *pco, \
120 XFORMOBJ *pxo, \
121 BRUSHOBJ *pboStroke, \
122 LINEATTRS *plineattrs, \
123 BRUSHOBJ *pboFill, \
124 POINTL *pptlBrushOrg, \
125 MIX mixFill, \
126 FLONG flOptions \
127 ))
128
129VBVA_DECL_OP(SaveScreenBits, ( \
130 SURFOBJ *pso, \
131 ULONG iMode, \
132 ULONG_PTR ident, \
133 RECTL *prcl \
134 ))
135
136#undef VBVA_DECL_OP
137
138#endif /*VBOXDISPDRAWCMD_H*/
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette