comparison src/video/photon/SDL_ph_image_c.h @ 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 8bedd6d61642
children b8d311d90021
comparison
equal deleted inserted replaced
700:c35edafc84d1 701:aaf3b8af6616
18 18
19 Sam Lantinga 19 Sam Lantinga
20 slouken@libsdl.org 20 slouken@libsdl.org
21 */ 21 */
22 22
23 #ifndef __SDL_PH_IMAGE_H__
24 #define __SDL_PH_IMAGE_H__
25
23 #ifdef SAVE_RCSID 26 #ifdef SAVE_RCSID
24 static char rcsid = 27 static char rcsid =
25 "@(#) $Id$"; 28 "@(#) $Id$";
26 #endif 29 #endif /* SAVE_RCSID */
27 30
31 #include "SDL_events_c.h"
28 #include "SDL_ph_video.h" 32 #include "SDL_ph_video.h"
29 33
30 extern int ph_SetupImage(_THIS, SDL_Surface *screen); 34 extern int ph_SetupImage(_THIS, SDL_Surface* screen);
31 extern void ph_DestroyImage(_THIS, SDL_Surface *screen); 35 extern void ph_DestroyImage(_THIS, SDL_Surface* screen);
32 extern int ph_SetupUpdateFunction(_THIS, SDL_Surface *screen, Uint32 flags); 36 extern int ph_SetupUpdateFunction(_THIS, SDL_Surface* screen, Uint32 flags);
33 37
34 extern int ph_AllocHWSurface(_THIS, SDL_Surface *surface); 38 extern int ph_AllocHWSurface(_THIS, SDL_Surface *surface);
35 extern void ph_FreeHWSurface(_THIS, SDL_Surface *surface); 39 extern void ph_FreeHWSurface(_THIS, SDL_Surface *surface);
36 extern int ph_LockHWSurface(_THIS, SDL_Surface *surface); 40 extern int ph_LockHWSurface(_THIS, SDL_Surface *surface);
37 extern void ph_UnlockHWSurface(_THIS, SDL_Surface *surface); 41 extern void ph_UnlockHWSurface(_THIS, SDL_Surface *surface);
39 43
40 extern void ph_NormalUpdate(_THIS, int numrects, SDL_Rect *rects); 44 extern void ph_NormalUpdate(_THIS, int numrects, SDL_Rect *rects);
41 extern void ph_OCUpdate(_THIS, int numrects, SDL_Rect *rects); 45 extern void ph_OCUpdate(_THIS, int numrects, SDL_Rect *rects);
42 extern void ph_OCDCUpdate(_THIS, int numrects, SDL_Rect *rects); 46 extern void ph_OCDCUpdate(_THIS, int numrects, SDL_Rect *rects);
43 extern void ph_OpenGLUpdate(_THIS, int numrects, SDL_Rect *rects); 47 extern void ph_OpenGLUpdate(_THIS, int numrects, SDL_Rect *rects);
48
49 #endif /* __SDL_PH_IMAGE_H__ */