2 * Thread safe wrappers around xf86dga calls.
3 * This file was generated automatically by tools/make_X11wrappers
9 #ifdef HAVE_LIBXXF86DGA
12 #include <X11/extensions/xf86dga.h>
14 #include "debugtools.h"
15 #include "ts_xf86dga.h"
18 DEFAULT_DEBUG_CHANNEL(x11
)
20 Bool
TSXF86DGAQueryVersion(Display
*a0
,int*a1
,int*a2
)
23 TRACE("Call XF86DGAQueryVersion\n");
24 EnterCriticalSection( &X11DRV_CritSection
);
25 r
= XF86DGAQueryVersion(a0
,a1
,a2
);
26 LeaveCriticalSection( &X11DRV_CritSection
);
27 TRACE("Ret XF86DGAQueryVersion\n");
31 Bool
TSXF86DGAQueryExtension(Display
*a0
,int*a1
,int*a2
)
34 TRACE("Call XF86DGAQueryExtension\n");
35 EnterCriticalSection( &X11DRV_CritSection
);
36 r
= XF86DGAQueryExtension(a0
,a1
,a2
);
37 LeaveCriticalSection( &X11DRV_CritSection
);
38 TRACE("Ret XF86DGAQueryExtension\n");
42 Status
TSXF86DGAGetVideo(Display
*a0
,int a1
,char**a2
,int*a3
,int*a4
,int*a5
)
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");
53 Status
TSXF86DGADirectVideo(Display
*a0
,int a1
,int a2
)
56 TRACE("Call XF86DGADirectVideo\n");
57 EnterCriticalSection( &X11DRV_CritSection
);
58 r
= XF86DGADirectVideo(a0
,a1
,a2
);
59 LeaveCriticalSection( &X11DRV_CritSection
);
60 TRACE("Ret XF86DGADirectVideo\n");
64 Status
TSXF86DGAGetViewPortSize(Display
*a0
,int a1
,int *a2
,int *a3
)
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");
75 Status
TSXF86DGASetViewPort(Display
*a0
,int a1
,int a2
,int a3
)
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");
86 Status
TSXF86DGAInstallColormap(Display
*a0
,int a1
,Colormap a2
)
89 TRACE("Call XF86DGAInstallColormap\n");
90 EnterCriticalSection( &X11DRV_CritSection
);
91 r
= XF86DGAInstallColormap(a0
,a1
,a2
);
92 LeaveCriticalSection( &X11DRV_CritSection
);
93 TRACE("Ret XF86DGAInstallColormap\n");
97 Status
TSXF86DGAQueryDirectVideo(Display
*a0
,int a1
,int *a2
)
100 TRACE("Call XF86DGAQueryDirectVideo\n");
101 EnterCriticalSection( &X11DRV_CritSection
);
102 r
= XF86DGAQueryDirectVideo(a0
,a1
,a2
);
103 LeaveCriticalSection( &X11DRV_CritSection
);
104 TRACE("Ret XF86DGAQueryDirectVideo\n");
108 Status
TSXF86DGAViewPortChanged(Display
*a0
,int a1
,int a2
)
111 TRACE("Call XF86DGAViewPortChanged\n");
112 EnterCriticalSection( &X11DRV_CritSection
);
113 r
= XF86DGAViewPortChanged(a0
,a1
,a2
);
114 LeaveCriticalSection( &X11DRV_CritSection
);
115 TRACE("Ret XF86DGAViewPortChanged\n");
119 #endif /* defined(HAVE_LIBXXF86DGA) */