2 * Thread safe wrappers around xf86dga2 calls.
3 * Always include this file instead of <X11/xf86dga2.h>.
4 * This file was generated automatically by tools/make_X11wrappers
8 #ifndef __WINE_TS_XF86DGA2_H
9 #define __WINE_TS_XF86DGA2_H
11 #ifndef __WINE_CONFIG_H
12 # error You must include config.h to use this header
15 #ifdef HAVE_LIBXXF86DGA2
18 #include <X11/extensions/xf86dga.h>
20 extern void (*wine_tsx11_lock
)(void);
21 extern void (*wine_tsx11_unlock
)(void);
23 extern Bool
TSXDGAQueryVersion(Display
*, int*, int*);
24 extern Bool
TSXDGAQueryExtension(Display
*, int*, int*);
25 extern XDGAMode
* TSXDGAQueryModes(Display
*, int, int*);
26 extern XDGADevice
* TSXDGASetMode(Display
*, int, int);
27 extern Bool
TSXDGAOpenFramebuffer(Display
*, int);
28 extern void TSXDGACloseFramebuffer(Display
*, int);
29 extern void TSXDGASetViewport(Display
*, int, int, int, int);
30 extern void TSXDGAInstallColormap(Display
*, int, Colormap
);
31 extern Colormap
TSXDGACreateColormap(Display
*, int, XDGADevice
*, int);
32 extern void TSXDGASelectInput(Display
*, int, long);
34 #endif /* defined(HAVE_LIBXXF86DGA2) */
36 #endif /* __WINE_TS_XF86DGA2_H */