Handle non-hardware X events correctly with native USER
[wine/multimedia.git] / tsx11 / ts_xf86dga.c
blobc72586f22b019ae28c81fb4baf28c4dc22774772
1 /*
2 * Thread safe wrappers around xf86dga calls.
3 * This file was generated automatically by tools/make_X11wrappers
4 * DO NOT EDIT!
5 */
6 #include "config.h"
7 #ifdef HAVE_LIBXXF86DGA
9 #include <X11/Xlib.h>
10 #include <X11/extensions/xf86dga.h>
11 #include "x11drv.h"
12 #include "debug.h"
14 Bool TSXF86DGAQueryVersion(Display*a0,int*a1,int*a2)
16 Bool r;
17 TRACE(x11, "Call XF86DGAQueryVersion\n");
18 EnterCriticalSection( &X11DRV_CritSection );
19 r = XF86DGAQueryVersion(a0,a1,a2);
20 LeaveCriticalSection( &X11DRV_CritSection );
21 TRACE(x11, "Ret XF86DGAQueryVersion\n");
22 return r;
25 Bool TSXF86DGAQueryExtension(Display*a0,int*a1,int*a2)
27 Bool r;
28 TRACE(x11, "Call XF86DGAQueryExtension\n");
29 EnterCriticalSection( &X11DRV_CritSection );
30 r = XF86DGAQueryExtension(a0,a1,a2);
31 LeaveCriticalSection( &X11DRV_CritSection );
32 TRACE(x11, "Ret XF86DGAQueryExtension\n");
33 return r;
36 Status TSXF86DGAGetVideo(Display*a0,int a1,char**a2,int*a3,int*a4,int*a5)
38 Status r;
39 TRACE(x11, "Call XF86DGAGetVideo\n");
40 EnterCriticalSection( &X11DRV_CritSection );
41 r = XF86DGAGetVideo(a0,a1,a2,a3,a4,a5);
42 LeaveCriticalSection( &X11DRV_CritSection );
43 TRACE(x11, "Ret XF86DGAGetVideo\n");
44 return r;
47 Status TSXF86DGADirectVideo(Display*a0,int a1,int a2)
49 Status r;
50 TRACE(x11, "Call XF86DGADirectVideo\n");
51 EnterCriticalSection( &X11DRV_CritSection );
52 r = XF86DGADirectVideo(a0,a1,a2);
53 LeaveCriticalSection( &X11DRV_CritSection );
54 TRACE(x11, "Ret XF86DGADirectVideo\n");
55 return r;
58 Status TSXF86DGAGetViewPortSize(Display*a0,int a1,int *a2,int *a3)
60 Status r;
61 TRACE(x11, "Call XF86DGAGetViewPortSize\n");
62 EnterCriticalSection( &X11DRV_CritSection );
63 r = XF86DGAGetViewPortSize(a0,a1,a2,a3);
64 LeaveCriticalSection( &X11DRV_CritSection );
65 TRACE(x11, "Ret XF86DGAGetViewPortSize\n");
66 return r;
69 Status TSXF86DGASetViewPort(Display*a0,int a1,int a2,int a3)
71 Status r;
72 TRACE(x11, "Call XF86DGASetViewPort\n");
73 EnterCriticalSection( &X11DRV_CritSection );
74 r = XF86DGASetViewPort(a0,a1,a2,a3);
75 LeaveCriticalSection( &X11DRV_CritSection );
76 TRACE(x11, "Ret XF86DGASetViewPort\n");
77 return r;
80 Status TSXF86DGAInstallColormap(Display*a0,int a1,Colormap a2)
82 Status r;
83 TRACE(x11, "Call XF86DGAInstallColormap\n");
84 EnterCriticalSection( &X11DRV_CritSection );
85 r = XF86DGAInstallColormap(a0,a1,a2);
86 LeaveCriticalSection( &X11DRV_CritSection );
87 TRACE(x11, "Ret XF86DGAInstallColormap\n");
88 return r;
91 Status TSXF86DGAQueryDirectVideo(Display*a0,int a1,int *a2)
93 Status r;
94 TRACE(x11, "Call XF86DGAQueryDirectVideo\n");
95 EnterCriticalSection( &X11DRV_CritSection );
96 r = XF86DGAQueryDirectVideo(a0,a1,a2);
97 LeaveCriticalSection( &X11DRV_CritSection );
98 TRACE(x11, "Ret XF86DGAQueryDirectVideo\n");
99 return r;
102 Status TSXF86DGAViewPortChanged(Display*a0,int a1,int a2)
104 Status r;
105 TRACE(x11, "Call XF86DGAViewPortChanged\n");
106 EnterCriticalSection( &X11DRV_CritSection );
107 r = XF86DGAViewPortChanged(a0,a1,a2);
108 LeaveCriticalSection( &X11DRV_CritSection );
109 TRACE(x11, "Ret XF86DGAViewPortChanged\n");
110 return r;
112 #endif