Mercurial > sdl-ios-xcode
annotate docs/html/sdldisplayyuvoverlay.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_DisplayYUVOverlay</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_UnlockYUVOverlay" | |
17 HREF="sdlunlockyuvoverlay.html"><LINK | |
18 REL="NEXT" | |
19 TITLE="SDL_FreeYUVOverlay" | |
20 HREF="sdlfreeyuvoverlay.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="sdlunlockyuvoverlay.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="sdlfreeyuvoverlay.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="SDLDISPLAYYUVOVERLAY" | |
71 >SDL_DisplayYUVOverlay</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="AEN2524" |
0 | 77 ></A |
78 ><H2 | |
79 >Name</H2 | |
80 >SDL_DisplayYUVOverlay -- Blit the overlay to the display</DIV | |
81 ><DIV | |
82 CLASS="REFSYNOPSISDIV" | |
83 ><A | |
181
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
84 NAME="AEN2527" |
0 | 85 ></A |
86 ><H2 | |
87 >Synopsis</H2 | |
88 ><DIV | |
89 CLASS="FUNCSYNOPSIS" | |
90 ><A | |
181
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
91 NAME="AEN2528" |
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 >int <B | |
103 CLASS="FSFUNC" | |
104 >SDL_DisplayYUVOverlay</B | |
105 ></CODE | |
106 >(SDL_Overlay *overlay, SDL_Rect *dstrect);</CODE | |
107 ></P | |
108 ><P | |
109 ></P | |
110 ></DIV | |
111 ></DIV | |
112 ><DIV | |
113 CLASS="REFSECT1" | |
114 ><A | |
181
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
115 NAME="AEN2534" |
0 | 116 ></A |
117 ><H2 | |
118 >Description</H2 | |
119 ><P | |
120 >Blit the <TT | |
121 CLASS="PARAMETER" | |
122 ><I | |
123 >overlay</I | |
124 ></TT | |
125 > to the surface specified when it was <A | |
126 HREF="sdlcreateyuvoverlay.html" | |
127 >created</A | |
128 >. The <A | |
129 HREF="sdlrect.html" | |
130 ><SPAN | |
131 CLASS="STRUCTNAME" | |
132 >SDL_Rect</SPAN | |
133 ></A | |
134 > structure, <TT | |
135 CLASS="PARAMETER" | |
136 ><I | |
137 >dstrect</I | |
138 ></TT | |
139 >, specifies the position and size of the destination. If the <TT | |
140 CLASS="PARAMETER" | |
141 ><I | |
142 >dstrect</I | |
143 ></TT | |
144 > is a larger or smaller than the overlay then the overlay will be scaled, this is optimized for 2x scaling.</P | |
145 ></DIV | |
146 ><DIV | |
147 CLASS="REFSECT1" | |
148 ><A | |
181
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
149 NAME="AEN2543" |
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
150 ></A |
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
151 ><H2 |
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
152 >Return Values</H2 |
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
153 ><P |
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
154 >Returns 0 on success</P |
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
155 ></DIV |
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
156 ><DIV |
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
157 CLASS="REFSECT1" |
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
158 ><A |
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
159 NAME="AEN2546" |
0 | 160 ></A |
161 ><H2 | |
162 >See Also</H2 | |
163 ><P | |
164 ><A | |
165 HREF="sdloverlay.html" | |
166 ><SPAN | |
167 CLASS="STRUCTNAME" | |
168 >SDL_Overlay</SPAN | |
169 ></A | |
170 >, | |
171 <A | |
172 HREF="sdlcreateyuvoverlay.html" | |
173 ><TT | |
174 CLASS="FUNCTION" | |
175 >SDL_CreateYUVOverlay</TT | |
176 ></A | |
177 ></P | |
178 ></DIV | |
179 ><DIV | |
180 CLASS="NAVFOOTER" | |
181 ><HR | |
182 ALIGN="LEFT" | |
183 WIDTH="100%"><TABLE | |
184 WIDTH="100%" | |
185 BORDER="0" | |
186 CELLPADDING="0" | |
187 CELLSPACING="0" | |
188 ><TR | |
189 ><TD | |
190 WIDTH="33%" | |
191 ALIGN="left" | |
192 VALIGN="top" | |
193 ><A | |
194 HREF="sdlunlockyuvoverlay.html" | |
195 >Prev</A | |
196 ></TD | |
197 ><TD | |
198 WIDTH="34%" | |
199 ALIGN="center" | |
200 VALIGN="top" | |
201 ><A | |
202 HREF="index.html" | |
203 >Home</A | |
204 ></TD | |
205 ><TD | |
206 WIDTH="33%" | |
207 ALIGN="right" | |
208 VALIGN="top" | |
209 ><A | |
210 HREF="sdlfreeyuvoverlay.html" | |
211 >Next</A | |
212 ></TD | |
213 ></TR | |
214 ><TR | |
215 ><TD | |
216 WIDTH="33%" | |
217 ALIGN="left" | |
218 VALIGN="top" | |
219 >SDL_UnlockYUVOverlay</TD | |
220 ><TD | |
221 WIDTH="34%" | |
222 ALIGN="center" | |
223 VALIGN="top" | |
224 ><A | |
225 HREF="video.html" | |
226 >Up</A | |
227 ></TD | |
228 ><TD | |
229 WIDTH="33%" | |
230 ALIGN="right" | |
231 VALIGN="top" | |
232 >SDL_FreeYUVOverlay</TD | |
233 ></TR | |
234 ></TABLE | |
235 ></DIV | |
236 ></BODY | |
237 ></HTML | |
238 > |