Bug fixes.
[wine/multimedia.git] / tsx11 / ts_xf86dga.c
blobc28a48fe55fb31cc4dc8acbb7e8dfb2775534a2a
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>
16 #include "debugtools.h"
17 #include "ts_xf86dga.h"
18 #include "x11drv.h"
20 DEFAULT_DEBUG_CHANNEL(x11)
22 Bool TSXF86DGAQueryVersion(Display*a0,int*a1,int*a2)
24 Bool r;
25 TRACE("Call XF86DGAQueryVersion\n");
26 EnterCriticalSection( &X11DRV_CritSection );
27 r = XF86DGAQueryVersion(a0,a1,a2);
28 LeaveCriticalSection( &X11DRV_CritSection );
29 TRACE("Ret XF86DGAQueryVersion\n");
30 return r;
33 Bool TSXF86DGAQueryExtension(Display*a0,int*a1,int*a2)
35 Bool r;
36 TRACE("Call XF86DGAQueryExtension\n");
37 EnterCriticalSection( &X11DRV_CritSection );
38 r = XF86DGAQueryExtension(a0,a1,a2);
39 LeaveCriticalSection( &X11DRV_CritSection );
40 TRACE("Ret XF86DGAQueryExtension\n");
41 return r;
44 Status TSXF86DGAGetVideo(Display*a0,int a1,char**a2,int*a3,int*a4,int*a5)
46 Status r;
47 TRACE("Call XF86DGAGetVideo\n");
48 EnterCriticalSection( &X11DRV_CritSection );
49 r = XF86DGAGetVideo(a0,a1,a2,a3,a4,a5);
50 LeaveCriticalSection( &X11DRV_CritSection );
51 TRACE("Ret XF86DGAGetVideo\n");
52 return r;
55 Status TSXF86DGADirectVideo(Display*a0,int a1,int a2)
57 Status r;
58 TRACE("Call XF86DGADirectVideo\n");
59 EnterCriticalSection( &X11DRV_CritSection );
60 r = XF86DGADirectVideo(a0,a1,a2);
61 LeaveCriticalSection( &X11DRV_CritSection );
62 TRACE("Ret XF86DGADirectVideo\n");
63 return r;
66 Status TSXF86DGAGetViewPortSize(Display*a0,int a1,int *a2,int *a3)
68 Status r;
69 TRACE("Call XF86DGAGetViewPortSize\n");
70 EnterCriticalSection( &X11DRV_CritSection );
71 r = XF86DGAGetViewPortSize(a0,a1,a2,a3);
72 LeaveCriticalSection( &X11DRV_CritSection );
73 TRACE("Ret XF86DGAGetViewPortSize\n");
74 return r;
77 Status TSXF86DGASetViewPort(Display*a0,int a1,int a2,int a3)
79 Status r;
80 TRACE("Call XF86DGASetViewPort\n");
81 EnterCriticalSection( &X11DRV_CritSection );
82 r = XF86DGASetViewPort(a0,a1,a2,a3);
83 LeaveCriticalSection( &X11DRV_CritSection );
84 TRACE("Ret XF86DGASetViewPort\n");
85 return r;
88 Status TSXF86DGAInstallColormap(Display*a0,int a1,Colormap a2)
90 Status r;
91 TRACE("Call XF86DGAInstallColormap\n");
92 EnterCriticalSection( &X11DRV_CritSection );
93 r = XF86DGAInstallColormap(a0,a1,a2);
94 LeaveCriticalSection( &X11DRV_CritSection );
95 TRACE("Ret XF86DGAInstallColormap\n");
96 return r;
99 Status TSXF86DGAQueryDirectVideo(Display*a0,int a1,int *a2)
101 Status r;
102 TRACE("Call XF86DGAQueryDirectVideo\n");
103 EnterCriticalSection( &X11DRV_CritSection );
104 r = XF86DGAQueryDirectVideo(a0,a1,a2);
105 LeaveCriticalSection( &X11DRV_CritSection );
106 TRACE("Ret XF86DGAQueryDirectVideo\n");
107 return r;
110 Status TSXF86DGAViewPortChanged(Display*a0,int a1,int a2)
112 Status r;
113 TRACE("Call XF86DGAViewPortChanged\n");
114 EnterCriticalSection( &X11DRV_CritSection );
115 r = XF86DGAViewPortChanged(a0,a1,a2);
116 LeaveCriticalSection( &X11DRV_CritSection );
117 TRACE("Ret XF86DGAViewPortChanged\n");
118 return r;
121 #endif /* defined(HAVE_LIBXXF86DGA) */
123 #endif /* !defined(X_DISPLAY_MISSING) */