Made DOS VGA display again with last months DDRAW updates.
[wine.git] / tsx11 / ts_xf86dga.c
blobdfe46d84c74614b4e2303a4941a81997963f159f
1 /*
2 * Thread safe wrappers around xf86dga calls.
3 * This file was generated automatically by tools/make_X11wrappers
4 * DO NOT EDIT!
5 */
7 #include "config.h"
9 #ifdef HAVE_LIBXXF86DGA
11 #include <X11/Xlib.h>
12 #include <X11/extensions/xf86dga.h>
14 #include "ts_xf86dga.h"
17 Bool TSXF86DGAQueryVersion(Display*a0,int*a1,int*a2)
19 Bool r;
20 wine_tsx11_lock();
21 r = XF86DGAQueryVersion(a0,a1,a2);
22 wine_tsx11_unlock();
23 return r;
26 Bool TSXF86DGAQueryExtension(Display*a0,int*a1,int*a2)
28 Bool r;
29 wine_tsx11_lock();
30 r = XF86DGAQueryExtension(a0,a1,a2);
31 wine_tsx11_unlock();
32 return r;
35 Status TSXF86DGAGetVideo(Display*a0,int a1,char**a2,int*a3,int*a4,int*a5)
37 Status r;
38 wine_tsx11_lock();
39 r = XF86DGAGetVideo(a0,a1,a2,a3,a4,a5);
40 wine_tsx11_unlock();
41 return r;
44 Status TSXF86DGADirectVideo(Display*a0,int a1,int a2)
46 Status r;
47 wine_tsx11_lock();
48 r = XF86DGADirectVideo(a0,a1,a2);
49 wine_tsx11_unlock();
50 return r;
53 Status TSXF86DGAGetViewPortSize(Display*a0,int a1,int *a2,int *a3)
55 Status r;
56 wine_tsx11_lock();
57 r = XF86DGAGetViewPortSize(a0,a1,a2,a3);
58 wine_tsx11_unlock();
59 return r;
62 Status TSXF86DGASetViewPort(Display*a0,int a1,int a2,int a3)
64 Status r;
65 wine_tsx11_lock();
66 r = XF86DGASetViewPort(a0,a1,a2,a3);
67 wine_tsx11_unlock();
68 return r;
71 Status TSXF86DGAInstallColormap(Display*a0,int a1,Colormap a2)
73 Status r;
74 wine_tsx11_lock();
75 r = XF86DGAInstallColormap(a0,a1,a2);
76 wine_tsx11_unlock();
77 return r;
80 Status TSXF86DGAQueryDirectVideo(Display*a0,int a1,int *a2)
82 Status r;
83 wine_tsx11_lock();
84 r = XF86DGAQueryDirectVideo(a0,a1,a2);
85 wine_tsx11_unlock();
86 return r;
89 Status TSXF86DGAViewPortChanged(Display*a0,int a1,int a2)
91 Status r;
92 wine_tsx11_lock();
93 r = XF86DGAViewPortChanged(a0,a1,a2);
94 wine_tsx11_unlock();
95 return r;
98 #endif /* defined(HAVE_LIBXXF86DGA) */