Home | History | Annotate | Download | only in html

Lines Matching full:surface

83 >SDL_LockSurface&nbsp;--&nbsp;Lock a surface for directly access.</DIV
109 >(SDL_Surface *surface);</CODE
126 > sets up a surface for directly
138 >surface-&#62;<TT
149 >surface-&#62;<TT
157 surface, you should use <TT
169 >surface</I
176 surface at any time, and the pixel format of the surface will not change. </P
181 >It should be noted, that since SDL 1.1.8 surface locks are recursive. This means that you can lock a surface multiple times, but each lock must have a match unlock.
186 SDL_LockSurface( surface );
188 /* Surface is locked */
189 /* Direct pixel access on surface here */
191 SDL_LockSurface( surface );
193 /* More direct pixel access on surface */
195 SDL_UnlockSurface( surface );
196 /* Surface is still locked */
197 /* Note: Is versions &#60; 1.1.8, the surface would have been */
200 SDL_UnlockSurface( surface );
201 /* Surface is now unlocked */
224 > if the surface couldn't be locked.</P