Mercurial > sdl-ios-xcode
annotate docs/html/sdlglattr.html @ 701:aaf3b8af6616
Date: Sat, 30 Aug 2003 16:28:10 +0300
From: "Mike Gorchak"
Subject: Re: SDL 1.2.6
- minor changes about shared library building under QNX6 into README.QNX
- added forgotten libSDLmain.a into distribution, SDL.qpg.in
- added header guards to the all headers.
- fixed fullscreen double buffered mode.
- fixed Photon crashes after/during using fullscreen OpenGL modes.
- added GL_MakeCurrent function.
- added SDL_VIDEOEXPOSE event, when OpenGL window have been resized
- added more HAVE_OPENGL checks to avoid dead code compilation without using OpenGL
- finished code reorganization (began into previous patches).
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 30 Aug 2003 17:07:59 +0000 |
parents | e5bc29de3f0a |
children | 355632dca928 |
rev | line source |
---|---|
0 | 1 <HTML |
2 ><HEAD | |
3 ><TITLE | |
4 >SDL_GLattr</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_FreeYUVOverlay" | |
17 HREF="sdlfreeyuvoverlay.html"><LINK | |
18 REL="NEXT" | |
19 TITLE="SDL_Rect" | |
20 HREF="sdlrect.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="sdlfreeyuvoverlay.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="sdlrect.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="SDLGLATTR" | |
71 >SDL_GLattr</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="AEN2587" |
0 | 77 ></A |
78 ><H2 | |
79 >Name</H2 | |
80 >SDL_GLattr -- SDL GL Attributes</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="AEN2590" |
0 | 85 ></A |
86 ><H2 | |
87 >Attributes</H2 | |
88 ><DIV | |
89 CLASS="INFORMALTABLE" | |
90 ><A | |
181
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
91 NAME="AEN2592" |
0 | 92 ></A |
93 ><P | |
94 ></P | |
95 ><TABLE | |
96 BORDER="0" | |
97 CLASS="CALSTABLE" | |
98 ><TBODY | |
99 ><TR | |
100 ><TD | |
101 ALIGN="LEFT" | |
102 VALIGN="TOP" | |
103 ><TT | |
104 CLASS="LITERAL" | |
105 >SDL_GL_RED_SIZE</TT | |
106 ></TD | |
107 ><TD | |
108 ALIGN="LEFT" | |
109 VALIGN="TOP" | |
110 >Size of the framebuffer red component, in bits</TD | |
111 ></TR | |
112 ><TR | |
113 ><TD | |
114 ALIGN="LEFT" | |
115 VALIGN="TOP" | |
116 ><TT | |
117 CLASS="LITERAL" | |
118 >SDL_GL_GREEN_SIZE</TT | |
119 ></TD | |
120 ><TD | |
121 ALIGN="LEFT" | |
122 VALIGN="TOP" | |
123 >Size of the framebuffer green component, in bits</TD | |
124 ></TR | |
125 ><TR | |
126 ><TD | |
127 ALIGN="LEFT" | |
128 VALIGN="TOP" | |
129 ><TT | |
130 CLASS="LITERAL" | |
131 >SDL_GL_BLUE_SIZE</TT | |
132 ></TD | |
133 ><TD | |
134 ALIGN="LEFT" | |
135 VALIGN="TOP" | |
136 >Size of the framebuffer blue component, in bits</TD | |
137 ></TR | |
138 ><TR | |
139 ><TD | |
140 ALIGN="LEFT" | |
141 VALIGN="TOP" | |
142 ><TT | |
143 CLASS="LITERAL" | |
144 >SDL_GL_ALPHA_SIZE</TT | |
145 ></TD | |
146 ><TD | |
147 ALIGN="LEFT" | |
148 VALIGN="TOP" | |
149 >Size of the framebuffer alpha component, in bits</TD | |
150 ></TR | |
151 ><TR | |
152 ><TD | |
153 ALIGN="LEFT" | |
154 VALIGN="TOP" | |
155 ><TT | |
156 CLASS="LITERAL" | |
157 >SDL_GL_DOUBLEBUFFER</TT | |
158 ></TD | |
159 ><TD | |
160 ALIGN="LEFT" | |
161 VALIGN="TOP" | |
162 >0 or 1, enable or disable double buffering</TD | |
163 ></TR | |
164 ><TR | |
165 ><TD | |
166 ALIGN="LEFT" | |
167 VALIGN="TOP" | |
168 ><TT | |
169 CLASS="LITERAL" | |
170 >SDL_GL_BUFFER_SIZE</TT | |
171 ></TD | |
172 ><TD | |
173 ALIGN="LEFT" | |
174 VALIGN="TOP" | |
175 >Size of the framebuffer, in bits</TD | |
176 ></TR | |
177 ><TR | |
178 ><TD | |
179 ALIGN="LEFT" | |
180 VALIGN="TOP" | |
181 ><TT | |
182 CLASS="LITERAL" | |
183 >SDL_GL_DEPTH_SIZE</TT | |
184 ></TD | |
185 ><TD | |
186 ALIGN="LEFT" | |
187 VALIGN="TOP" | |
188 >Size of the depth buffer, in bits</TD | |
189 ></TR | |
190 ><TR | |
191 ><TD | |
192 ALIGN="LEFT" | |
193 VALIGN="TOP" | |
194 ><TT | |
195 CLASS="LITERAL" | |
196 >SDL_GL_STENCIL_SIZE</TT | |
197 ></TD | |
198 ><TD | |
199 ALIGN="LEFT" | |
200 VALIGN="TOP" | |
201 >Size of the stencil buffer, in bits</TD | |
202 ></TR | |
203 ><TR | |
204 ><TD | |
205 ALIGN="LEFT" | |
206 VALIGN="TOP" | |
207 ><TT | |
208 CLASS="LITERAL" | |
209 >SDL_GL_ACCUM_RED_SIZE</TT | |
210 ></TD | |
211 ><TD | |
212 ALIGN="LEFT" | |
213 VALIGN="TOP" | |
214 >Size of the accumulation buffer red component, in bits</TD | |
215 ></TR | |
216 ><TR | |
217 ><TD | |
218 ALIGN="LEFT" | |
219 VALIGN="TOP" | |
220 ><TT | |
221 CLASS="LITERAL" | |
222 >SDL_GL_ACCUM_GREEN_SIZE</TT | |
223 ></TD | |
224 ><TD | |
225 ALIGN="LEFT" | |
226 VALIGN="TOP" | |
227 >Size of the accumulation buffer green component, in bits</TD | |
228 ></TR | |
229 ><TR | |
230 ><TD | |
231 ALIGN="LEFT" | |
232 VALIGN="TOP" | |
233 ><TT | |
234 CLASS="LITERAL" | |
235 >SDL_GL_ACCUM_BLUE_SIZE</TT | |
236 ></TD | |
237 ><TD | |
238 ALIGN="LEFT" | |
239 VALIGN="TOP" | |
240 >Size of the accumulation buffer blue component, in bits</TD | |
241 ></TR | |
242 ><TR | |
243 ><TD | |
244 ALIGN="LEFT" | |
245 VALIGN="TOP" | |
246 ><TT | |
247 CLASS="LITERAL" | |
248 >SDL_GL_ACCUM_ALPHA_SIZE</TT | |
249 ></TD | |
250 ><TD | |
251 ALIGN="LEFT" | |
252 VALIGN="TOP" | |
253 >Size of the accumulation buffer alpha component, in bits</TD | |
254 ></TR | |
255 ></TBODY | |
256 ></TABLE | |
257 ><P | |
258 ></P | |
259 ></DIV | |
260 ></DIV | |
261 ><DIV | |
262 CLASS="REFSECT1" | |
263 ><A | |
181
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
264 NAME="AEN2643" |
0 | 265 ></A |
266 ><H2 | |
267 >Description</H2 | |
268 ><P | |
269 >While you can set most OpenGL attributes normally, the attributes list above must be known <I | |
270 CLASS="EMPHASIS" | |
271 >before</I | |
272 > SDL sets the video mode. These attributes a set and read with <A | |
273 HREF="sdlglsetattribute.html" | |
274 ><TT | |
275 CLASS="FUNCTION" | |
276 >SDL_GL_SetAttribute</TT | |
277 ></A | |
278 > and <A | |
279 HREF="sdlglgetattribute.html" | |
280 ><TT | |
281 CLASS="FUNCTION" | |
282 >SDL_GL_GetAttribute</TT | |
283 ></A | |
284 >.</P | |
285 ></DIV | |
286 ><DIV | |
287 CLASS="REFSECT1" | |
288 ><A | |
181
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
289 NAME="AEN2651" |
0 | 290 ></A |
291 ><H2 | |
292 >See Also</H2 | |
293 ><P | |
294 ><A | |
295 HREF="sdlglsetattribute.html" | |
296 ><TT | |
297 CLASS="FUNCTION" | |
298 >SDL_GL_SetAttribute</TT | |
299 ></A | |
300 >, | |
301 <A | |
302 HREF="sdlglgetattribute.html" | |
303 ><TT | |
304 CLASS="FUNCTION" | |
305 >SDL_GL_GetAttribute</TT | |
306 ></A | |
307 ></P | |
308 ></DIV | |
309 ><DIV | |
310 CLASS="NAVFOOTER" | |
311 ><HR | |
312 ALIGN="LEFT" | |
313 WIDTH="100%"><TABLE | |
314 WIDTH="100%" | |
315 BORDER="0" | |
316 CELLPADDING="0" | |
317 CELLSPACING="0" | |
318 ><TR | |
319 ><TD | |
320 WIDTH="33%" | |
321 ALIGN="left" | |
322 VALIGN="top" | |
323 ><A | |
324 HREF="sdlfreeyuvoverlay.html" | |
325 >Prev</A | |
326 ></TD | |
327 ><TD | |
328 WIDTH="34%" | |
329 ALIGN="center" | |
330 VALIGN="top" | |
331 ><A | |
332 HREF="index.html" | |
333 >Home</A | |
334 ></TD | |
335 ><TD | |
336 WIDTH="33%" | |
337 ALIGN="right" | |
338 VALIGN="top" | |
339 ><A | |
340 HREF="sdlrect.html" | |
341 >Next</A | |
342 ></TD | |
343 ></TR | |
344 ><TR | |
345 ><TD | |
346 WIDTH="33%" | |
347 ALIGN="left" | |
348 VALIGN="top" | |
349 >SDL_FreeYUVOverlay</TD | |
350 ><TD | |
351 WIDTH="34%" | |
352 ALIGN="center" | |
353 VALIGN="top" | |
354 ><A | |
355 HREF="video.html" | |
356 >Up</A | |
357 ></TD | |
358 ><TD | |
359 WIDTH="33%" | |
360 ALIGN="right" | |
361 VALIGN="top" | |
362 >SDL_Rect</TD | |
363 ></TR | |
364 ></TABLE | |
365 ></DIV | |
366 ></BODY | |
367 ></HTML | |
368 > |