VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.3.0.0/rlAccel.h@ 86603

Last change on this file since 86603 was 25078, checked in by vboxsync, 15 years ago

Additions/x11/x11include: exported and set eol-style on new headers

  • Property svn:eol-style set to native
File size: 3.0 KB
Line 
1/*
2 * Rootless Acceleration Code
3 */
4/*
5 * Copyright (c) 2003 Torrey T. Lyons. All Rights Reserved.
6 *
7 * Permission is hereby granted, free of charge, to any person obtaining a
8 * copy of this software and associated documentation files (the "Software"),
9 * to deal in the Software without restriction, including without limitation
10 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
11 * and/or sell copies of the Software, and to permit persons to whom the
12 * Software is furnished to do so, subject to the following conditions:
13 *
14 * The above copyright notice and this permission notice shall be included in
15 * all copies or substantial portions of the Software.
16 *
17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
20 * THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
21 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
22 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23 * DEALINGS IN THE SOFTWARE.
24 *
25 * Except as contained in this notice, the name(s) of the above copyright
26 * holders shall not be used in advertising or otherwise to promote the sale,
27 * use or other dealings in this Software without prior written authorization.
28 */
29
30#ifdef HAVE_DIX_CONFIG_H
31#include <dix-config.h>
32#endif
33
34#include "fb.h"
35
36/*
37 * rlBlt.c
38 */
39void
40rlBlt (FbBits *srcLine,
41 FbStride srcStride,
42 int srcX,
43
44 ScreenPtr pDstScreen,
45 FbBits *dstLine,
46 FbStride dstStride,
47 int dstX,
48
49 int width,
50 int height,
51
52 int alu,
53 FbBits pm,
54 int bpp,
55
56 Bool reverse,
57 Bool upsidedown);
58
59/*
60 * rlCopy.c
61 */
62RegionPtr
63rlCopyArea (DrawablePtr pSrcDrawable,
64 DrawablePtr pDstDrawable,
65 GCPtr pGC,
66 int xIn,
67 int yIn,
68 int widthSrc,
69 int heightSrc,
70 int xOut,
71 int yOut);
72
73/*
74 * rlFill.c
75 */
76void
77rlFill (DrawablePtr pDrawable,
78 GCPtr pGC,
79 int x,
80 int y,
81 int width,
82 int height);
83
84void
85rlSolidBoxClipped (DrawablePtr pDrawable,
86 RegionPtr pClip,
87 int x1,
88 int y1,
89 int x2,
90 int y2,
91 FbBits and,
92 FbBits xor);
93
94/*
95 * rlFillRect.c
96 */
97void
98rlPolyFillRect(DrawablePtr pDrawable,
99 GCPtr pGC,
100 int nrect,
101 xRectangle *prect);
102
103/*
104 * rlFillSpans.c
105 */
106void
107rlFillSpans (DrawablePtr pDrawable,
108 GCPtr pGC,
109 int n,
110 DDXPointPtr ppt,
111 int *pwidth,
112 int fSorted);
113
114/*
115 * rlGlyph.c
116 */
117void
118rlImageGlyphBlt (DrawablePtr pDrawable,
119 GCPtr pGC,
120 int x,
121 int y,
122 unsigned int nglyph,
123 CharInfoPtr *ppciInit,
124 pointer pglyphBase);
125
126/*
127 * rlSolid.c
128 */
129void
130rlSolid (ScreenPtr pScreen,
131 FbBits *dst,
132 FbStride dstStride,
133 int dstX,
134 int bpp,
135
136 int width,
137 int height,
138
139 FbBits and,
140 FbBits xor);
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