Release 990226.
[wine/gsoc-2012-control.git] / tsx11 / ts_xf86dga.c
blob393bf151aab8da970982e2592e2199c41d052d59
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 #ifndef X_DISPLAY_MISSING
11 #ifdef HAVE_LIBXXF86DGA
13 #include <X11/Xlib.h>
14 #include <X11/extensions/xf86dga.h>
15 #include "debug.h"
16 #include "x11drv.h"
18 Bool TSXF86DGAQueryVersion(Display*a0,int*a1,int*a2)
20 Bool r;
21 TRACE(x11, "Call XF86DGAQueryVersion\n");
22 EnterCriticalSection( &X11DRV_CritSection );
23 r = XF86DGAQueryVersion(a0,a1,a2);
24 LeaveCriticalSection( &X11DRV_CritSection );
25 TRACE(x11, "Ret XF86DGAQueryVersion\n");
26 return r;
29 Bool TSXF86DGAQueryExtension(Display*a0,int*a1,int*a2)
31 Bool r;
32 TRACE(x11, "Call XF86DGAQueryExtension\n");
33 EnterCriticalSection( &X11DRV_CritSection );
34 r = XF86DGAQueryExtension(a0,a1,a2);
35 LeaveCriticalSection( &X11DRV_CritSection );
36 TRACE(x11, "Ret XF86DGAQueryExtension\n");
37 return r;
40 Status TSXF86DGAGetVideo(Display*a0,int a1,char**a2,int*a3,int*a4,int*a5)
42 Status r;
43 TRACE(x11, "Call XF86DGAGetVideo\n");
44 EnterCriticalSection( &X11DRV_CritSection );
45 r = XF86DGAGetVideo(a0,a1,a2,a3,a4,a5);
46 LeaveCriticalSection( &X11DRV_CritSection );
47 TRACE(x11, "Ret XF86DGAGetVideo\n");
48 return r;
51 Status TSXF86DGADirectVideo(Display*a0,int a1,int a2)
53 Status r;
54 TRACE(x11, "Call XF86DGADirectVideo\n");
55 EnterCriticalSection( &X11DRV_CritSection );
56 r = XF86DGADirectVideo(a0,a1,a2);
57 LeaveCriticalSection( &X11DRV_CritSection );
58 TRACE(x11, "Ret XF86DGADirectVideo\n");
59 return r;
62 Status TSXF86DGAGetViewPortSize(Display*a0,int a1,int *a2,int *a3)
64 Status r;
65 TRACE(x11, "Call XF86DGAGetViewPortSize\n");
66 EnterCriticalSection( &X11DRV_CritSection );
67 r = XF86DGAGetViewPortSize(a0,a1,a2,a3);
68 LeaveCriticalSection( &X11DRV_CritSection );
69 TRACE(x11, "Ret XF86DGAGetViewPortSize\n");
70 return r;
73 Status TSXF86DGASetViewPort(Display*a0,int a1,int a2,int a3)
75 Status r;
76 TRACE(x11, "Call XF86DGASetViewPort\n");
77 EnterCriticalSection( &X11DRV_CritSection );
78 r = XF86DGASetViewPort(a0,a1,a2,a3);
79 LeaveCriticalSection( &X11DRV_CritSection );
80 TRACE(x11, "Ret XF86DGASetViewPort\n");
81 return r;
84 Status TSXF86DGAInstallColormap(Display*a0,int a1,Colormap a2)
86 Status r;
87 TRACE(x11, "Call XF86DGAInstallColormap\n");
88 EnterCriticalSection( &X11DRV_CritSection );
89 r = XF86DGAInstallColormap(a0,a1,a2);
90 LeaveCriticalSection( &X11DRV_CritSection );
91 TRACE(x11, "Ret XF86DGAInstallColormap\n");
92 return r;
95 Status TSXF86DGAQueryDirectVideo(Display*a0,int a1,int *a2)
97 Status r;
98 TRACE(x11, "Call XF86DGAQueryDirectVideo\n");
99 EnterCriticalSection( &X11DRV_CritSection );
100 r = XF86DGAQueryDirectVideo(a0,a1,a2);
101 LeaveCriticalSection( &X11DRV_CritSection );
102 TRACE(x11, "Ret XF86DGAQueryDirectVideo\n");
103 return r;
106 Status TSXF86DGAViewPortChanged(Display*a0,int a1,int a2)
108 Status r;
109 TRACE(x11, "Call XF86DGAViewPortChanged\n");
110 EnterCriticalSection( &X11DRV_CritSection );
111 r = XF86DGAViewPortChanged(a0,a1,a2);
112 LeaveCriticalSection( &X11DRV_CritSection );
113 TRACE(x11, "Ret XF86DGAViewPortChanged\n");
114 return r;
117 #endif /* defined(HAVE_LIBXXF86DGA) */
119 #endif /* !defined(X_DISPLAY_MISSING) */