comparison src/video/SDL_sysvideo.h @ 292:eadc0746dfaf

Added SDL_LockRect() and SDL_UnlockRect() Incorporated XFree86 extension libraries into the source
author Sam Lantinga <slouken@libsdl.org>
date Tue, 05 Mar 2002 19:55:32 +0000
parents c5010ab8ba35
children fab1ddc4d7bf
comparison
equal deleted inserted replaced
291:68a8a8237c09 292:eadc0746dfaf
151 int (*SetHWAlpha)(_THIS, SDL_Surface *surface, Uint8 value); 151 int (*SetHWAlpha)(_THIS, SDL_Surface *surface, Uint8 value);
152 152
153 /* Returns a readable/writable surface */ 153 /* Returns a readable/writable surface */
154 int (*LockHWSurface)(_THIS, SDL_Surface *surface); 154 int (*LockHWSurface)(_THIS, SDL_Surface *surface);
155 void (*UnlockHWSurface)(_THIS, SDL_Surface *surface); 155 void (*UnlockHWSurface)(_THIS, SDL_Surface *surface);
156 int (*LockHWSurfaceRect)(_THIS, SDL_Surface *surface, SDL_Rect *rect, void **pixels, int *pitch);
157 void (*UnlockHWSurfaceRect)(_THIS, SDL_Surface *surface);
156 158
157 /* Performs hardware flipping */ 159 /* Performs hardware flipping */
158 int (*FlipHWSurface)(_THIS, SDL_Surface *surface); 160 int (*FlipHWSurface)(_THIS, SDL_Surface *surface);
159 161
160 /* Frees a previously allocated video surface */ 162 /* Frees a previously allocated video surface */