comparison src/video/Xext/extensions/xf86dga1.h @ 1662:782fd950bd46 SDL-1.3

Revamp of the video system in progress - adding support for multiple displays, multiple windows, and a full video mode selection API. WARNING: None of the video drivers have been updated for the new API yet! The API is still under design and very fluid. The code is now run through a consistent indent format: indent -i4 -nut -nsc -br -ce The headers are being converted to automatically generate doxygen documentation.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 28 May 2006 13:04:16 +0000
parents 585a7e1285ae
children 4da1ee79c9af
comparison
equal deleted inserted replaced
1661:281d3f4870e5 1662:782fd950bd46
39 39
40 40
41 41
42 #ifndef _XF86DGA_SERVER_ 42 #ifndef _XF86DGA_SERVER_
43 43
44 _XFUNCPROTOBEGIN 44 _XFUNCPROTOBEGIN Bool SDL_NAME (XF86DGAQueryVersion) (
45 #if NeedFunctionPrototypes
46 Display * /* dpy */ ,
47 int *
48 /* majorVersion */ ,
49 int * /* minorVersion */
50 #endif
51 );
45 52
46 Bool SDL_NAME(XF86DGAQueryVersion)( 53 Bool SDL_NAME (XF86DGAQueryExtension) (
47 #if NeedFunctionPrototypes 54 #if NeedFunctionPrototypes
48 Display* /* dpy */, 55 Display * /* dpy */ ,
49 int* /* majorVersion */, 56 int * /* event_base */ ,
50 int* /* minorVersion */ 57 int * /* error_base */
51 #endif 58 #endif
52 ); 59 );
53 60
54 Bool SDL_NAME(XF86DGAQueryExtension)( 61 Status SDL_NAME (XF86DGAGetVideoLL) (
55 #if NeedFunctionPrototypes 62 #if NeedFunctionPrototypes
56 Display* /* dpy */, 63 Display * /* dpy */ ,
57 int* /* event_base */, 64 int /* screen */ ,
58 int* /* error_base */ 65 int * /* base addr */ ,
66 int * /* width */ ,
67 int * /* bank_size */ ,
68 int * /* ram_size */
59 #endif 69 #endif
60 ); 70 );
61 71
62 Status SDL_NAME(XF86DGAGetVideoLL)( 72 Status SDL_NAME (XF86DGAGetVideo) (
63 #if NeedFunctionPrototypes 73 #if NeedFunctionPrototypes
64 Display* /* dpy */, 74 Display * /* dpy */ ,
65 int /* screen */, 75 int /* screen */ ,
66 int * /* base addr */, 76 char ** /* base addr */ ,
67 int * /* width */, 77 int * /* width */ ,
68 int * /* bank_size */, 78 int * /* bank_size */ ,
69 int * /* ram_size */ 79 int * /* ram_size */
70 #endif 80 #endif
71 ); 81 );
72 82
73 Status SDL_NAME(XF86DGAGetVideo)( 83 Status SDL_NAME (XF86DGADirectVideo) (
74 #if NeedFunctionPrototypes 84 #if NeedFunctionPrototypes
75 Display* /* dpy */, 85 Display * /* dpy */ ,
76 int /* screen */, 86 int /* screen */ ,
77 char ** /* base addr */, 87 int /* enable */
78 int * /* width */,
79 int * /* bank_size */,
80 int * /* ram_size */
81 #endif 88 #endif
82 ); 89 );
83 90
84 Status SDL_NAME(XF86DGADirectVideo)( 91 Status SDL_NAME (XF86DGADirectVideoLL) (
85 #if NeedFunctionPrototypes 92 #if NeedFunctionPrototypes
86 Display* /* dpy */, 93 Display * /* dpy */ ,
87 int /* screen */, 94 int /* screen */ ,
88 int /* enable */ 95 int /* enable */
89 #endif 96 #endif
90 ); 97 );
91 98
92 Status SDL_NAME(XF86DGADirectVideoLL)( 99 Status SDL_NAME (XF86DGAGetViewPortSize) (
93 #if NeedFunctionPrototypes 100 #if NeedFunctionPrototypes
94 Display* /* dpy */, 101 Display * /* dpy */ ,
95 int /* screen */, 102 int /* screen */ ,
96 int /* enable */ 103 int * /* width */ ,
104 int * /* height */
97 #endif 105 #endif
98 ); 106 );
99 107
100 Status SDL_NAME(XF86DGAGetViewPortSize)( 108 Status SDL_NAME (XF86DGASetViewPort) (
101 #if NeedFunctionPrototypes 109 #if NeedFunctionPrototypes
102 Display* /* dpy */, 110 Display * /* dpy */ ,
103 int /* screen */, 111 int /* screen */ ,
104 int * /* width */, 112 int x /* X */ ,
105 int * /* height */ 113 int y /* Y */
106 #endif 114 #endif
107 ); 115 );
108 116
109 Status SDL_NAME(XF86DGASetViewPort)( 117 Status SDL_NAME (XF86DGAGetVidPage) (
110 #if NeedFunctionPrototypes 118 #if NeedFunctionPrototypes
111 Display* /* dpy */, 119 Display * /* dpy */ ,
112 int /* screen */, 120 int /* screen */ ,
113 int x /* X */, 121 int * /* vid page */
114 int y /* Y */
115 #endif 122 #endif
116 ); 123 );
117 124
118 Status SDL_NAME(XF86DGAGetVidPage)( 125 Status SDL_NAME (XF86DGASetVidPage) (
119 #if NeedFunctionPrototypes 126 #if NeedFunctionPrototypes
120 Display* /* dpy */, 127 Display * /* dpy */ ,
121 int /* screen */, 128 int /* screen */ ,
122 int * /* vid page */ 129 int /* vid page */
123 #endif 130 #endif
124 ); 131 );
125 132
126 Status SDL_NAME(XF86DGASetVidPage)( 133 Status SDL_NAME (XF86DGAInstallColormap) (
127 #if NeedFunctionPrototypes 134 #if NeedFunctionPrototypes
128 Display* /* dpy */, 135 Display * /* dpy */ ,
129 int /* screen */, 136 int /* screen */ ,
130 int /* vid page */ 137 Colormap /*Colormap */
131 #endif 138 #endif
132 ); 139 );
133 140
134 Status SDL_NAME(XF86DGAInstallColormap)( 141 int SDL_NAME (XF86DGAForkApp) (
135 #if NeedFunctionPrototypes 142 #if NeedFunctionPrototypes
136 Display* /* dpy */, 143 int screen
137 int /* screen */,
138 Colormap /*Colormap */
139 #endif 144 #endif
140 ); 145 );
141 146
142 int SDL_NAME(XF86DGAForkApp)( 147 Status SDL_NAME (XF86DGAQueryDirectVideo) (
143 #if NeedFunctionPrototypes 148 #if NeedFunctionPrototypes
144 int screen 149 Display * /* dpy */ ,
150 int /* screen */ ,
151 int * /* flags */
145 #endif 152 #endif
146 ); 153 );
147 154
148 Status SDL_NAME(XF86DGAQueryDirectVideo)( 155 Bool SDL_NAME (XF86DGAViewPortChanged) (
149 #if NeedFunctionPrototypes 156 #if NeedFunctionPrototypes
150 Display * /* dpy */, 157 Display * /* dpy */ ,
151 int /* screen */, 158 int /* screen */ ,
152 int * /* flags */ 159 int /* n */
153 #endif 160 #endif
154 ); 161 );
155
156 Bool SDL_NAME(XF86DGAViewPortChanged)(
157 #if NeedFunctionPrototypes
158 Display * /* dpy */,
159 int /* screen */,
160 int /* n */
161 #endif
162 );
163 162
164 163
165 _XFUNCPROTOEND 164 _XFUNCPROTOEND
166
167 #endif /* _XF86DGA_SERVER_ */ 165 #endif /* _XF86DGA_SERVER_ */
168
169 #endif /* _XF86DGA1_H_ */ 166 #endif /* _XF86DGA1_H_ */
167 /* vi: set ts=4 sw=4 expandtab: */