2
* Copyright ĆĀ© 2007 Luca Barbato
4
* Permission to use, copy, modify, distribute, and sell this software and its
5
* documentation for any purpose is hereby granted without fee, provided that
6
* the above copyright notice appear in all copies and that both that
7
* copyright notice and this permission notice appear in supporting
8
* documentation, and that the name of Luca Barbato not be used in advertising or
9
* publicity pertaining to distribution of the software without specific,
10
* written prior permission. Luca Barbato makes no representations about the
11
* suitability of this software for any purpose. It is provided "as is"
12
* without express or implied warranty.
14
* THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
15
* SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
16
* FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY
17
* SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
18
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
19
* AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
20
* OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
23
* Author: Luca Barbato (lu_zero@gentoo.org)
25
* Based on work by Owen Taylor, SĆøren Sandmann and Lars Knoll
28
#include "pixman-private.h"
32
pixman_bool_t pixman_have_vmx(void);
35
#define pixman_have_vmx() FALSE
42
void fbComposeSetupVMX (void);
45
void fbCompositeIn_nx8x8vmx (pixman_operator_t op,
46
pixman_image_t * pSrc,
47
pixman_image_t * pMask,
48
pixman_image_t * pDst,
58
void fbCompositeSolidMask_nx8888x0565Cvmx (pixman_operator_t op,
59
pixman_image_t * pSrc,
60
pixman_image_t * pMask,
61
pixman_image_t * pDst,
71
void fbCompositeSrcAdd_8888x8888vmx (pixman_operator_t op,
72
pixman_image_t * pSrc,
73
pixman_image_t * pMask,
74
pixman_image_t * pDst,
84
void fbCompositeSolidMask_nx8888x8888Cvmx (pixman_operator_t op,
85
pixman_image_t * pSrc,
86
pixman_image_t * pMask,
87
pixman_image_t * pDst,
97
void fbCompositeSolidMask_nx8x8888vmx (pixman_operator_t op,
98
pixman_image_t * pSrc,
99
pixman_image_t * pMask,
100
pixman_image_t * pDst,
110
void fbCompositeSolidMaskSrc_nx8x8888vmx (pixman_operator_t op,
111
pixman_image_t * pSrc,
112
pixman_image_t * pMask,
113
pixman_image_t * pDst,
123
void fbCompositeSrcAdd_8888x8x8vmx (pixman_operator_t op,
124
pixman_image_t * pSrc,
125
pixman_image_t * pMask,
126
pixman_image_t * pDst,
136
void fbCompositeIn_8x8vmx (pixman_operator_t op,
137
pixman_image_t * pSrc,
138
pixman_image_t * pMask,
139
pixman_image_t * pDst,
149
void fbCompositeSrcAdd_8000x8000vmx (pixman_operator_t op,
150
pixman_image_t * pSrc,
151
pixman_image_t * pMask,
152
pixman_image_t * pDst,
162
void fbCompositeSrc_8888RevNPx8888vmx (pixman_operator_t op,
163
pixman_image_t * pSrc,
164
pixman_image_t * pMask,
165
pixman_image_t * pDst,
175
void fbCompositeSrc_8888x0565vmx (pixman_operator_t op,
176
pixman_image_t * pSrc,
177
pixman_image_t * pMask,
178
pixman_image_t * pDst,
188
void fbCompositeSrc_8888RevNPx0565vmx (pixman_operator_t op,
189
pixman_image_t * pSrc,
190
pixman_image_t * pMask,
191
pixman_image_t * pDst,
201
void fbCompositeSolid_nx8888vmx (pixman_operator_t op,
202
pixman_image_t * pSrc,
203
pixman_image_t * pMask,
204
pixman_image_t * pDst,
214
void fbCompositeSolid_nx0565vmx (pixman_operator_t op,
215
pixman_image_t * pSrc,
216
pixman_image_t * pMask,
217
pixman_image_t * pDst,
227
void fbCompositeSolidMask_nx8x0565vmx (pixman_operator_t op,
228
pixman_image_t * pSrc,
229
pixman_image_t * pMask,
230
pixman_image_t * pDst,
240
void fbCompositeSrc_x888x8x8888vmx (pixman_operator_t op,
241
pixman_image_t * pSrc,
242
pixman_image_t * pMask,
243
pixman_image_t * pDst,
253
void fbCompositeSrc_8888x8x8888vmx (pixman_operator_t op,
254
pixman_image_t * pSrc,
255
pixman_image_t * pMask,
256
pixman_image_t * pDst,
266
void fbCompositeSrc_8888x8888vmx (pixman_operator_t op,
267
pixman_image_t * pSrc,
268
pixman_image_t * pMask,
269
pixman_image_t * pDst,
279
pixman_bool_t fbCopyAreavmx (FbPixels *pSrc,
288
void fbCompositeCopyAreavmx (pixman_operator_t op,
289
pixman_image_t * pSrc,
290
pixman_image_t * pMask,
291
pixman_image_t * pDst,
301
pixman_bool_t fbSolidFillvmx (FbPixels *pDraw,