VirtualBox

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

Last change on this file since 42518 was 36867, checked in by vboxsync, 14 years ago

Additions/Video: display/miniport drivers

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