Mercurial > sdl-ios-xcode
annotate docs/html/sdlvideoinfo.html @ 551:b0c5a13a4243
Doh! Compile error if there was no X11 shared image support
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 02 Dec 2002 01:47:03 +0000 |
parents | e5bc29de3f0a |
children | 355632dca928 |
rev | line source |
---|---|
0 | 1 <HTML |
2 ><HEAD | |
3 ><TITLE | |
4 >SDL_VideoInfo</TITLE | |
5 ><META | |
6 NAME="GENERATOR" | |
55
55f1f1b3e27d
Added new docs for SDL 1.2.1
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
7 CONTENT="Modular DocBook HTML Stylesheet Version 1.64 |
0 | 8 "><LINK |
9 REL="HOME" | |
10 TITLE="SDL Library Documentation" | |
11 HREF="index.html"><LINK | |
12 REL="UP" | |
13 TITLE="Video" | |
14 HREF="video.html"><LINK | |
15 REL="PREVIOUS" | |
16 TITLE="SDL_Surface" | |
17 HREF="sdlsurface.html"><LINK | |
18 REL="NEXT" | |
19 TITLE="SDL_Overlay" | |
20 HREF="sdloverlay.html"></HEAD | |
21 ><BODY | |
22 CLASS="REFENTRY" | |
23 BGCOLOR="#FFF8DC" | |
24 TEXT="#000000" | |
25 LINK="#0000ee" | |
26 VLINK="#551a8b" | |
27 ALINK="#ff0000" | |
28 ><DIV | |
29 CLASS="NAVHEADER" | |
30 ><TABLE | |
31 WIDTH="100%" | |
32 BORDER="0" | |
33 CELLPADDING="0" | |
34 CELLSPACING="0" | |
35 ><TR | |
36 ><TH | |
37 COLSPAN="3" | |
38 ALIGN="center" | |
39 >SDL Library Documentation</TH | |
40 ></TR | |
41 ><TR | |
42 ><TD | |
43 WIDTH="10%" | |
44 ALIGN="left" | |
45 VALIGN="bottom" | |
46 ><A | |
47 HREF="sdlsurface.html" | |
48 >Prev</A | |
49 ></TD | |
50 ><TD | |
51 WIDTH="80%" | |
52 ALIGN="center" | |
53 VALIGN="bottom" | |
54 ></TD | |
55 ><TD | |
56 WIDTH="10%" | |
57 ALIGN="right" | |
58 VALIGN="bottom" | |
59 ><A | |
60 HREF="sdloverlay.html" | |
61 >Next</A | |
62 ></TD | |
63 ></TR | |
64 ></TABLE | |
65 ><HR | |
66 ALIGN="LEFT" | |
67 WIDTH="100%"></DIV | |
68 ><H1 | |
69 ><A | |
70 NAME="SDLVIDEOINFO" | |
71 >SDL_VideoInfo</A | |
72 ></H1 | |
73 ><DIV | |
74 CLASS="REFNAMEDIV" | |
75 ><A | |
181
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
76 NAME="AEN3006" |
0 | 77 ></A |
78 ><H2 | |
79 >Name</H2 | |
80 >SDL_VideoInfo -- Video Target information</DIV | |
81 ><DIV | |
82 CLASS="REFSECT1" | |
83 ><A | |
181
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
84 NAME="AEN3009" |
0 | 85 ></A |
86 ><H2 | |
87 >Structure Definition</H2 | |
88 ><PRE | |
89 CLASS="PROGRAMLISTING" | |
90 >typedef struct{ | |
91 Uint32 hw_available:1; | |
92 Uint32 wm_available:1; | |
93 Uint32 blit_hw:1; | |
94 Uint32 blit_hw_CC:1; | |
95 Uint32 blit_hw_A:1; | |
96 Uint32 blit_sw:1; | |
97 Uint32 blit_sw_CC:1; | |
98 Uint32 blit_sw_A:1; | |
99 Uint32 blit_fill; | |
100 Uint32 video_mem; | |
101 SDL_PixelFormat *vfmt; | |
102 } SDL_VideoInfo;</PRE | |
103 ></DIV | |
104 ><DIV | |
105 CLASS="REFSECT1" | |
106 ><A | |
181
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
107 NAME="AEN3012" |
0 | 108 ></A |
109 ><H2 | |
110 >Structure Data</H2 | |
111 ><DIV | |
112 CLASS="INFORMALTABLE" | |
113 ><A | |
181
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
114 NAME="AEN3014" |
0 | 115 ></A |
116 ><P | |
117 ></P | |
118 ><TABLE | |
119 BORDER="0" | |
120 CLASS="CALSTABLE" | |
121 ><TBODY | |
122 ><TR | |
123 ><TD | |
124 ALIGN="LEFT" | |
125 VALIGN="TOP" | |
126 ><TT | |
127 CLASS="STRUCTFIELD" | |
128 ><I | |
129 >hw_available</I | |
130 ></TT | |
131 ></TD | |
132 ><TD | |
133 ALIGN="LEFT" | |
134 VALIGN="TOP" | |
135 >Is it possible to create hardware surfaces?</TD | |
136 ></TR | |
137 ><TR | |
138 ><TD | |
139 ALIGN="LEFT" | |
140 VALIGN="TOP" | |
141 ><TT | |
142 CLASS="STRUCTFIELD" | |
143 ><I | |
144 >wm_available</I | |
145 ></TT | |
146 ></TD | |
147 ><TD | |
148 ALIGN="LEFT" | |
149 VALIGN="TOP" | |
150 >Is there a window manager available</TD | |
151 ></TR | |
152 ><TR | |
153 ><TD | |
154 ALIGN="LEFT" | |
155 VALIGN="TOP" | |
156 ><TT | |
157 CLASS="STRUCTFIELD" | |
158 ><I | |
159 >blit_hw</I | |
160 ></TT | |
161 ></TD | |
162 ><TD | |
163 ALIGN="LEFT" | |
164 VALIGN="TOP" | |
165 >Are hardware to hardware blits accelerated?</TD | |
166 ></TR | |
167 ><TR | |
168 ><TD | |
169 ALIGN="LEFT" | |
170 VALIGN="TOP" | |
171 ><TT | |
172 CLASS="STRUCTFIELD" | |
173 ><I | |
174 >blit_hw_CC</I | |
175 ></TT | |
176 ></TD | |
177 ><TD | |
178 ALIGN="LEFT" | |
179 VALIGN="TOP" | |
180 >Are hardware to hardware colorkey blits accelerated?</TD | |
181 ></TR | |
182 ><TR | |
183 ><TD | |
184 ALIGN="LEFT" | |
185 VALIGN="TOP" | |
186 ><TT | |
187 CLASS="STRUCTFIELD" | |
188 ><I | |
189 >blit_hw_A</I | |
190 ></TT | |
191 ></TD | |
192 ><TD | |
193 ALIGN="LEFT" | |
194 VALIGN="TOP" | |
195 >Are hardware to hardware alpha blits accelerated?</TD | |
196 ></TR | |
197 ><TR | |
198 ><TD | |
199 ALIGN="LEFT" | |
200 VALIGN="TOP" | |
201 ><TT | |
202 CLASS="STRUCTFIELD" | |
203 ><I | |
204 >blit_sw</I | |
205 ></TT | |
206 ></TD | |
207 ><TD | |
208 ALIGN="LEFT" | |
209 VALIGN="TOP" | |
210 >Are software to hardware blits accelerated?</TD | |
211 ></TR | |
212 ><TR | |
213 ><TD | |
214 ALIGN="LEFT" | |
215 VALIGN="TOP" | |
216 ><TT | |
217 CLASS="STRUCTFIELD" | |
218 ><I | |
219 >blit_sw_CC</I | |
220 ></TT | |
221 ></TD | |
222 ><TD | |
223 ALIGN="LEFT" | |
224 VALIGN="TOP" | |
225 >Are software to hardware colorkey blits accelerated?</TD | |
226 ></TR | |
227 ><TR | |
228 ><TD | |
229 ALIGN="LEFT" | |
230 VALIGN="TOP" | |
231 ><TT | |
232 CLASS="STRUCTFIELD" | |
233 ><I | |
234 >blit_sw_A</I | |
235 ></TT | |
236 ></TD | |
237 ><TD | |
238 ALIGN="LEFT" | |
239 VALIGN="TOP" | |
240 >Are software to hardware alpha blits accelerated?</TD | |
241 ></TR | |
242 ><TR | |
243 ><TD | |
244 ALIGN="LEFT" | |
245 VALIGN="TOP" | |
246 ><TT | |
247 CLASS="STRUCTFIELD" | |
248 ><I | |
249 >blit_fill</I | |
250 ></TT | |
251 ></TD | |
252 ><TD | |
253 ALIGN="LEFT" | |
254 VALIGN="TOP" | |
255 >Are color fills accelerated?</TD | |
256 ></TR | |
257 ><TR | |
258 ><TD | |
259 ALIGN="LEFT" | |
260 VALIGN="TOP" | |
261 ><TT | |
262 CLASS="STRUCTFIELD" | |
263 ><I | |
264 >video_mem</I | |
265 ></TT | |
266 ></TD | |
267 ><TD | |
268 ALIGN="LEFT" | |
269 VALIGN="TOP" | |
270 >Total amount of video memory in Kilobytes</TD | |
271 ></TR | |
272 ><TR | |
273 ><TD | |
274 ALIGN="LEFT" | |
275 VALIGN="TOP" | |
276 ><TT | |
277 CLASS="STRUCTFIELD" | |
278 ><I | |
279 >vfmt</I | |
280 ></TT | |
281 ></TD | |
282 ><TD | |
283 ALIGN="LEFT" | |
284 VALIGN="TOP" | |
285 ><A | |
286 HREF="sdlpixelformat.html" | |
287 >Pixel format</A | |
288 > of the video device</TD | |
289 ></TR | |
290 ></TBODY | |
291 ></TABLE | |
292 ><P | |
293 ></P | |
294 ></DIV | |
295 ></DIV | |
296 ><DIV | |
297 CLASS="REFSECT1" | |
298 ><A | |
181
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
299 NAME="AEN3062" |
0 | 300 ></A |
301 ><H2 | |
302 >Description</H2 | |
303 ><P | |
304 >This (read-only) structure is returned by <A | |
305 HREF="sdlgetvideoinfo.html" | |
306 ><TT | |
307 CLASS="FUNCTION" | |
308 >SDL_GetVideoInfo</TT | |
309 ></A | |
310 >. It contains information on either the 'best' available mode (if called before <A | |
311 HREF="sdlsetvideomode.html" | |
312 ><TT | |
313 CLASS="FUNCTION" | |
314 >SDL_SetVideoMode</TT | |
315 ></A | |
316 >) or the current video mode.</P | |
317 ></DIV | |
318 ><DIV | |
319 CLASS="REFSECT1" | |
320 ><A | |
181
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
321 NAME="AEN3069" |
0 | 322 ></A |
323 ><H2 | |
324 >See Also</H2 | |
325 ><P | |
326 ><A | |
327 HREF="sdlpixelformat.html" | |
328 ><SPAN | |
329 CLASS="STRUCTNAME" | |
330 >SDL_PixelFormat</SPAN | |
331 ></A | |
332 >, | |
333 <A | |
334 HREF="sdlgetvideoinfo.html" | |
335 ><TT | |
336 CLASS="FUNCTION" | |
337 >SDL_GetVideoInfo</TT | |
338 ></A | |
339 ></P | |
340 ></DIV | |
341 ><DIV | |
342 CLASS="NAVFOOTER" | |
343 ><HR | |
344 ALIGN="LEFT" | |
345 WIDTH="100%"><TABLE | |
346 WIDTH="100%" | |
347 BORDER="0" | |
348 CELLPADDING="0" | |
349 CELLSPACING="0" | |
350 ><TR | |
351 ><TD | |
352 WIDTH="33%" | |
353 ALIGN="left" | |
354 VALIGN="top" | |
355 ><A | |
356 HREF="sdlsurface.html" | |
357 >Prev</A | |
358 ></TD | |
359 ><TD | |
360 WIDTH="34%" | |
361 ALIGN="center" | |
362 VALIGN="top" | |
363 ><A | |
364 HREF="index.html" | |
365 >Home</A | |
366 ></TD | |
367 ><TD | |
368 WIDTH="33%" | |
369 ALIGN="right" | |
370 VALIGN="top" | |
371 ><A | |
372 HREF="sdloverlay.html" | |
373 >Next</A | |
374 ></TD | |
375 ></TR | |
376 ><TR | |
377 ><TD | |
378 WIDTH="33%" | |
379 ALIGN="left" | |
380 VALIGN="top" | |
381 >SDL_Surface</TD | |
382 ><TD | |
383 WIDTH="34%" | |
384 ALIGN="center" | |
385 VALIGN="top" | |
386 ><A | |
387 HREF="video.html" | |
388 >Up</A | |
389 ></TD | |
390 ><TD | |
391 WIDTH="33%" | |
392 ALIGN="right" | |
393 VALIGN="top" | |
394 >SDL_Overlay</TD | |
395 ></TR | |
396 ></TABLE | |
397 ></DIV | |
398 ></BODY | |
399 ></HTML | |
400 > |