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>
16 #include "debugtools.h"
17 #include "ts_xf86dga.h"
20 DEFAULT_DEBUG_CHANNEL(x11
)
22 Bool
TSXF86DGAQueryVersion(Display
*a0
,int*a1
,int*a2
)
25 TRACE("Call XF86DGAQueryVersion\n");
26 EnterCriticalSection( &X11DRV_CritSection
);
27 r
= XF86DGAQueryVersion(a0
,a1
,a2
);
28 LeaveCriticalSection( &X11DRV_CritSection
);
29 TRACE("Ret XF86DGAQueryVersion\n");
33 Bool
TSXF86DGAQueryExtension(Display
*a0
,int*a1
,int*a2
)
36 TRACE("Call XF86DGAQueryExtension\n");
37 EnterCriticalSection( &X11DRV_CritSection
);
38 r
= XF86DGAQueryExtension(a0
,a1
,a2
);
39 LeaveCriticalSection( &X11DRV_CritSection
);
40 TRACE("Ret XF86DGAQueryExtension\n");
44 Status
TSXF86DGAGetVideo(Display
*a0
,int a1
,char**a2
,int*a3
,int*a4
,int*a5
)
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");
55 Status
TSXF86DGADirectVideo(Display
*a0
,int a1
,int a2
)
58 TRACE("Call XF86DGADirectVideo\n");
59 EnterCriticalSection( &X11DRV_CritSection
);
60 r
= XF86DGADirectVideo(a0
,a1
,a2
);
61 LeaveCriticalSection( &X11DRV_CritSection
);
62 TRACE("Ret XF86DGADirectVideo\n");
66 Status
TSXF86DGAGetViewPortSize(Display
*a0
,int a1
,int *a2
,int *a3
)
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");
77 Status
TSXF86DGASetViewPort(Display
*a0
,int a1
,int a2
,int a3
)
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");
88 Status
TSXF86DGAInstallColormap(Display
*a0
,int a1
,Colormap a2
)
91 TRACE("Call XF86DGAInstallColormap\n");
92 EnterCriticalSection( &X11DRV_CritSection
);
93 r
= XF86DGAInstallColormap(a0
,a1
,a2
);
94 LeaveCriticalSection( &X11DRV_CritSection
);
95 TRACE("Ret XF86DGAInstallColormap\n");
99 Status
TSXF86DGAQueryDirectVideo(Display
*a0
,int a1
,int *a2
)
102 TRACE("Call XF86DGAQueryDirectVideo\n");
103 EnterCriticalSection( &X11DRV_CritSection
);
104 r
= XF86DGAQueryDirectVideo(a0
,a1
,a2
);
105 LeaveCriticalSection( &X11DRV_CritSection
);
106 TRACE("Ret XF86DGAQueryDirectVideo\n");
110 Status
TSXF86DGAViewPortChanged(Display
*a0
,int a1
,int a2
)
113 TRACE("Call XF86DGAViewPortChanged\n");
114 EnterCriticalSection( &X11DRV_CritSection
);
115 r
= XF86DGAViewPortChanged(a0
,a1
,a2
);
116 LeaveCriticalSection( &X11DRV_CritSection
);
117 TRACE("Ret XF86DGAViewPortChanged\n");
121 #endif /* defined(HAVE_LIBXXF86DGA) */
123 #endif /* !defined(X_DISPLAY_MISSING) */