1#ifndef DYLIBLOAD_WRAPPER_XRENDER
2#define DYLIBLOAD_WRAPPER_XRENDER
3// This file is generated. Do not edit!
4// see https://github.com/hpvb/dynload-wrapper for details
5// generated by generate-wrapper.py 0.3 on 2023-01-23 15:14:14
6// flags: generate-wrapper.py --include ./thirdparty/linuxbsd_headers/X11/extensions/Xrender.h --sys-include "thirdparty/linuxbsd_headers/X11/extensions/Xrender.h" --soname libXrender.so.1 --init-name xrender --output-header ./platform/linuxbsd/x11/dynwrappers/xrender-so_wrap.h --output-implementation ./platform/linuxbsd/x11/dynwrappers/xrender-so_wrap.c~
7//
8// NOTE: Generated from Xrender 0.9.10.
9// This has been handpatched to workaround some issues with the generator that
10// will be eventually fixed. In this case, non-existent symbols inherited from
11// libX11, but absent in libXrender.so.1, were removed.
12#include <stdint.h>
13
14#define XRenderQueryExtension XRenderQueryExtension_dylibloader_orig_xrender
15#define XRenderQueryVersion XRenderQueryVersion_dylibloader_orig_xrender
16#define XRenderQueryFormats XRenderQueryFormats_dylibloader_orig_xrender
17#define XRenderQuerySubpixelOrder XRenderQuerySubpixelOrder_dylibloader_orig_xrender
18#define XRenderSetSubpixelOrder XRenderSetSubpixelOrder_dylibloader_orig_xrender
19#define XRenderFindVisualFormat XRenderFindVisualFormat_dylibloader_orig_xrender
20#define XRenderFindFormat XRenderFindFormat_dylibloader_orig_xrender
21#define XRenderFindStandardFormat XRenderFindStandardFormat_dylibloader_orig_xrender
22#define XRenderQueryPictIndexValues XRenderQueryPictIndexValues_dylibloader_orig_xrender
23#define XRenderCreatePicture XRenderCreatePicture_dylibloader_orig_xrender
24#define XRenderChangePicture XRenderChangePicture_dylibloader_orig_xrender
25#define XRenderSetPictureClipRectangles XRenderSetPictureClipRectangles_dylibloader_orig_xrender
26#define XRenderSetPictureClipRegion XRenderSetPictureClipRegion_dylibloader_orig_xrender
27#define XRenderSetPictureTransform XRenderSetPictureTransform_dylibloader_orig_xrender
28#define XRenderFreePicture XRenderFreePicture_dylibloader_orig_xrender
29#define XRenderComposite XRenderComposite_dylibloader_orig_xrender
30#define XRenderCreateGlyphSet XRenderCreateGlyphSet_dylibloader_orig_xrender
31#define XRenderReferenceGlyphSet XRenderReferenceGlyphSet_dylibloader_orig_xrender
32#define XRenderFreeGlyphSet XRenderFreeGlyphSet_dylibloader_orig_xrender
33#define XRenderAddGlyphs XRenderAddGlyphs_dylibloader_orig_xrender
34#define XRenderFreeGlyphs XRenderFreeGlyphs_dylibloader_orig_xrender
35#define XRenderCompositeString8 XRenderCompositeString8_dylibloader_orig_xrender
36#define XRenderCompositeString16 XRenderCompositeString16_dylibloader_orig_xrender
37#define XRenderCompositeString32 XRenderCompositeString32_dylibloader_orig_xrender
38#define XRenderCompositeText8 XRenderCompositeText8_dylibloader_orig_xrender
39#define XRenderCompositeText16 XRenderCompositeText16_dylibloader_orig_xrender
40#define XRenderCompositeText32 XRenderCompositeText32_dylibloader_orig_xrender
41#define XRenderFillRectangle XRenderFillRectangle_dylibloader_orig_xrender
42#define XRenderFillRectangles XRenderFillRectangles_dylibloader_orig_xrender
43#define XRenderCompositeTrapezoids XRenderCompositeTrapezoids_dylibloader_orig_xrender
44#define XRenderCompositeTriangles XRenderCompositeTriangles_dylibloader_orig_xrender
45#define XRenderCompositeTriStrip XRenderCompositeTriStrip_dylibloader_orig_xrender
46#define XRenderCompositeTriFan XRenderCompositeTriFan_dylibloader_orig_xrender
47#define XRenderCompositeDoublePoly XRenderCompositeDoublePoly_dylibloader_orig_xrender
48#define XRenderParseColor XRenderParseColor_dylibloader_orig_xrender
49#define XRenderCreateCursor XRenderCreateCursor_dylibloader_orig_xrender
50#define XRenderQueryFilters XRenderQueryFilters_dylibloader_orig_xrender
51#define XRenderSetPictureFilter XRenderSetPictureFilter_dylibloader_orig_xrender
52#define XRenderCreateAnimCursor XRenderCreateAnimCursor_dylibloader_orig_xrender
53#define XRenderAddTraps XRenderAddTraps_dylibloader_orig_xrender
54#define XRenderCreateSolidFill XRenderCreateSolidFill_dylibloader_orig_xrender
55#define XRenderCreateLinearGradient XRenderCreateLinearGradient_dylibloader_orig_xrender
56#define XRenderCreateRadialGradient XRenderCreateRadialGradient_dylibloader_orig_xrender
57#define XRenderCreateConicalGradient XRenderCreateConicalGradient_dylibloader_orig_xrender
58#include "thirdparty/linuxbsd_headers/X11/extensions/Xrender.h"
59#undef XRenderQueryExtension
60#undef XRenderQueryVersion
61#undef XRenderQueryFormats
62#undef XRenderQuerySubpixelOrder
63#undef XRenderSetSubpixelOrder
64#undef XRenderFindVisualFormat
65#undef XRenderFindFormat
66#undef XRenderFindStandardFormat
67#undef XRenderQueryPictIndexValues
68#undef XRenderCreatePicture
69#undef XRenderChangePicture
70#undef XRenderSetPictureClipRectangles
71#undef XRenderSetPictureClipRegion
72#undef XRenderSetPictureTransform
73#undef XRenderFreePicture
74#undef XRenderComposite
75#undef XRenderCreateGlyphSet
76#undef XRenderReferenceGlyphSet
77#undef XRenderFreeGlyphSet
78#undef XRenderAddGlyphs
79#undef XRenderFreeGlyphs
80#undef XRenderCompositeString8
81#undef XRenderCompositeString16
82#undef XRenderCompositeString32
83#undef XRenderCompositeText8
84#undef XRenderCompositeText16
85#undef XRenderCompositeText32
86#undef XRenderFillRectangle
87#undef XRenderFillRectangles
88#undef XRenderCompositeTrapezoids
89#undef XRenderCompositeTriangles
90#undef XRenderCompositeTriStrip
91#undef XRenderCompositeTriFan
92#undef XRenderCompositeDoublePoly
93#undef XRenderParseColor
94#undef XRenderCreateCursor
95#undef XRenderQueryFilters
96#undef XRenderSetPictureFilter
97#undef XRenderCreateAnimCursor
98#undef XRenderAddTraps
99#undef XRenderCreateSolidFill
100#undef XRenderCreateLinearGradient
101#undef XRenderCreateRadialGradient
102#undef XRenderCreateConicalGradient
103#ifdef __cplusplus
104extern "C" {
105#endif
106#define XRenderQueryExtension XRenderQueryExtension_dylibloader_wrapper_xrender
107#define XRenderQueryVersion XRenderQueryVersion_dylibloader_wrapper_xrender
108#define XRenderQueryFormats XRenderQueryFormats_dylibloader_wrapper_xrender
109#define XRenderQuerySubpixelOrder XRenderQuerySubpixelOrder_dylibloader_wrapper_xrender
110#define XRenderSetSubpixelOrder XRenderSetSubpixelOrder_dylibloader_wrapper_xrender
111#define XRenderFindVisualFormat XRenderFindVisualFormat_dylibloader_wrapper_xrender
112#define XRenderFindFormat XRenderFindFormat_dylibloader_wrapper_xrender
113#define XRenderFindStandardFormat XRenderFindStandardFormat_dylibloader_wrapper_xrender
114#define XRenderQueryPictIndexValues XRenderQueryPictIndexValues_dylibloader_wrapper_xrender
115#define XRenderCreatePicture XRenderCreatePicture_dylibloader_wrapper_xrender
116#define XRenderChangePicture XRenderChangePicture_dylibloader_wrapper_xrender
117#define XRenderSetPictureClipRectangles XRenderSetPictureClipRectangles_dylibloader_wrapper_xrender
118#define XRenderSetPictureClipRegion XRenderSetPictureClipRegion_dylibloader_wrapper_xrender
119#define XRenderSetPictureTransform XRenderSetPictureTransform_dylibloader_wrapper_xrender
120#define XRenderFreePicture XRenderFreePicture_dylibloader_wrapper_xrender
121#define XRenderComposite XRenderComposite_dylibloader_wrapper_xrender
122#define XRenderCreateGlyphSet XRenderCreateGlyphSet_dylibloader_wrapper_xrender
123#define XRenderReferenceGlyphSet XRenderReferenceGlyphSet_dylibloader_wrapper_xrender
124#define XRenderFreeGlyphSet XRenderFreeGlyphSet_dylibloader_wrapper_xrender
125#define XRenderAddGlyphs XRenderAddGlyphs_dylibloader_wrapper_xrender
126#define XRenderFreeGlyphs XRenderFreeGlyphs_dylibloader_wrapper_xrender
127#define XRenderCompositeString8 XRenderCompositeString8_dylibloader_wrapper_xrender
128#define XRenderCompositeString16 XRenderCompositeString16_dylibloader_wrapper_xrender
129#define XRenderCompositeString32 XRenderCompositeString32_dylibloader_wrapper_xrender
130#define XRenderCompositeText8 XRenderCompositeText8_dylibloader_wrapper_xrender
131#define XRenderCompositeText16 XRenderCompositeText16_dylibloader_wrapper_xrender
132#define XRenderCompositeText32 XRenderCompositeText32_dylibloader_wrapper_xrender
133#define XRenderFillRectangle XRenderFillRectangle_dylibloader_wrapper_xrender
134#define XRenderFillRectangles XRenderFillRectangles_dylibloader_wrapper_xrender
135#define XRenderCompositeTrapezoids XRenderCompositeTrapezoids_dylibloader_wrapper_xrender
136#define XRenderCompositeTriangles XRenderCompositeTriangles_dylibloader_wrapper_xrender
137#define XRenderCompositeTriStrip XRenderCompositeTriStrip_dylibloader_wrapper_xrender
138#define XRenderCompositeTriFan XRenderCompositeTriFan_dylibloader_wrapper_xrender
139#define XRenderCompositeDoublePoly XRenderCompositeDoublePoly_dylibloader_wrapper_xrender
140#define XRenderParseColor XRenderParseColor_dylibloader_wrapper_xrender
141#define XRenderCreateCursor XRenderCreateCursor_dylibloader_wrapper_xrender
142#define XRenderQueryFilters XRenderQueryFilters_dylibloader_wrapper_xrender
143#define XRenderSetPictureFilter XRenderSetPictureFilter_dylibloader_wrapper_xrender
144#define XRenderCreateAnimCursor XRenderCreateAnimCursor_dylibloader_wrapper_xrender
145#define XRenderAddTraps XRenderAddTraps_dylibloader_wrapper_xrender
146#define XRenderCreateSolidFill XRenderCreateSolidFill_dylibloader_wrapper_xrender
147#define XRenderCreateLinearGradient XRenderCreateLinearGradient_dylibloader_wrapper_xrender
148#define XRenderCreateRadialGradient XRenderCreateRadialGradient_dylibloader_wrapper_xrender
149#define XRenderCreateConicalGradient XRenderCreateConicalGradient_dylibloader_wrapper_xrender
150extern int (*XRenderQueryExtension_dylibloader_wrapper_xrender)( Display*, int*, int*);
151extern int (*XRenderQueryVersion_dylibloader_wrapper_xrender)( Display*, int*, int*);
152extern int (*XRenderQueryFormats_dylibloader_wrapper_xrender)( Display*);
153extern int (*XRenderQuerySubpixelOrder_dylibloader_wrapper_xrender)( Display*, int);
154extern int (*XRenderSetSubpixelOrder_dylibloader_wrapper_xrender)( Display*, int, int);
155extern XRenderPictFormat* (*XRenderFindVisualFormat_dylibloader_wrapper_xrender)( Display*,const Visual*);
156extern XRenderPictFormat* (*XRenderFindFormat_dylibloader_wrapper_xrender)( Display*, unsigned long,const XRenderPictFormat*, int);
157extern XRenderPictFormat* (*XRenderFindStandardFormat_dylibloader_wrapper_xrender)( Display*, int);
158extern XIndexValue* (*XRenderQueryPictIndexValues_dylibloader_wrapper_xrender)( Display*,const XRenderPictFormat*, int*);
159extern Picture (*XRenderCreatePicture_dylibloader_wrapper_xrender)( Display*, Drawable,const XRenderPictFormat*, unsigned long,const XRenderPictureAttributes*);
160extern void (*XRenderChangePicture_dylibloader_wrapper_xrender)( Display*, Picture, unsigned long,const XRenderPictureAttributes*);
161extern void (*XRenderSetPictureClipRectangles_dylibloader_wrapper_xrender)( Display*, Picture, int, int,const XRectangle*, int);
162extern void (*XRenderSetPictureClipRegion_dylibloader_wrapper_xrender)( Display*, Picture, Region);
163extern void (*XRenderSetPictureTransform_dylibloader_wrapper_xrender)( Display*, Picture, XTransform*);
164extern void (*XRenderFreePicture_dylibloader_wrapper_xrender)( Display*, Picture);
165extern void (*XRenderComposite_dylibloader_wrapper_xrender)( Display*, int, Picture, Picture, Picture, int, int, int, int, int, int, unsigned int, unsigned int);
166extern GlyphSet (*XRenderCreateGlyphSet_dylibloader_wrapper_xrender)( Display*,const XRenderPictFormat*);
167extern GlyphSet (*XRenderReferenceGlyphSet_dylibloader_wrapper_xrender)( Display*, GlyphSet);
168extern void (*XRenderFreeGlyphSet_dylibloader_wrapper_xrender)( Display*, GlyphSet);
169extern void (*XRenderAddGlyphs_dylibloader_wrapper_xrender)( Display*, GlyphSet,const Glyph*,const XGlyphInfo*, int,const char*, int);
170extern void (*XRenderFreeGlyphs_dylibloader_wrapper_xrender)( Display*, GlyphSet,const Glyph*, int);
171extern void (*XRenderCompositeString8_dylibloader_wrapper_xrender)( Display*, int, Picture, Picture,const XRenderPictFormat*, GlyphSet, int, int, int, int,const char*, int);
172extern void (*XRenderCompositeString16_dylibloader_wrapper_xrender)( Display*, int, Picture, Picture,const XRenderPictFormat*, GlyphSet, int, int, int, int,const unsigned short*, int);
173extern void (*XRenderCompositeString32_dylibloader_wrapper_xrender)( Display*, int, Picture, Picture,const XRenderPictFormat*, GlyphSet, int, int, int, int,const unsigned int*, int);
174extern void (*XRenderCompositeText8_dylibloader_wrapper_xrender)( Display*, int, Picture, Picture,const XRenderPictFormat*, int, int, int, int,const XGlyphElt8*, int);
175extern void (*XRenderCompositeText16_dylibloader_wrapper_xrender)( Display*, int, Picture, Picture,const XRenderPictFormat*, int, int, int, int,const XGlyphElt16*, int);
176extern void (*XRenderCompositeText32_dylibloader_wrapper_xrender)( Display*, int, Picture, Picture,const XRenderPictFormat*, int, int, int, int,const XGlyphElt32*, int);
177extern void (*XRenderFillRectangle_dylibloader_wrapper_xrender)( Display*, int, Picture,const XRenderColor*, int, int, unsigned int, unsigned int);
178extern void (*XRenderFillRectangles_dylibloader_wrapper_xrender)( Display*, int, Picture,const XRenderColor*,const XRectangle*, int);
179extern void (*XRenderCompositeTrapezoids_dylibloader_wrapper_xrender)( Display*, int, Picture, Picture,const XRenderPictFormat*, int, int,const XTrapezoid*, int);
180extern void (*XRenderCompositeTriangles_dylibloader_wrapper_xrender)( Display*, int, Picture, Picture,const XRenderPictFormat*, int, int,const XTriangle*, int);
181extern void (*XRenderCompositeTriStrip_dylibloader_wrapper_xrender)( Display*, int, Picture, Picture,const XRenderPictFormat*, int, int,const XPointFixed*, int);
182extern void (*XRenderCompositeTriFan_dylibloader_wrapper_xrender)( Display*, int, Picture, Picture,const XRenderPictFormat*, int, int,const XPointFixed*, int);
183extern void (*XRenderCompositeDoublePoly_dylibloader_wrapper_xrender)( Display*, int, Picture, Picture,const XRenderPictFormat*, int, int, int, int,const XPointDouble*, int, int);
184extern int (*XRenderParseColor_dylibloader_wrapper_xrender)( Display*, char*, XRenderColor*);
185extern Cursor (*XRenderCreateCursor_dylibloader_wrapper_xrender)( Display*, Picture, unsigned int, unsigned int);
186extern XFilters* (*XRenderQueryFilters_dylibloader_wrapper_xrender)( Display*, Drawable);
187extern void (*XRenderSetPictureFilter_dylibloader_wrapper_xrender)( Display*, Picture,const char*, XFixed*, int);
188extern Cursor (*XRenderCreateAnimCursor_dylibloader_wrapper_xrender)( Display*, int, XAnimCursor*);
189extern void (*XRenderAddTraps_dylibloader_wrapper_xrender)( Display*, Picture, int, int,const XTrap*, int);
190extern Picture (*XRenderCreateSolidFill_dylibloader_wrapper_xrender)( Display*,const XRenderColor*);
191extern Picture (*XRenderCreateLinearGradient_dylibloader_wrapper_xrender)( Display*,const XLinearGradient*,const XFixed*,const XRenderColor*, int);
192extern Picture (*XRenderCreateRadialGradient_dylibloader_wrapper_xrender)( Display*,const XRadialGradient*,const XFixed*,const XRenderColor*, int);
193extern Picture (*XRenderCreateConicalGradient_dylibloader_wrapper_xrender)( Display*,const XConicalGradient*,const XFixed*,const XRenderColor*, int);
194int initialize_xrender(int verbose);
195#ifdef __cplusplus
196}
197#endif
198#endif
199