Added missing dependency for 16-bit resource files.
[wine/multimedia.git] / tsx11 / ts_xf86dga.c
blob62d94bab968de269b530238cbde12250f7fbccb0
1 /*
2 * Thread safe wrappers around xf86dga calls.
3 * This file was generated automatically by tools/make_X11wrappers
4 * DO NOT EDIT!
5 */
7 #include "config.h"
9 #ifdef HAVE_LIBXXF86DGA
11 #include <X11/Xlib.h>
12 #include <X11/extensions/xf86dga.h>
14 #include "debugtools.h"
15 #include "ts_xf86dga.h"
16 #include "x11drv.h"
18 DEFAULT_DEBUG_CHANNEL(x11)
20 Bool TSXF86DGAQueryVersion(Display*a0,int*a1,int*a2)
22 Bool r;
23 TRACE("Call XF86DGAQueryVersion\n");
24 EnterCriticalSection( &X11DRV_CritSection );
25 r = XF86DGAQueryVersion(a0,a1,a2);
26 LeaveCriticalSection( &X11DRV_CritSection );
27 TRACE("Ret XF86DGAQueryVersion\n");
28 return r;
31 Bool TSXF86DGAQueryExtension(Display*a0,int*a1,int*a2)
33 Bool r;
34 TRACE("Call XF86DGAQueryExtension\n");
35 EnterCriticalSection( &X11DRV_CritSection );
36 r = XF86DGAQueryExtension(a0,a1,a2);
37 LeaveCriticalSection( &X11DRV_CritSection );
38 TRACE("Ret XF86DGAQueryExtension\n");
39 return r;
42 Status TSXF86DGAGetVideo(Display*a0,int a1,char**a2,int*a3,int*a4,int*a5)
44 Status r;
45 TRACE("Call XF86DGAGetVideo\n");
46 EnterCriticalSection( &X11DRV_CritSection );
47 r = XF86DGAGetVideo(a0,a1,a2,a3,a4,a5);
48 LeaveCriticalSection( &X11DRV_CritSection );
49 TRACE("Ret XF86DGAGetVideo\n");
50 return r;
53 Status TSXF86DGADirectVideo(Display*a0,int a1,int a2)
55 Status r;
56 TRACE("Call XF86DGADirectVideo\n");
57 EnterCriticalSection( &X11DRV_CritSection );
58 r = XF86DGADirectVideo(a0,a1,a2);
59 LeaveCriticalSection( &X11DRV_CritSection );
60 TRACE("Ret XF86DGADirectVideo\n");
61 return r;
64 Status TSXF86DGAGetViewPortSize(Display*a0,int a1,int *a2,int *a3)
66 Status r;
67 TRACE("Call XF86DGAGetViewPortSize\n");
68 EnterCriticalSection( &X11DRV_CritSection );
69 r = XF86DGAGetViewPortSize(a0,a1,a2,a3);
70 LeaveCriticalSection( &X11DRV_CritSection );
71 TRACE("Ret XF86DGAGetViewPortSize\n");
72 return r;
75 Status TSXF86DGASetViewPort(Display*a0,int a1,int a2,int a3)
77 Status r;
78 TRACE("Call XF86DGASetViewPort\n");
79 EnterCriticalSection( &X11DRV_CritSection );
80 r = XF86DGASetViewPort(a0,a1,a2,a3);
81 LeaveCriticalSection( &X11DRV_CritSection );
82 TRACE("Ret XF86DGASetViewPort\n");
83 return r;
86 Status TSXF86DGAInstallColormap(Display*a0,int a1,Colormap a2)
88 Status r;
89 TRACE("Call XF86DGAInstallColormap\n");
90 EnterCriticalSection( &X11DRV_CritSection );
91 r = XF86DGAInstallColormap(a0,a1,a2);
92 LeaveCriticalSection( &X11DRV_CritSection );
93 TRACE("Ret XF86DGAInstallColormap\n");
94 return r;
97 Status TSXF86DGAQueryDirectVideo(Display*a0,int a1,int *a2)
99 Status r;
100 TRACE("Call XF86DGAQueryDirectVideo\n");
101 EnterCriticalSection( &X11DRV_CritSection );
102 r = XF86DGAQueryDirectVideo(a0,a1,a2);
103 LeaveCriticalSection( &X11DRV_CritSection );
104 TRACE("Ret XF86DGAQueryDirectVideo\n");
105 return r;
108 Status TSXF86DGAViewPortChanged(Display*a0,int a1,int a2)
110 Status r;
111 TRACE("Call XF86DGAViewPortChanged\n");
112 EnterCriticalSection( &X11DRV_CritSection );
113 r = XF86DGAViewPortChanged(a0,a1,a2);
114 LeaveCriticalSection( &X11DRV_CritSection );
115 TRACE("Ret XF86DGAViewPortChanged\n");
116 return r;
119 #endif /* defined(HAVE_LIBXXF86DGA) */