2 * Thread safe wrappers around xf86vmode calls.
3 * This file was generated automatically by tools/make_X11wrappers
9 #ifndef X_DISPLAY_MISSING
12 #ifdef HAVE_LIBXXF86VM
16 #include <X11/extensions/xf86vmode.h>
20 Bool
TSXF86VidModeQueryVersion(Display
*a0
,int*a1
,int*a2
)
23 TRACE(x11
, "Call XF86VidModeQueryVersion\n");
24 EnterCriticalSection( &X11DRV_CritSection
);
25 r
= XF86VidModeQueryVersion(a0
,a1
,a2
);
26 LeaveCriticalSection( &X11DRV_CritSection
);
27 TRACE(x11
, "Ret XF86VidModeQueryVersion\n");
31 Bool
TSXF86VidModeQueryExtension(Display
*a0
,int*a1
,int*a2
)
34 TRACE(x11
, "Call XF86VidModeQueryExtension\n");
35 EnterCriticalSection( &X11DRV_CritSection
);
36 r
= XF86VidModeQueryExtension(a0
,a2
,a2
);
37 LeaveCriticalSection( &X11DRV_CritSection
);
38 TRACE(x11
, "Ret XF86VidModeQueryExtension\n");
42 Bool
TSXF86VidModeGetModeLine(Display
*a0
,int a1
,int*a2
,XF86VidModeModeLine
*a3
)
45 TRACE(x11
, "Call XF86VidModeGetModeLine\n");
46 EnterCriticalSection( &X11DRV_CritSection
);
47 r
= XF86VidModeGetModeLine(a0
,a1
,a2
,a3
);
48 LeaveCriticalSection( &X11DRV_CritSection
);
49 TRACE(x11
, "Ret XF86VidModeGetModeLine\n");
53 Bool
TSXF86VidModeGetAllModeLines(Display
*a0
,int a1
,int*a2
,XF86VidModeModeInfo
***a3
)
56 TRACE(x11
, "Call XF86VidModeGetAllModeLines\n");
57 EnterCriticalSection( &X11DRV_CritSection
);
58 r
= XF86VidModeGetAllModeLines(a0
,a1
,a2
,a3
);
59 LeaveCriticalSection( &X11DRV_CritSection
);
60 TRACE(x11
, "Ret XF86VidModeGetAllModeLines\n");
64 Bool
TSXF86VidModeAddModeLine(Display
*a0
,int a1
,XF86VidModeModeInfo
*a2
,XF86VidModeModeInfo
*a3
)
67 TRACE(x11
, "Call XF86VidModeAddModeLine\n");
68 EnterCriticalSection( &X11DRV_CritSection
);
69 r
= XF86VidModeAddModeLine(a0
,a1
,a2
,a3
);
70 LeaveCriticalSection( &X11DRV_CritSection
);
71 TRACE(x11
, "Ret XF86VidModeAddModeLine\n");
75 Bool
TSXF86VidModeDeleteModeLine(Display
*a0
,int a1
,XF86VidModeModeInfo
*a2
)
78 TRACE(x11
, "Call XF86VidModeDeleteModeLine\n");
79 EnterCriticalSection( &X11DRV_CritSection
);
80 r
= XF86VidModeDeleteModeLine(a0
,a1
,a2
);
81 LeaveCriticalSection( &X11DRV_CritSection
);
82 TRACE(x11
, "Ret XF86VidModeDeleteModeLine\n");
86 Bool
TSXF86VidModeModModeLine(Display
*a0
,int a1
,XF86VidModeModeLine
*a2
)
89 TRACE(x11
, "Call XF86VidModeModModeLine\n");
90 EnterCriticalSection( &X11DRV_CritSection
);
91 r
= XF86VidModeModModeLine(a0
,a1
,a2
);
92 LeaveCriticalSection( &X11DRV_CritSection
);
93 TRACE(x11
, "Ret XF86VidModeModModeLine\n");
97 Status
TSXF86VidModeValidateModeLine(Display
*a0
,int a1
,XF86VidModeModeInfo
*a2
)
100 TRACE(x11
, "Call XF86VidModeValidateModeLine\n");
101 EnterCriticalSection( &X11DRV_CritSection
);
102 r
= XF86VidModeValidateModeLine(a0
,a1
,a2
);
103 LeaveCriticalSection( &X11DRV_CritSection
);
104 TRACE(x11
, "Ret XF86VidModeValidateModeLine\n");
108 Bool
TSXF86VidModeSwitchMode(Display
*a0
,int a1
,int a2
)
111 TRACE(x11
, "Call XF86VidModeSwitchMode\n");
112 EnterCriticalSection( &X11DRV_CritSection
);
113 r
= XF86VidModeSwitchMode(a0
,a1
,a2
);
114 LeaveCriticalSection( &X11DRV_CritSection
);
115 TRACE(x11
, "Ret XF86VidModeSwitchMode\n");
119 Bool
TSXF86VidModeSwitchToMode(Display
*a0
,int a1
,XF86VidModeModeInfo
*a2
)
122 TRACE(x11
, "Call XF86VidModeSwitchToMode\n");
123 EnterCriticalSection( &X11DRV_CritSection
);
124 r
= XF86VidModeSwitchToMode(a0
,a1
,a2
);
125 LeaveCriticalSection( &X11DRV_CritSection
);
126 TRACE(x11
, "Ret XF86VidModeSwitchToMode\n");
130 Bool
TSXF86VidModeLockModeSwitch(Display
*a0
,int a1
,int a2
)
133 TRACE(x11
, "Call XF86VidModeLockModeSwitch\n");
134 EnterCriticalSection( &X11DRV_CritSection
);
135 r
= XF86VidModeLockModeSwitch(a0
,a1
,a2
);
136 LeaveCriticalSection( &X11DRV_CritSection
);
137 TRACE(x11
, "Ret XF86VidModeLockModeSwitch\n");
141 Bool
TSXF86VidModeGetMonitor(Display
*a0
,int a1
,XF86VidModeMonitor
*a2
)
144 TRACE(x11
, "Call XF86VidModeGetMonitor\n");
145 EnterCriticalSection( &X11DRV_CritSection
);
146 r
= XF86VidModeGetMonitor(a0
,a1
,a2
);
147 LeaveCriticalSection( &X11DRV_CritSection
);
148 TRACE(x11
, "Ret XF86VidModeGetMonitor\n");
152 Bool
TSXF86VidModeGetViewPort(Display
*a0
,int a1
,int*a2
,int*a3
)
155 TRACE(x11
, "Call XF86VidModeGetViewPort\n");
156 EnterCriticalSection( &X11DRV_CritSection
);
157 r
= XF86VidModeGetViewPort(a0
,a1
,a2
,a3
);
158 LeaveCriticalSection( &X11DRV_CritSection
);
159 TRACE(x11
, "Ret XF86VidModeGetViewPort\n");
163 Bool
TSXF86VidModeSetViewPort(Display
*a0
,int a1
,int a2
,int a3
)
166 TRACE(x11
, "Call XF86VidModeSetViewPort\n");
167 EnterCriticalSection( &X11DRV_CritSection
);
168 r
= XF86VidModeSetViewPort(a0
,a1
,a2
,a3
);
169 LeaveCriticalSection( &X11DRV_CritSection
);
170 TRACE(x11
, "Ret XF86VidModeSetViewPort\n");
174 #endif /* defined(HAVE_LIBXXF86VM) */
176 #endif /* !defined(X_DISPLAY_MISSING) */