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