2 * Thread safe wrappers around xf86dga calls.
3 * This file was generated automatically by tools/make_X11wrappers
7 #ifdef HAVE_LIBXXF86DGA
10 #include <X11/extensions/xf86dga.h>
14 Bool
TSXF86DGAQueryVersion(Display
*a0
,int*a1
,int*a2
)
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");
25 Bool
TSXF86DGAQueryExtension(Display
*a0
,int*a1
,int*a2
)
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");
36 Status
TSXF86DGAGetVideo(Display
*a0
,int a1
,char**a2
,int*a3
,int*a4
,int*a5
)
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");
47 Status
TSXF86DGADirectVideo(Display
*a0
,int a1
,int a2
)
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");
58 Status
TSXF86DGAGetViewPortSize(Display
*a0
,int a1
,int *a2
,int *a3
)
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");
69 Status
TSXF86DGASetViewPort(Display
*a0
,int a1
,int a2
,int a3
)
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");
80 Status
TSXF86DGAInstallColormap(Display
*a0
,int a1
,Colormap a2
)
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");
91 Status
TSXF86DGAQueryDirectVideo(Display
*a0
,int a1
,int *a2
)
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");
102 Status
TSXF86DGAViewPortChanged(Display
*a0
,int a1
,int a2
)
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");