VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.0.1/fbmmx.h@ 67129

最後變更 在這個檔案從67129是 51223,由 vboxsync 提交於 11 年 前

Additions/x11/x11include: added header files for X.Org Server 1.0 and 1.1.

  • 屬性 svn:eol-style 設為 native
檔案大小: 6.0 KB
 
1/*
2 * Copyright © 2004 Red Hat, Inc.
3 * Copyright © 2005 Trolltech AS
4 *
5 * Permission to use, copy, modify, distribute, and sell this software and its
6 * documentation for any purpose is hereby granted without fee, provided that
7 * the above copyright notice appear in all copies and that both that
8 * copyright notice and this permission notice appear in supporting
9 * documentation, and that the name of Red Hat not be used in advertising or
10 * publicity pertaining to distribution of the software without specific,
11 * written prior permission. Red Hat makes no representations about the
12 * suitability of this software for any purpose. It is provided "as is"
13 * without express or implied warranty.
14 *
15 * THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
16 * SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
17 * FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY
18 * SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
19 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
20 * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
21 * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
22 * SOFTWARE.
23 *
24 * Author: Søren Sandmann ([email protected])
25 * Lars Knoll ([email protected])
26 *
27 * Based on work by Owen Taylor
28 */
29#ifdef HAVE_DIX_CONFIG_H
30#include <dix-config.h>
31#endif
32
33#ifdef USE_MMX
34
35#if !defined(__amd64__) && !defined(__x86_64__)
36Bool fbHaveMMX(void);
37#else
38#define fbHaveMMX() TRUE
39#endif
40
41#else
42#define fbHaveMMX() FALSE
43#endif
44
45#ifdef USE_MMX
46
47void fbComposeSetupMMX(void);
48
49void fbCompositeSolidMask_nx8888x0565Cmmx (CARD8 op,
50 PicturePtr pSrc,
51 PicturePtr pMask,
52 PicturePtr pDst,
53 INT16 xSrc,
54 INT16 ySrc,
55 INT16 xMask,
56 INT16 yMask,
57 INT16 xDst,
58 INT16 yDst,
59 CARD16 width,
60 CARD16 height);
61void fbCompositeSrcAdd_8888x8888mmx (CARD8 op,
62 PicturePtr pSrc,
63 PicturePtr pMask,
64 PicturePtr pDst,
65 INT16 xSrc,
66 INT16 ySrc,
67 INT16 xMask,
68 INT16 yMask,
69 INT16 xDst,
70 INT16 yDst,
71 CARD16 width,
72 CARD16 height);
73void fbCompositeSrc_8888x8888mmx (CARD8 op,
74 PicturePtr pSrc,
75 PicturePtr pMask,
76 PicturePtr pDst,
77 INT16 xSrc,
78 INT16 ySrc,
79 INT16 xMask,
80 INT16 yMask,
81 INT16 xDst,
82 INT16 yDst,
83 CARD16 width,
84 CARD16 height);
85void fbCompositeSolidMask_nx8888x8888Cmmx (CARD8 op,
86 PicturePtr pSrc,
87 PicturePtr pMask,
88 PicturePtr pDst,
89 INT16 xSrc,
90 INT16 ySrc,
91 INT16 xMask,
92 INT16 yMask,
93 INT16 xDst,
94 INT16 yDst,
95 CARD16 width,
96 CARD16 height);
97void fbCompositeSolidMask_nx8x8888mmx (CARD8 op,
98 PicturePtr pSrc,
99 PicturePtr pMask,
100 PicturePtr pDst,
101 INT16 xSrc,
102 INT16 ySrc,
103 INT16 xMask,
104 INT16 yMask,
105 INT16 xDst,
106 INT16 yDst,
107 CARD16 width,
108 CARD16 height);
109void fbCompositeSrcAdd_8000x8000mmx (CARD8 op,
110 PicturePtr pSrc,
111 PicturePtr pMask,
112 PicturePtr pDst,
113 INT16 xSrc,
114 INT16 ySrc,
115 INT16 xMask,
116 INT16 yMask,
117 INT16 xDst,
118 INT16 yDst,
119 CARD16 width,
120 CARD16 height);
121void fbCompositeSrc_8888RevNPx8888mmx (CARD8 op,
122 PicturePtr pSrc,
123 PicturePtr pMask,
124 PicturePtr pDst,
125 INT16 xSrc,
126 INT16 ySrc,
127 INT16 xMask,
128 INT16 yMask,
129 INT16 xDst,
130 INT16 yDst,
131 CARD16 width,
132 CARD16 height);
133void fbCompositeSrc_8888RevNPx0565mmx (CARD8 op,
134 PicturePtr pSrc,
135 PicturePtr pMask,
136 PicturePtr pDst,
137 INT16 xSrc,
138 INT16 ySrc,
139 INT16 xMask,
140 INT16 yMask,
141 INT16 xDst,
142 INT16 yDst,
143 CARD16 width,
144 CARD16 height);
145void fbCompositeSolid_nx8888mmx (CARD8 op,
146 PicturePtr pSrc,
147 PicturePtr pMask,
148 PicturePtr pDst,
149 INT16 xSrc,
150 INT16 ySrc,
151 INT16 xMask,
152 INT16 yMask,
153 INT16 xDst,
154 INT16 yDst,
155 CARD16 width,
156 CARD16 height);
157void fbCompositeSolid_nx0565mmx (CARD8 op,
158 PicturePtr pSrc,
159 PicturePtr pMask,
160 PicturePtr pDst,
161 INT16 xSrc,
162 INT16 ySrc,
163 INT16 xMask,
164 INT16 yMask,
165 INT16 xDst,
166 INT16 yDst,
167 CARD16 width,
168 CARD16 height);
169void fbCompositeSolidMask_nx8x0565mmx (CARD8 op,
170 PicturePtr pSrc,
171 PicturePtr pMask,
172 PicturePtr pDst,
173 INT16 xSrc,
174 INT16 ySrc,
175 INT16 xMask,
176 INT16 yMask,
177 INT16 xDst,
178 INT16 yDst,
179 CARD16 width,
180 CARD16 height);
181void fbCompositeSrc_8888x8x8888mmx (CARD8 op,
182 PicturePtr pSrc,
183 PicturePtr pMask,
184 PicturePtr pDst,
185 INT16 xSrc,
186 INT16 ySrc,
187 INT16 xMask,
188 INT16 yMask,
189 INT16 xDst,
190 INT16 yDst,
191 CARD16 width,
192 CARD16 height);
193Bool fbCopyAreammx (DrawablePtr pSrc,
194 DrawablePtr pDst,
195 int src_x,
196 int src_y,
197 int dst_x,
198 int dst_y,
199 int width,
200 int height);
201void fbCompositeCopyAreammx (CARD8 op,
202 PicturePtr pSrc,
203 PicturePtr pMask,
204 PicturePtr pDst,
205 INT16 xSrc,
206 INT16 ySrc,
207 INT16 xMask,
208 INT16 yMask,
209 INT16 xDst,
210 INT16 yDst,
211 CARD16 width,
212 CARD16 height);
213Bool fbSolidFillmmx (DrawablePtr pDraw,
214 int x,
215 int y,
216 int width,
217 int height,
218 FbBits xor);
219
220#endif /* USE_MMX */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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