VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/XFree86-4.3/X11/extensions/xf86dga1.h@ 99743

Last change on this file since 99743 was 69098, checked in by vboxsync, 7 years ago

Clean up XFree86 driver header files.
bugref:3810: X11 Guest Additions maintenance
Over the years we have cleaned up the layout in the tree of the X.Org
header files we use to build drivers. The XFree86 ones were still in their
original, rather sub-optimal layout. This change fixes that.

  • Property svn:eol-style set to native
File size: 3.2 KB
Line 
1/* $XFree86: xc/include/extensions/xf86dga1.h,v 1.2 1999/04/17 07:05:41 dawes Exp $ */
2/*
3
4Copyright (c) 1995 Jon Tombs
5Copyright (c) 1995 XFree86 Inc
6
7*/
8
9/************************************************************************
10
11 THIS IS THE OLD DGA API AND IS OBSOLETE. PLEASE DO NOT USE IT ANYMORE
12
13************************************************************************/
14
15#ifndef _XF86DGA1_H_
16#define _XF86DGA1_H_
17
18#include <X11/Xfuncproto.h>
19
20#define X_XF86DGAQueryVersion 0
21#define X_XF86DGAGetVideoLL 1
22#define X_XF86DGADirectVideo 2
23#define X_XF86DGAGetViewPortSize 3
24#define X_XF86DGASetViewPort 4
25#define X_XF86DGAGetVidPage 5
26#define X_XF86DGASetVidPage 6
27#define X_XF86DGAInstallColormap 7
28#define X_XF86DGAQueryDirectVideo 8
29#define X_XF86DGAViewPortChanged 9
30
31#define XF86DGADirectPresent 0x0001
32#define XF86DGADirectGraphics 0x0002
33#define XF86DGADirectMouse 0x0004
34#define XF86DGADirectKeyb 0x0008
35#define XF86DGAHasColormap 0x0100
36#define XF86DGADirectColormap 0x0200
37
38
39
40
41#ifndef _XF86DGA_SERVER_
42
43_XFUNCPROTOBEGIN
44
45Bool XF86DGAQueryVersion(
46#if NeedFunctionPrototypes
47 Display* /* dpy */,
48 int* /* majorVersion */,
49 int* /* minorVersion */
50#endif
51);
52
53Bool XF86DGAQueryExtension(
54#if NeedFunctionPrototypes
55 Display* /* dpy */,
56 int* /* event_base */,
57 int* /* error_base */
58#endif
59);
60
61Status XF86DGAGetVideoLL(
62#if NeedFunctionPrototypes
63 Display* /* dpy */,
64 int /* screen */,
65 int * /* base addr */,
66 int * /* width */,
67 int * /* bank_size */,
68 int * /* ram_size */
69#endif
70);
71
72Status XF86DGAGetVideo(
73#if NeedFunctionPrototypes
74 Display* /* dpy */,
75 int /* screen */,
76 char ** /* base addr */,
77 int * /* width */,
78 int * /* bank_size */,
79 int * /* ram_size */
80#endif
81);
82
83Status XF86DGADirectVideo(
84#if NeedFunctionPrototypes
85 Display* /* dpy */,
86 int /* screen */,
87 int /* enable */
88#endif
89);
90
91Status XF86DGADirectVideoLL(
92#if NeedFunctionPrototypes
93 Display* /* dpy */,
94 int /* screen */,
95 int /* enable */
96#endif
97);
98
99Status XF86DGAGetViewPortSize(
100#if NeedFunctionPrototypes
101 Display* /* dpy */,
102 int /* screen */,
103 int * /* width */,
104 int * /* height */
105#endif
106);
107
108Status XF86DGASetViewPort(
109#if NeedFunctionPrototypes
110 Display* /* dpy */,
111 int /* screen */,
112 int x /* X */,
113 int y /* Y */
114#endif
115);
116
117Status XF86DGAGetVidPage(
118#if NeedFunctionPrototypes
119 Display* /* dpy */,
120 int /* screen */,
121 int * /* vid page */
122#endif
123);
124
125Status XF86DGASetVidPage(
126#if NeedFunctionPrototypes
127 Display* /* dpy */,
128 int /* screen */,
129 int /* vid page */
130#endif
131);
132
133Status XF86DGAInstallColormap(
134#if NeedFunctionPrototypes
135 Display* /* dpy */,
136 int /* screen */,
137 Colormap /*Colormap */
138#endif
139);
140
141int XF86DGAForkApp(
142#if NeedFunctionPrototypes
143 int screen
144#endif
145);
146
147Status XF86DGAQueryDirectVideo(
148#if NeedFunctionPrototypes
149 Display * /* dpy */,
150 int /* screen */,
151 int * /* flags */
152#endif
153);
154
155Bool XF86DGAViewPortChanged(
156#if NeedFunctionPrototypes
157 Display * /* dpy */,
158 int /* screen */,
159 int /* n */
160#endif
161);
162
163
164_XFUNCPROTOEND
165
166#endif /* _XF86DGA_SERVER_ */
167
168#endif /* _XF86DGA1_H_ */
Note: See TracBrowser for help on using the repository browser.

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