Debian Codegraph @

src/uxa/uxa-priv.h

raw symbols SCIP
1 /*
2 *
3 * Copyright © 2000,2008 Keith Packard
4 * 2005 Zack Rusin, Trolltech
5 *
6 * Permission to use, copy, modify, distribute, and sell this software and its
7 * documentation for any purpose is hereby granted without fee, provided that
8 * the above copyright notice appear in all copies and that both that
9 * copyright notice and this permission notice appear in supporting
10 * documentation, and that the name of Keith Packard not be used in
11 * advertising or publicity pertaining to distribution of the software without
12 * specific, written prior permission. Keith Packard makes no
13 * representations about the suitability of this software for any purpose. It
14 * is provided "as is" without express or implied warranty.
15 *
16 * THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
17 * SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
18 * FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY
19 * SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
20 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
21 * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
22 * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
23 * SOFTWARE.
24 */
25
26 #ifndef UXAPRIV_H
27 #define UXAPRIV_Hcxx . . $ `src/uxa/uxa-priv.h:27:9`!
28
29 #ifdef HAVE_CONFIG_Hcxx . . $ `<built-in>:410:9`!
30 #include <config.h>cxx . . $ `<file>/config.h`/
31 #endif
32 #ifdef HAVE_DIX_CONFIG_H
33 #include <dix-config.h>
34 #else
35 #include <xorg-server.h>
36 #endif
37 #include "xf86.h"
38
39 #include "uxa.h"cxx . . $ `<file>/src/uxa/uxa.h`/
40
41 #include <X11/X.h>
42 #include <X11/Xproto.h>
43 #include "scrnintstr.h"
44 #include "pixmapstr.h"
45 #include "windowstr.h"
46 #include "servermd.h"
47 #include "colormapst.h"
48 #include "gcstruct.h"
49 #include "input.h"
50 #include "mipointer.h"
51 #include "mi.h"
52 #include "dix.h"
53 #include "fb.h"
54 #include "fboverlay.h"
55 #ifdef RENDERcxx . . $ `<external>/9559255664802066005/xorg-server.h:85:9`!
56 #include "fbpict.h"
57 #include "glyphstr.h"
58 #endif
59 #include "damage.h"
60
61 #include "../src/compat-api.h"cxx . . $ `<file>/src/compat-api.h`/
62
63 /* Provide substitutes for gcc's __FUNCTION__ on other compilers */
64 #if !defined(__GNUC__cxx . . $ `<built-in>:8:9`!) && !defined(__FUNCTION__)
65 # if defined(__STDC__) && (__STDC_VERSION__>=199901L) /* C99 */
66 # define __FUNCTION__ __func__
67 # else
68 # define __FUNCTION__ ""
69 # endif
70 #endif
71
72 /* 1.6 and earlier server compat */
73 #ifndef miGetCompositeClipcxx . . $ `<external>/10274615490550236655/mi.h:130:9`!
74 #define miCopyRegion fbCopyRegion
75 #define miDoCopy fbDoCopy
76 #endif
77
78 #define DEBUG_MIGRATEcxx . . $ `src/uxa/uxa-priv.h:78:9`! 0
79 #define DEBUG_PIXMAPcxx . . $ `src/uxa/uxa-priv.h:79:9`! 0
80 #define DEBUG_OFFSCREENcxx . . $ `src/uxa/uxa-priv.h:80:9`! 0
81 #define DEBUG_GLYPH_CACHEcxx . . $ `src/uxa/uxa-priv.h:81:9`! 0
82
83 #define UXA_FALLBACKcxx . . $ `src/uxa/uxa-priv.h:83:9`!(x) \
84 if (uxa_get_screen(screen)->fallback_debug) { \
85 ErrorF("UXA fallback at %s: ", __FUNCTION__); \
86 ErrorF x; \
87 }
88
89 char uxa_drawable_locationcxx . . $ uxa_drawable_location(c21d90fb54bd4ce0).(DrawablePtrcxx . . $ DrawablePtr# pDrawable);
90
91 #if DEBUG_PIXMAPcxx . . $ `src/uxa/uxa-priv.h:79:9`!
92 #define DBG_PIXMAP(a) ErrorF a
93 #else
94 #define DBG_PIXMAPcxx . . $ `src/uxa/uxa-priv.h:94:9`!(a)
95 #endif
96
97 typedef structcxx . . $ $anonymous_type_38e0ee3db9adc002_0# {
98 PicturePtrcxx . . $ PicturePtr# picturecxx . . $ $anonymous_type_38e0ee3db9adc002_0#picture.; /* Where the glyphs of the cache are stored */
99 GlyphPtrcxx . . $ GlyphPtr# *glyphscxx . . $ $anonymous_type_38e0ee3db9adc002_0#glyphs.;
100 uint16_tcxx . . $ uint16_t# countcxx . . $ $anonymous_type_38e0ee3db9adc002_0#count.;
101 uint16_tcxx . . $ uint16_t# evictcxx . . $ $anonymous_type_38e0ee3db9adc002_0#evict.;
102 } uxa_glyph_cache_tcxx . . $ uxa_glyph_cache_t#;
103
104 #define UXA_NUM_GLYPH_CACHE_FORMATScxx . . $ `src/uxa/uxa-priv.h:104:9`! 2
105
106 typedef structcxx . . $ $anonymous_type_38e0ee3db9adc002_1# {
107 uint32_tcxx . . $ uint32_t# colorcxx . . $ $anonymous_type_38e0ee3db9adc002_1#color.;
108 PicturePtrcxx . . $ PicturePtr# picturecxx . . $ $anonymous_type_38e0ee3db9adc002_1#picture.;
109 } uxa_solid_cache_tcxx . . $ uxa_solid_cache_t#;
110
111 #define UXA_NUM_SOLID_CACHEcxx . . $ `src/uxa/uxa-priv.h:111:9`! 16
112
113 typedef void (*EnableDisableFBAccessProcPtrcxx . . $ EnableDisableFBAccessProcPtr#) (int, Boolcxx . . $ Bool#);
114 typedef structcxx . . $ $anonymous_type_38e0ee3db9adc002_2# {
115 uxa_driver_tcxx . . $ uxa_driver_t# *infocxx . . $ $anonymous_type_38e0ee3db9adc002_2#info.;
116 CreateGCProcPtrcxx . . $ CreateGCProcPtr# SavedCreateGCcxx . . $ $anonymous_type_38e0ee3db9adc002_2#SavedCreateGC.;
117 CloseScreenProcPtrcxx . . $ CloseScreenProcPtr# SavedCloseScreencxx . . $ $anonymous_type_38e0ee3db9adc002_2#SavedCloseScreen.;
118 GetImageProcPtrcxx . . $ GetImageProcPtr# SavedGetImagecxx . . $ $anonymous_type_38e0ee3db9adc002_2#SavedGetImage.;
119 GetSpansProcPtrcxx . . $ GetSpansProcPtr# SavedGetSpanscxx . . $ $anonymous_type_38e0ee3db9adc002_2#SavedGetSpans.;
120 CreatePixmapProcPtrcxx . . $ CreatePixmapProcPtr# SavedCreatePixmapcxx . . $ $anonymous_type_38e0ee3db9adc002_2#SavedCreatePixmap.;
121 DestroyPixmapProcPtrcxx . . $ DestroyPixmapProcPtr# SavedDestroyPixmapcxx . . $ $anonymous_type_38e0ee3db9adc002_2#SavedDestroyPixmap.;
122 CopyWindowProcPtrcxx . . $ CopyWindowProcPtr# SavedCopyWindowcxx . . $ $anonymous_type_38e0ee3db9adc002_2#SavedCopyWindow.;
123 ChangeWindowAttributesProcPtrcxx . . $ ChangeWindowAttributesProcPtr# SavedChangeWindowAttributescxx . . $ $anonymous_type_38e0ee3db9adc002_2#SavedChangeWindowAttributes.;
124 BitmapToRegionProcPtrcxx . . $ BitmapToRegionProcPtr# SavedBitmapToRegioncxx . . $ $anonymous_type_38e0ee3db9adc002_2#SavedBitmapToRegion.;
125 #ifdef RENDERcxx . . $ `<external>/9559255664802066005/xorg-server.h:85:9`!
126 CompositeProcPtrcxx . . $ CompositeProcPtr# SavedCompositecxx . . $ $anonymous_type_38e0ee3db9adc002_2#SavedComposite.;
127 TrianglesProcPtrcxx . . $ TrianglesProcPtr# SavedTrianglescxx . . $ $anonymous_type_38e0ee3db9adc002_2#SavedTriangles.;
128 GlyphsProcPtrcxx . . $ GlyphsProcPtr# SavedGlyphscxx . . $ $anonymous_type_38e0ee3db9adc002_2#SavedGlyphs.;
129 TrapezoidsProcPtrcxx . . $ TrapezoidsProcPtr# SavedTrapezoidscxx . . $ $anonymous_type_38e0ee3db9adc002_2#SavedTrapezoids.;
130 AddTrapsProcPtrcxx . . $ AddTrapsProcPtr# SavedAddTrapscxx . . $ $anonymous_type_38e0ee3db9adc002_2#SavedAddTraps.;
131 UnrealizeGlyphProcPtrcxx . . $ UnrealizeGlyphProcPtr# SavedUnrealizeGlyphcxx . . $ $anonymous_type_38e0ee3db9adc002_2#SavedUnrealizeGlyph.;
132 #endif
133
134 Boolcxx . . $ Bool# force_fallbackcxx . . $ $anonymous_type_38e0ee3db9adc002_2#force_fallback.;
135 Boolcxx . . $ Bool# fallback_debugcxx . . $ $anonymous_type_38e0ee3db9adc002_2#fallback_debug.;
136
137 uxa_glyph_cache_tcxx . . $ uxa_glyph_cache_t# glyphCachescxx . . $ $anonymous_type_38e0ee3db9adc002_2#glyphCaches.[UXA_NUM_GLYPH_CACHE_FORMATScxx . . $ `src/uxa/uxa-priv.h:104:9`!];
138 Boolcxx . . $ Bool# glyph_cache_initializedcxx . . $ $anonymous_type_38e0ee3db9adc002_2#glyph_cache_initialized.;
139
140 PicturePtrcxx . . $ PicturePtr# solid_clearcxx . . $ $anonymous_type_38e0ee3db9adc002_2#solid_clear., solid_blackcxx . . $ $anonymous_type_38e0ee3db9adc002_2#solid_black., solid_whitecxx . . $ $anonymous_type_38e0ee3db9adc002_2#solid_white.;
141 uxa_solid_cache_tcxx . . $ uxa_solid_cache_t# solid_cachecxx . . $ $anonymous_type_38e0ee3db9adc002_2#solid_cache.[UXA_NUM_SOLID_CACHEcxx . . $ `src/uxa/uxa-priv.h:111:9`!];
142 int solid_cache_sizecxx . . $ $anonymous_type_38e0ee3db9adc002_2#solid_cache_size.;
143 } uxa_screen_tcxx . . $ uxa_screen_t#;
144
145 /*
146 * This is the only completely portable way to
147 * compute this info.
148 */
149 #ifndef BitsPerPixelcxx . . $ `<external>/6888719942695738040/servermd.h:109:9`!
150 #define BitsPerPixel(d) (\
151 PixmapWidthPaddingInfo[d].notPower2 ? \
152 (PixmapWidthPaddingInfo[d].bytesPerPixel * 8) : \
153 ((1 << PixmapWidthPaddingInfo[d].padBytesLog2) * 8 / \
154 (PixmapWidthPaddingInfo[d].padRoundUp+1)))
155 #endif
156
157 #if HAS_DEVPRIVATEKEYRECcxx . . $ `<external>/7087343359478527502/privates.h:83:9`!
158 extern DevPrivateKeyReccxx . . $ DevPrivateKeyRec# uxa_screen_indexcxx . . $ uxa_screen_index.;
159 #else
160 extern int uxa_screen_index;
161 #endif
162
163 static inline uxa_screen_tcxx . . $ uxa_screen_t# *uxa_get_screencxx . . $ uxa_get_screen(abdd93f26e57bd53).(ScreenPtrcxx . . $ ScreenPtr# screen)
164 {
165 #if HAS_DEVPRIVATEKEYRECcxx . . $ `<external>/7087343359478527502/privates.h:83:9`!
166 return dixGetPrivatecxx . . $ dixGetPrivate(bcac45ccf2539feb).(&screen->devPrivatescxx . . $ _Screen#devPrivates., &uxa_screen_indexcxx . . $ uxa_screen_index.);
167 #else
168 return dixLookupPrivate(&screen->devPrivates, &uxa_screen_index);
169 #endif
170 }
171
172 /** Align an offset to an arbitrary alignment */
173 #define UXA_ALIGNcxx . . $ `src/uxa/uxa-priv.h:173:9`!(offset, align) (((offset) + (align) - 1) - \
174 (((offset) + (align) - 1) % (align)))
175 /** Align an offset to a power-of-two alignment */
176 #define UXA_ALIGN2cxx . . $ `src/uxa/uxa-priv.h:176:9`!(offset, align) (((offset) + (align) - 1) & ~((align) - 1))
177
178 typedef structcxx . . $ $anonymous_type_38e0ee3db9adc002_3# {
179 INT16cxx . . $ INT16# xSrccxx . . $ $anonymous_type_38e0ee3db9adc002_3#xSrc.;
180 INT16cxx . . $ INT16# ySrccxx . . $ $anonymous_type_38e0ee3db9adc002_3#ySrc.;
181 INT16cxx . . $ INT16# xDstcxx . . $ $anonymous_type_38e0ee3db9adc002_3#xDst.;
182 INT16cxx . . $ INT16# yDstcxx . . $ $anonymous_type_38e0ee3db9adc002_3#yDst.;
183 INT16cxx . . $ INT16# widthcxx . . $ $anonymous_type_38e0ee3db9adc002_3#width.;
184 INT16cxx . . $ INT16# heightcxx . . $ $anonymous_type_38e0ee3db9adc002_3#height.;
185 } uxa_composite_rect_tcxx . . $ uxa_composite_rect_t#;
186
187 /**
188 * exaDDXDriverInit must be implemented by the DDX using EXA, and is the place
189 * to set EXA options or hook in screen functions to handle using EXA as the AA.
190 */
191 void exaDDXDriverInitcxx . . $ exaDDXDriverInit(5ab20fc0890d99f5).(ScreenPtrcxx . . $ ScreenPtr# pScreen);
192
193 Boolcxx . . $ Bool# uxa_prepare_access_windowcxx . . $ uxa_prepare_access_window(75585d0dc04f1653).(WindowPtrcxx . . $ WindowPtr# pWin);
194
195 void uxa_finish_access_windowcxx . . $ uxa_finish_access_window(7d0588436b617946).(WindowPtrcxx . . $ WindowPtr# pWin);
196
197 /* uxa-unaccel.c */
198 Boolcxx . . $ Bool# uxa_prepare_access_gccxx . . $ uxa_prepare_access_gc(9da222990025ea3f).(GCPtrcxx . . $ GCPtr# pGC);
199
200 void uxa_finish_access_gccxx . . $ uxa_finish_access_gc(e7809960d98f6890).(GCPtrcxx . . $ GCPtr# pGC);
201
202 void
203 uxa_check_fill_spanscxx . . $ uxa_check_fill_spans(77c5ce3df9de17cd).(DrawablePtrcxx . . $ DrawablePtr# pDrawable, GCPtrcxx . . $ GCPtr# pGC, int nspans,
204 DDXPointPtrcxx . . $ DDXPointPtr# ppt, int *pwidth, int fSorted);
205
206 void
207 uxa_check_set_spanscxx . . $ uxa_check_set_spans(c267a77ca9a917e5).(DrawablePtrcxx . . $ DrawablePtr# pDrawable, GCPtrcxx . . $ GCPtr# pGC, char *psrc,
208 DDXPointPtrcxx . . $ DDXPointPtr# ppt, int *pwidth, int nspans, int fSorted);
209
210 void
211 uxa_check_put_imagecxx . . $ uxa_check_put_image(bd1359a465ad3eb0).(DrawablePtrcxx . . $ DrawablePtr# pDrawable, GCPtrcxx . . $ GCPtr# pGC, int depth,
212 int x, int y, int w, int h, int leftPad, int format,
213 char *bits);
214
215 RegionPtrcxx . . $ RegionPtr#
216 uxa_check_copy_areacxx . . $ uxa_check_copy_area(c339be701877a34c).(DrawablePtrcxx . . $ DrawablePtr# pSrc, DrawablePtrcxx . . $ DrawablePtr# pDst, GCPtrcxx . . $ GCPtr# pGC,
217 int srcx, int srcy, int w, int h, int dstx, int dsty);
218
219 RegionPtrcxx . . $ RegionPtr#
220 uxa_check_copy_planecxx . . $ uxa_check_copy_plane(76ad087ee34386d5).(DrawablePtrcxx . . $ DrawablePtr# pSrc, DrawablePtrcxx . . $ DrawablePtr# pDst, GCPtrcxx . . $ GCPtr# pGC,
221 int srcx, int srcy, int w, int h, int dstx, int dsty,
222 unsigned long bitPlane);
223
224 void
225 uxa_check_poly_pointcxx . . $ uxa_check_poly_point(ca2a63c60975c27d).(DrawablePtrcxx . . $ DrawablePtr# pDrawable, GCPtrcxx . . $ GCPtr# pGC, int mode, int npt,
226 DDXPointPtrcxx . . $ DDXPointPtr# pptInit);
227
228 void
229 uxa_check_poly_linescxx . . $ uxa_check_poly_lines(ca2a63c60975c27d).(DrawablePtrcxx . . $ DrawablePtr# pDrawable, GCPtrcxx . . $ GCPtr# pGC,
230 int mode, int npt, DDXPointPtrcxx . . $ DDXPointPtr# ppt);
231
232 void
233 uxa_check_poly_segmentcxx . . $ uxa_check_poly_segment(722eaa95bb728029).(DrawablePtrcxx . . $ DrawablePtr# pDrawable, GCPtrcxx . . $ GCPtr# pGC,
234 int nsegInit, xSegmentcxx . . $ xSegment# * pSegInit);
235
236 void
237 uxa_check_poly_arccxx . . $ uxa_check_poly_arc(6b568ec53c48651a).(DrawablePtrcxx . . $ DrawablePtr# pDrawable, GCPtrcxx . . $ GCPtr# pGC, int narcs, xArccxx . . $ xArc# * pArcs);
238
239 void
240 uxa_check_poly_fill_rectcxx . . $ uxa_check_poly_fill_rect(d6f64512319f08ab).(DrawablePtrcxx . . $ DrawablePtr# pDrawable, GCPtrcxx . . $ GCPtr# pGC,
241 int nrect, xRectanglecxx . . $ xRectangle# * prect);
242
243 void
244 uxa_check_image_glyph_bltcxx . . $ uxa_check_image_glyph_blt(88343e3f79d4b0c4).(DrawablePtrcxx . . $ DrawablePtr# pDrawable, GCPtrcxx . . $ GCPtr# pGC,
245 int x, int y, unsigned int nglyph,
246 CharInfoPtrcxx . . $ CharInfoPtr# * ppci, pointercxx . . $ pointer# pglyphBase);
247
248 void
249 uxa_check_poly_glyph_bltcxx . . $ uxa_check_poly_glyph_blt(88343e3f79d4b0c4).(DrawablePtrcxx . . $ DrawablePtr# pDrawable, GCPtrcxx . . $ GCPtr# pGC,
250 int x, int y, unsigned int nglyph,
251 CharInfoPtrcxx . . $ CharInfoPtr# * ppci, pointercxx . . $ pointer# pglyphBase);
252
253 void
254 uxa_check_push_pixelscxx . . $ uxa_check_push_pixels(7fe587ed6d2cb5aa).(GCPtrcxx . . $ GCPtr# pGC, PixmapPtrcxx . . $ PixmapPtr# pBitmap,
255 DrawablePtrcxx . . $ DrawablePtr# pDrawable, int w, int h, int x, int y);
256
257 void
258 uxa_check_get_spanscxx . . $ uxa_check_get_spans(c16444561ca0b8eb).(DrawablePtrcxx . . $ DrawablePtr# pDrawable,
259 int wMax,
260 DDXPointPtrcxx . . $ DDXPointPtr# ppt, int *pwidth, int nspans, char *pdstStart);
261
262 void uxa_check_paint_windowcxx . . $ uxa_check_paint_window(4a35498d7595c1b5).(WindowPtrcxx . . $ WindowPtr# pWin, RegionPtrcxx . . $ RegionPtr# pRegion, int what);
263
264 void
265 uxa_check_add_trapscxx . . $ uxa_check_add_traps(6149af98a9d5abfe).(PicturePtrcxx . . $ PicturePtr# pPicture,
266 INT16cxx . . $ INT16# x_off, INT16cxx . . $ INT16# y_off, int ntrap, xTrapcxx . . $ xTrap# * traps);
267
268 /* uxa-accel.c */
269
270 static _X_INLINEcxx . . $ `<external>/3867102458864560987/Xfuncproto.h:183:10`! Boolcxx . . $ Bool#
271 uxa_gc_reads_destinationcxx . . $ uxa_gc_reads_destination(be89f4cf7d89760e).(DrawablePtrcxx . . $ DrawablePtr# pDrawable, unsigned long planemask,
272 unsigned int fillStyle, unsigned char alu)
273 {
274 return ((alu != GXcopycxx . . $ `<external>/1208737181511191802/X.h:488:9`! && alu != GXclearcxx . . $ `<external>/1208737181511191802/X.h:485:9`! && alu != GXsetcxx . . $ `<external>/1208737181511191802/X.h:500:9`! &&
275 alu != GXcopyInvertedcxx . . $ `<external>/1208737181511191802/X.h:497:9`!) || fillStyle == FillStippledcxx . . $ `<external>/1208737181511191802/X.h:525:9`! ||
276 !UXA_PM_IS_SOLIDcxx . . $ `src/uxa/uxa.h:579:9`!(pDrawable, planemask));
277 }
278
279 void uxa_copy_windowcxx . . $ uxa_copy_window(fe9c4780a2ec3e33).(WindowPtrcxx . . $ WindowPtr# pWin, DDXPointReccxx . . $ DDXPointRec# ptOldOrg, RegionPtrcxx . . $ RegionPtr# prgnSrc);
280
281 Boolcxx . . $ Bool#
282 uxa_fill_region_tiledcxx . . $ uxa_fill_region_tiled(6839623c0ddb9d9e).(DrawablePtrcxx . . $ DrawablePtr# pDrawable, RegionPtrcxx . . $ RegionPtr# pRegion, PixmapPtrcxx . . $ PixmapPtr# pTile,
283 DDXPointPtrcxx . . $ DDXPointPtr# pPatOrg, CARD32cxx . . $ CARD32# planemask, CARD32cxx . . $ CARD32# alu);
284
285 void uxa_paint_windowcxx . . $ uxa_paint_window(4a35498d7595c1b5).(WindowPtrcxx . . $ WindowPtr# pWin, RegionPtrcxx . . $ RegionPtr# pRegion, int what);
286
287 void
288 uxa_get_imagecxx . . $ uxa_get_image(f49bc09f7be53507).(DrawablePtrcxx . . $ DrawablePtr# pDrawable, int x, int y, int w, int h,
289 unsigned int format, unsigned long planeMask, char *d);
290
291 void
292 uxa_get_spanscxx . . $ uxa_get_spans(c16444561ca0b8eb).(DrawablePtrcxx . . $ DrawablePtr# pDrawable, int wMax, DDXPointPtrcxx . . $ DDXPointPtr# ppt,
293 int *pwidth, int nspans, char *pdstStart);
294
295 void
296 uxa_add_trapscxx . . $ uxa_add_traps(6149af98a9d5abfe).(PicturePtrcxx . . $ PicturePtr# pPicture,
297 INT16cxx . . $ INT16# x_off, INT16cxx . . $ INT16# y_off, int ntrap, xTrapcxx . . $ xTrap# * traps);
298
299 extern const GCOpscxx . . $ GCOps# uxa_opscxx . . $ uxa_ops.;
300
301 #ifdef RENDERcxx . . $ `<external>/9559255664802066005/xorg-server.h:85:9`!
302
303 void
304 uxa_check_compositecxx . . $ uxa_check_composite(842e5d8f7bc57502).(CARD8cxx . . $ CARD8# op,
305 PicturePtrcxx . . $ PicturePtr# pSrc,
306 PicturePtrcxx . . $ PicturePtr# pMask,
307 PicturePtrcxx . . $ PicturePtr# pDst,
308 INT16cxx . . $ INT16# xSrc,
309 INT16cxx . . $ INT16# ySrc,
310 INT16cxx . . $ INT16# xMask,
311 INT16cxx . . $ INT16# yMask,
312 INT16cxx . . $ INT16# xDst, INT16cxx . . $ INT16# yDst, CARD16cxx . . $ CARD16# width, CARD16cxx . . $ CARD16# height);
313 #endif
314
315 /* uxa.c */
316 Boolcxx . . $ Bool# uxa_prepare_accesscxx . . $ uxa_prepare_access(4a0f3427a39a69d9).(DrawablePtrcxx . . $ DrawablePtr# pDrawable, uxa_access_tcxx . . $ uxa_access_t# access);
317 void uxa_finish_accesscxx . . $ uxa_finish_access(569be8f5fd2f7d74).(DrawablePtrcxx . . $ DrawablePtr# pDrawable, uxa_access_tcxx . . $ uxa_access_t# access);
318
319 Boolcxx . . $ Bool# uxa_picture_prepare_accesscxx . . $ uxa_picture_prepare_access(1d8fb8e13c128f4c).(PicturePtrcxx . . $ PicturePtr# picture, int mode);
320 void uxa_picture_finish_accesscxx . . $ uxa_picture_finish_access(b37e819e9cdcf885).(PicturePtrcxx . . $ PicturePtr# picture, int mode);
321
322 void
323 uxa_get_drawable_deltascxx . . $ uxa_get_drawable_deltas(4d73e5080d87940b).(DrawablePtrcxx . . $ DrawablePtr# pDrawable, PixmapPtrcxx . . $ PixmapPtr# pPixmap,
324 int *xp, int *yp);
325
326 Boolcxx . . $ Bool# uxa_drawable_is_offscreencxx . . $ uxa_drawable_is_offscreen(653d4fd9ab926f62).(DrawablePtrcxx . . $ DrawablePtr# pDrawable);
327
328 Boolcxx . . $ Bool# uxa_pixmap_is_offscreencxx . . $ uxa_pixmap_is_offscreen(b4f27dd675b63059).(PixmapPtrcxx . . $ PixmapPtr# p);
329
330 PixmapPtrcxx . . $ PixmapPtr# uxa_get_offscreen_pixmapcxx . . $ uxa_get_offscreen_pixmap(fabc0b97bf9e3b7).(DrawablePtrcxx . . $ DrawablePtr# pDrawable, int *xp, int *yp);
331
332 PixmapPtrcxx . . $ PixmapPtr# uxa_get_drawable_pixmapcxx . . $ uxa_get_drawable_pixmap(37fca7f3554b94d5).(DrawablePtrcxx . . $ DrawablePtr# pDrawable);
333
334 RegionPtrcxx . . $ RegionPtr#
335 uxa_copy_areacxx . . $ uxa_copy_area(c339be701877a34c).(DrawablePtrcxx . . $ DrawablePtr# pSrcDrawable, DrawablePtrcxx . . $ DrawablePtr# pDstDrawable, GCPtrcxx . . $ GCPtr# pGC,
336 int srcx, int srcy, int width, int height, int dstx, int dsty);
337
338 void
339 uxa_copy_n_to_ncxx . . $ uxa_copy_n_to_n(27a2fb75e8bc06bd).(DrawablePtrcxx . . $ DrawablePtr# pSrcDrawable,
340 DrawablePtrcxx . . $ DrawablePtr# pDstDrawable,
341 GCPtrcxx . . $ GCPtr# pGC,
342 BoxPtrcxx . . $ BoxPtr# pbox,
343 int nbox,
344 int dx,
345 int dy,
346 Boolcxx . . $ Bool# reverse, Boolcxx . . $ Bool# upsidedown, Pixelcxx . . $ Pixel# bitplane, void *closure);
347
348 /* uxa_render.c */
349 Boolcxx . . $ Bool# uxa_op_reads_destinationcxx . . $ uxa_op_reads_destination(b27dbea426b7b93).(CARD8cxx . . $ CARD8# op);
350
351 void
352 uxa_compositecxx . . $ uxa_composite(842e5d8f7bc57502).(CARD8cxx . . $ CARD8# op,
353 PicturePtrcxx . . $ PicturePtr# pSrc,
354 PicturePtrcxx . . $ PicturePtr# pMask,
355 PicturePtrcxx . . $ PicturePtr# pDst,
356 INT16cxx . . $ INT16# xSrc,
357 INT16cxx . . $ INT16# ySrc,
358 INT16cxx . . $ INT16# xMask,
359 INT16cxx . . $ INT16# yMask, INT16cxx . . $ INT16# xDst, INT16cxx . . $ INT16# yDst, CARD16cxx . . $ CARD16# width, CARD16cxx . . $ CARD16# height);
360
361 void
362 uxa_composite_rectscxx . . $ uxa_composite_rects(6d2b748a4f5958f).(CARD8cxx . . $ CARD8# op,
363 PicturePtrcxx . . $ PicturePtr# pSrc,
364 PicturePtrcxx . . $ PicturePtr# pDst, int nrect, uxa_composite_rect_tcxx . . $ uxa_composite_rect_t# * rects);
365
366 void
367 uxa_solid_rectscxx . . $ uxa_solid_rects(46aed192b798154b). (CARD8cxx . . $ CARD8# op,
368 PicturePtrcxx . . $ PicturePtr# dst,
369 xRenderColorcxx . . $ xRenderColor# *color,
370 int num_rects,
371 xRectanglecxx . . $ xRectangle# *rects);
372
373 void
374 uxa_trapezoidscxx . . $ uxa_trapezoids(b799eecf52fec6e0).(CARD8cxx . . $ CARD8# op, PicturePtrcxx . . $ PicturePtr# pSrc, PicturePtrcxx . . $ PicturePtr# pDst,
375 PictFormatPtrcxx . . $ PictFormatPtr# maskFormat, INT16cxx . . $ INT16# xSrc, INT16cxx . . $ INT16# ySrc,
376 int ntrap, xTrapezoidcxx . . $ xTrapezoid# * traps);
377
378 void
379 uxa_trianglescxx . . $ uxa_triangles(6d3f6e8e923ce4b4).(CARD8cxx . . $ CARD8# op, PicturePtrcxx . . $ PicturePtr# pSrc, PicturePtrcxx . . $ PicturePtr# pDst,
380 PictFormatPtrcxx . . $ PictFormatPtr# maskFormat, INT16cxx . . $ INT16# xSrc, INT16cxx . . $ INT16# ySrc,
381 int ntri, xTrianglecxx . . $ xTriangle# * tris);
382
383 PicturePtrcxx . . $ PicturePtr#
384 uxa_acquire_solidcxx . . $ uxa_acquire_solid(a1d4245718085bf9).(ScreenPtrcxx . . $ ScreenPtr# screen, SourcePictcxx . . $ SourcePict# *source);
385
386 PicturePtrcxx . . $ PicturePtr#
387 uxa_acquire_drawablecxx . . $ uxa_acquire_drawable(1656e4e7aa259a11).(ScreenPtrcxx . . $ ScreenPtr# pScreen,
388 PicturePtrcxx . . $ PicturePtr# pSrc,
389 INT16cxx . . $ INT16# x, INT16cxx . . $ INT16# y,
390 CARD16cxx . . $ CARD16# width, CARD16cxx . . $ CARD16# height,
391 INT16cxx . . $ INT16# * out_x, INT16cxx . . $ INT16# * out_y);
392
393 PicturePtrcxx . . $ PicturePtr#
394 uxa_acquire_patterncxx . . $ uxa_acquire_pattern(a5833e34f1c3b0dd).(ScreenPtrcxx . . $ ScreenPtr# pScreen,
395 PicturePtrcxx . . $ PicturePtr# pSrc,
396 pixman_format_code_tcxx . . $ pixman_format_code_t# format,
397 INT16cxx . . $ INT16# x, INT16cxx . . $ INT16# y,
398 CARD16cxx . . $ CARD16# width, CARD16cxx . . $ CARD16# height);
399
400 Boolcxx . . $ Bool#
401 uxa_get_rgba_from_pixelcxx . . $ uxa_get_rgba_from_pixel(c374232f791f2f08).(CARD32cxx . . $ CARD32# pixel,
402 CARD16cxx . . $ CARD16# * red,
403 CARD16cxx . . $ CARD16# * green,
404 CARD16cxx . . $ CARD16# * blue,
405 CARD16cxx . . $ CARD16# * alpha,
406 CARD32cxx . . $ CARD32# format);
407
408 /* uxa_glyph.c */
409 Boolcxx . . $ Bool# uxa_glyphs_initcxx . . $ uxa_glyphs_init(d38b7d3414297794).(ScreenPtrcxx . . $ ScreenPtr# pScreen);
410
411 void uxa_glyphs_finicxx . . $ uxa_glyphs_fini(5ab20fc0890d99f5).(ScreenPtrcxx . . $ ScreenPtr# pScreen);
412
413 void
414 uxa_glyphscxx . . $ uxa_glyphs(cebc46f2bef9cf08).(CARD8cxx . . $ CARD8# op,
415 PicturePtrcxx . . $ PicturePtr# pSrc,
416 PicturePtrcxx . . $ PicturePtr# pDst,
417 PictFormatPtrcxx . . $ PictFormatPtr# maskFormat,
418 INT16cxx . . $ INT16# xSrc,
419 INT16cxx . . $ INT16# ySrc, int nlist, GlyphListPtrcxx . . $ GlyphListPtr# list, GlyphPtrcxx . . $ GlyphPtr# * glyphs);
420
421 void
422 uxa_glyph_unrealizecxx . . $ uxa_glyph_unrealize(a8b22bd5bbe6bd4c).(ScreenPtrcxx . . $ ScreenPtr# pScreen,
423 GlyphPtrcxx . . $ GlyphPtr# pGlyph);
424
425 #endif /* UXAPRIV_H */