When the commandID was being treated as the index, no check for index
[wine/multimedia.git] / tsx11 / ts_xrender.c
blob765ee7fc7054d5ef75cb0e5610cd60709b5f237b
1 /*
2 * Thread safe wrappers around Xrender calls.
3 * This file was generated automatically by tools/make_X11wrappers
4 * DO NOT EDIT!
5 */
7 #include "config.h"
9 #ifdef HAVE_LIBXRENDER
11 #include <X11/Xlib.h>
12 #include <X11/extensions/Xrender.h>
14 #include "ts_xrender.h"
17 void TSXRenderAddGlyphs(Display*a0,GlyphSet a1,Glyph*a2,XGlyphInfo*a3,int a4,char*a5,int a6)
19 wine_tsx11_lock();
20 XRenderAddGlyphs(a0,a1,a2,a3,a4,a5,a6);
21 wine_tsx11_unlock();
24 void TSXRenderCompositeString8(Display*a0,int a1,Picture a2,Picture a3,XRenderPictFormat*a4,GlyphSet a5,int a6,int a7,int a8,int a9,char*a10,int a11)
26 wine_tsx11_lock();
27 XRenderCompositeString8(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11);
28 wine_tsx11_unlock();
31 void TSXRenderCompositeString16(Display*a0,int a1,Picture a2,Picture a3,XRenderPictFormat*a4,GlyphSet a5,int a6,int a7,int a8,int a9,unsigned short*a10,int a11)
33 wine_tsx11_lock();
34 XRenderCompositeString16(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11);
35 wine_tsx11_unlock();
38 void TSXRenderCompositeString32(Display*a0,int a1,Picture a2,Picture a3,XRenderPictFormat*a4,GlyphSet a5,int a6,int a7,int a8,int a9,unsigned int*a10,int a11)
40 wine_tsx11_lock();
41 XRenderCompositeString32(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11);
42 wine_tsx11_unlock();
45 GlyphSet TSXRenderCreateGlyphSet(Display*a0,XRenderPictFormat*a1)
47 GlyphSet r;
48 wine_tsx11_lock();
49 r = XRenderCreateGlyphSet(a0,a1);
50 wine_tsx11_unlock();
51 return r;
54 Picture TSXRenderCreatePicture(Display*a0,Drawable a1,XRenderPictFormat*a2,unsigned long a3,XRenderPictureAttributes*a4)
56 Picture r;
57 wine_tsx11_lock();
58 r = XRenderCreatePicture(a0,a1,a2,a3,a4);
59 wine_tsx11_unlock();
60 return r;
63 void TSXRenderFillRectangle(Display*a0,int a1,Picture a2,XRenderColor*a3,int a4,int a5,unsigned int a6,unsigned int a7)
65 wine_tsx11_lock();
66 XRenderFillRectangle(a0,a1,a2,a3,a4,a5,a6,a7);
67 wine_tsx11_unlock();
70 XRenderPictFormat* TSXRenderFindFormat(Display*a0,unsigned long a1,XRenderPictFormat*a2,int a3)
72 XRenderPictFormat* r;
73 wine_tsx11_lock();
74 r = XRenderFindFormat(a0,a1,a2,a3);
75 wine_tsx11_unlock();
76 return r;
79 XRenderPictFormat* TSXRenderFindVisualFormat(Display*a0,Visual*a1)
81 XRenderPictFormat* r;
82 wine_tsx11_lock();
83 r = XRenderFindVisualFormat(a0,a1);
84 wine_tsx11_unlock();
85 return r;
88 void TSXRenderFreeGlyphSet(Display*a0,GlyphSet a1)
90 wine_tsx11_lock();
91 XRenderFreeGlyphSet(a0,a1);
92 wine_tsx11_unlock();
95 void TSXRenderFreePicture(Display*a0,Picture a1)
97 wine_tsx11_lock();
98 XRenderFreePicture(a0,a1);
99 wine_tsx11_unlock();
102 void TSXRenderSetPictureClipRectangles(Display*a0,Picture a1,int a2,int a3,XRectangle* a4,int a5)
104 wine_tsx11_lock();
105 XRenderSetPictureClipRectangles(a0,a1,a2,a3,a4,a5);
106 wine_tsx11_unlock();
109 Bool TSXRenderQueryExtension(Display*a0,int*a1,int*a2)
111 Bool r;
112 wine_tsx11_lock();
113 r = XRenderQueryExtension(a0,a1,a2);
114 wine_tsx11_unlock();
115 return r;
118 #endif /* defined(HAVE_LIBXRENDER) */