VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/4.3/include/extensions/xf86rush.h@ 49762

Last change on this file since 49762 was 25452, checked in by vboxsync, 15 years ago

Additions/x11: added include files needed for building vboxmouse with XFree86 4.3 and equivalent X.Org versions

  • Property svn:eol-style set to native
File size: 2.7 KB
Line 
1/* $XFree86: xc/include/extensions/xf86rush.h,v 1.4 2000/02/29 03:09:00 dawes Exp $ */
2/*
3
4Copyright (c) 1998 Daryll Strauss
5
6*/
7
8#ifndef _XF86RUSH_H_
9#define _XF86RUSH_H_
10
11#include <X11/extensions/Xv.h>
12#include <X11/Xfuncproto.h>
13
14#define X_XF86RushQueryVersion 0
15#define X_XF86RushLockPixmap 1
16#define X_XF86RushUnlockPixmap 2
17#define X_XF86RushUnlockAllPixmaps 3
18#define X_XF86RushGetCopyMode 4
19#define X_XF86RushSetCopyMode 5
20#define X_XF86RushGetPixelStride 6
21#define X_XF86RushSetPixelStride 7
22#define X_XF86RushOverlayPixmap 8
23#define X_XF86RushStatusRegOffset 9
24#define X_XF86RushAT3DEnableRegs 10
25#define X_XF86RushAT3DDisableRegs 11
26
27#define XF86RushNumberEvents 0
28
29#define XF86RushClientNotLocal 0
30#define XF86RushNumberErrors (XF86RushClientNotLocal + 1)
31
32#ifndef _XF86RUSH_SERVER_
33
34_XFUNCPROTOBEGIN
35
36Bool XF86RushQueryVersion(
37#if NeedFunctionPrototypes
38 Display* /* dpy */,
39 int* /* majorVersion */,
40 int* /* minorVersion */
41#endif
42);
43
44Bool XF86RushQueryExtension(
45#if NeedFunctionPrototypes
46 Display* /* dpy */,
47 int* /* event_base */,
48 int* /* error_base */
49#endif
50);
51
52Bool XF86RushLockPixmap(
53#if NeedFunctionPrototypes
54 Display * /* dpy */,
55 int /* screen */,
56 Pixmap /* Pixmap */,
57 void ** /* Return address */
58#endif
59);
60
61Bool XF86RushUnlockPixmap(
62#if NeedFunctionPrototypes
63 Display * /* dpy */,
64 int /* screen */,
65 Pixmap /* Pixmap */
66#endif
67);
68
69Bool XF86RushUnlockAllPixmaps(
70#if NeedFunctionPrototypes
71 Display * /* dpy */
72#endif
73);
74
75Bool XF86RushSetCopyMode(
76#if NeedFunctionPrototypes
77 Display * /* dpy */,
78 int /* screen */,
79 int /* copy mode */
80#endif
81);
82
83Bool XF86RushSetPixelStride(
84#if NeedFunctionPrototypes
85 Display * /* dpy */,
86 int /* screen */,
87 int /* pixel stride */
88#endif
89);
90
91Bool XF86RushOverlayPixmap(
92#if NeedFunctionPrototypes
93 Display * /* dpy */,
94 XvPortID /* port */,
95 Drawable /* d */,
96 GC /* gc */,
97 Pixmap /* pixmap */,
98 int /* src_x */,
99 int /* src_y */,
100 unsigned int /* src_w */,
101 unsigned int /* src_h */,
102 int /* dest_x */,
103 int /* dest_y */,
104 unsigned int /* dest_w */,
105 unsigned int /* dest_h */,
106 unsigned int /* id */
107#endif
108);
109
110int XF86RushStatusRegOffset(
111#if NeedFunctionPrototypes
112 Display * /* dpy */,
113 int /* screen */
114#endif
115);
116
117Bool XF86RushAT3DEnableRegs(
118#if NeedFunctionPrototypes
119 Display * /* dpy */,
120 int /* screen */
121#endif
122);
123
124Bool XF86RushAT3DDisableRegs(
125#if NeedFunctionPrototypes
126 Display * /* dpy */,
127 int /* screen */
128#endif
129);
130
131_XFUNCPROTOEND
132
133#endif /* _XF86RUSH_SERVER_ */
134
135#endif /* _XF86RUSH_H_ */
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette