Mercurial > sdl-ios-xcode
annotate docs/html/sdlgetvideoinfo.html @ 106:63ec24e0575f
Merged DGA video surface handling improvements, unified locking code.
Fixed matrox blit bug where src Y less than dst Y
Fixed hardware surface init when no resolution change
author | Sam Lantinga <slouken@lokigames.com> |
---|---|
date | Fri, 13 Jul 2001 10:19:51 +0000 |
parents | 55f1f1b3e27d |
children | e5bc29de3f0a |
rev | line source |
---|---|
0 | 1 <HTML |
2 ><HEAD | |
3 ><TITLE | |
4 >SDL_GetVideoInfo</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_GetVideoSurface" | |
17 HREF="sdlgetvideosurface.html"><LINK | |
18 REL="NEXT" | |
19 TITLE="SDL_VideoDriverName" | |
20 HREF="sdlvideodrivername.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="sdlgetvideosurface.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="sdlvideodrivername.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="SDLGETVIDEOINFO" | |
71 >SDL_GetVideoInfo</A | |
72 ></H1 | |
73 ><DIV | |
74 CLASS="REFNAMEDIV" | |
75 ><A | |
55
55f1f1b3e27d
Added new docs for SDL 1.2.1
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
76 NAME="AEN695" |
0 | 77 ></A |
78 ><H2 | |
79 >Name</H2 | |
80 >SDL_GetVideoInfo -- returns a pointer to information about the video hardware</DIV | |
81 ><DIV | |
82 CLASS="REFSYNOPSISDIV" | |
83 ><A | |
55
55f1f1b3e27d
Added new docs for SDL 1.2.1
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
84 NAME="AEN698" |
0 | 85 ></A |
86 ><H2 | |
87 >Synopsis</H2 | |
88 ><DIV | |
89 CLASS="FUNCSYNOPSIS" | |
90 ><A | |
55
55f1f1b3e27d
Added new docs for SDL 1.2.1
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
91 NAME="AEN699" |
0 | 92 ></A |
93 ><P | |
94 ></P | |
95 ><PRE | |
96 CLASS="FUNCSYNOPSISINFO" | |
97 >#include "SDL.h"</PRE | |
98 ><P | |
99 ><CODE | |
100 ><CODE | |
101 CLASS="FUNCDEF" | |
102 >SDL_VideoInfo *<B | |
103 CLASS="FSFUNC" | |
104 >SDL_GetVideoInfo</B | |
105 ></CODE | |
106 >(void);</CODE | |
107 ></P | |
108 ><P | |
109 ></P | |
110 ></DIV | |
111 ></DIV | |
112 ><DIV | |
113 CLASS="REFSECT1" | |
114 ><A | |
55
55f1f1b3e27d
Added new docs for SDL 1.2.1
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
115 NAME="AEN705" |
0 | 116 ></A |
117 ><H2 | |
118 >Description</H2 | |
119 ><P | |
120 >This function returns a read-only pointer to <A | |
121 HREF="sdlvideoinfo.html" | |
122 >information</A | |
123 > about the video | |
124 hardware. If this is called before <A | |
125 HREF="sdlsetvideomode.html" | |
126 >SDL_SetVideoMode</A | |
127 >, the | |
128 <TT | |
129 CLASS="STRUCTFIELD" | |
130 ><I | |
131 >vfmt</I | |
132 ></TT | |
133 > member of the returned structure will contain the | |
134 pixel format of the "best" video mode.</P | |
135 ></DIV | |
136 ><DIV | |
137 CLASS="REFSECT1" | |
138 ><A | |
55
55f1f1b3e27d
Added new docs for SDL 1.2.1
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
139 NAME="AEN711" |
0 | 140 ></A |
141 ><H2 | |
142 >See Also</H2 | |
143 ><P | |
144 ><A | |
145 HREF="sdlsetvideomode.html" | |
146 ><TT | |
147 CLASS="FUNCTION" | |
148 >SDL_SetVideoMode</TT | |
149 ></A | |
150 >, | |
151 <A | |
152 HREF="sdlvideoinfo.html" | |
153 ><SPAN | |
154 CLASS="STRUCTNAME" | |
155 >SDL_VideoInfo</SPAN | |
156 ></A | |
157 ></P | |
158 ></DIV | |
159 ><DIV | |
160 CLASS="NAVFOOTER" | |
161 ><HR | |
162 ALIGN="LEFT" | |
163 WIDTH="100%"><TABLE | |
164 WIDTH="100%" | |
165 BORDER="0" | |
166 CELLPADDING="0" | |
167 CELLSPACING="0" | |
168 ><TR | |
169 ><TD | |
170 WIDTH="33%" | |
171 ALIGN="left" | |
172 VALIGN="top" | |
173 ><A | |
174 HREF="sdlgetvideosurface.html" | |
175 >Prev</A | |
176 ></TD | |
177 ><TD | |
178 WIDTH="34%" | |
179 ALIGN="center" | |
180 VALIGN="top" | |
181 ><A | |
182 HREF="index.html" | |
183 >Home</A | |
184 ></TD | |
185 ><TD | |
186 WIDTH="33%" | |
187 ALIGN="right" | |
188 VALIGN="top" | |
189 ><A | |
190 HREF="sdlvideodrivername.html" | |
191 >Next</A | |
192 ></TD | |
193 ></TR | |
194 ><TR | |
195 ><TD | |
196 WIDTH="33%" | |
197 ALIGN="left" | |
198 VALIGN="top" | |
199 >SDL_GetVideoSurface</TD | |
200 ><TD | |
201 WIDTH="34%" | |
202 ALIGN="center" | |
203 VALIGN="top" | |
204 ><A | |
205 HREF="video.html" | |
206 >Up</A | |
207 ></TD | |
208 ><TD | |
209 WIDTH="33%" | |
210 ALIGN="right" | |
211 VALIGN="top" | |
212 >SDL_VideoDriverName</TD | |
213 ></TR | |
214 ></TABLE | |
215 ></DIV | |
216 ></BODY | |
217 ></HTML | |
218 > |