2 * Thread safe wrappers around xf86dga calls.
3 * This file was generated automatically by tools/make_X11wrappers
9 #ifndef X_DISPLAY_MISSING
11 #ifdef HAVE_LIBXXF86DGA
14 #include <X11/extensions/xf86dga.h>
18 Bool
TSXF86DGAQueryVersion(Display
*a0
,int*a1
,int*a2
)
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");
29 Bool
TSXF86DGAQueryExtension(Display
*a0
,int*a1
,int*a2
)
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");
40 Status
TSXF86DGAGetVideo(Display
*a0
,int a1
,char**a2
,int*a3
,int*a4
,int*a5
)
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");
51 Status
TSXF86DGADirectVideo(Display
*a0
,int a1
,int a2
)
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");
62 Status
TSXF86DGAGetViewPortSize(Display
*a0
,int a1
,int *a2
,int *a3
)
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");
73 Status
TSXF86DGASetViewPort(Display
*a0
,int a1
,int a2
,int a3
)
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");
84 Status
TSXF86DGAInstallColormap(Display
*a0
,int a1
,Colormap a2
)
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");
95 Status
TSXF86DGAQueryDirectVideo(Display
*a0
,int a1
,int *a2
)
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");
106 Status
TSXF86DGAViewPortChanged(Display
*a0
,int a1
,int a2
)
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");
117 #endif /* defined(HAVE_LIBXXF86DGA) */
119 #endif /* !defined(X_DISPLAY_MISSING) */