Extended __wine_enter_vm86 to handle pending interrupts.
[wine/multimedia.git] / include / ts_xf86dga2.h
blobf68760a6c050d5915af12264a6ab10d572229b45
1 /*
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
7 */
9 #ifndef __WINE_TS_XF86DGA2_H
10 #define __WINE_TS_XF86DGA2_H
12 #include "config.h"
14 #ifdef HAVE_LIBXXF86DGA2
16 #include <X11/Xlib.h>
17 #include <X11/extensions/xf86dga.h>
19 extern void (*wine_tsx11_lock)(void);
20 extern void (*wine_tsx11_unlock)(void);
22 extern Bool TSXDGAQueryVersion(Display*, int*, int*);
23 extern Bool TSXDGAQueryExtension(Display*, int*, int*);
24 extern XDGAMode* TSXDGAQueryModes(Display*, int, int*);
25 extern XDGADevice* TSXDGASetMode(Display*, int, int);
26 extern Bool TSXDGAOpenFramebuffer(Display*, int);
27 extern void TSXDGACloseFramebuffer(Display*, int);
28 extern void TSXDGASetViewport(Display*, int, int, int, int);
29 extern void TSXDGAInstallColormap(Display*, int, Colormap);
30 extern Colormap TSXDGACreateColormap(Display*, int, XDGADevice*, int);
31 extern void TSXDGASelectInput(Display*, int, long);
32 extern void TSXDGAFillRectangle(Display*, int, int, int, unsigned int, unsigned int, unsigned long);
33 extern void TSXDGACopyArea(Display*, int, int, int, unsigned int, unsigned int, int, int);
34 extern void TSXDGACopyTransparentArea(Display*, int, int, int, unsigned int, unsigned int, int, int, unsigned long);
35 extern int TSXDGAGetViewportStatus(Display*, int);
36 extern void TSXDGASync(Display*, int);
37 extern Bool TSXDGASetClientVersion(Display*);
38 extern void TSXDGAChangePixmapMode(Display*, int, int*, int*, int);
39 extern void TSXDGAKeyEventToXKeyEvent(XDGAKeyEvent*, XKeyEvent*);
41 #endif /* defined(HAVE_LIBXXF86DGA2) */
43 #endif /* __WINE_TS_XF86DGA2_H */