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
6 * Copyright 1998 Kristian Nielsen
9 #ifndef __WINE_TS_XF86DGA2_H
10 #define __WINE_TS_XF86DGA2_H
14 #ifndef X_DISPLAY_MISSING
16 #ifdef HAVE_LIBXXF86DGA2
19 #include <X11/extensions/xf86dga.h>
21 extern Bool TSXDGAQueryVersion(Display*, int*, int*);
22 extern Bool TSXDGAQueryExtension(Display*, int*, int*);
23 extern XDGAMode* TSXDGAQueryModes(Display*, int, int*);
24 extern XDGADevice* TSXDGASetMode(Display*, int, int);
25 extern Bool TSXDGAOpenFramebuffer(Display*, int);
26 extern void TSXDGACloseFramebuffer(Display*, int);
27 extern void TSXDGASetViewport(Display*, int, int, int, int);
28 extern void TSXDGAInstallColormap(Display*, int, Colormap);
29 extern Colormap TSXDGACreateColormap(Display*, int, XDGADevice*, int);
30 extern void TSXDGASelectInput(Display*, int, long);
31 extern void TSXDGAFillRectangle(Display*, int, int, int, unsigned int, unsigned int, unsigned long);
32 extern void TSXDGACopyArea(Display*, int, int, int, unsigned int, unsigned int, int, int);
33 extern void TSXDGACopyTransparentArea(Display*, int, int, int, unsigned int, unsigned int, int, int, unsigned long);
34 extern int TSXDGAGetViewportStatus(Display*, int);
35 extern void TSXDGASync(Display*, int);
36 extern Bool TSXDGASetClientVersion(Display*);
37 extern void TSXDGAChangePixmapMode(Display*, int, int*, int*, int);
38 extern void TSXDGAKeyEventToXKeyEvent(XDGAKeyEvent*, XKeyEvent*);
40 #endif /* defined(HAVE_LIBXXF86DGA2) */
42 #endif /* !defined(X_DISPLAY_MISSING) */
44 #endif /* __WINE_TS_XF86DGA2_H */