comparison src/video/photon/SDL_phyuv_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
24 #ifndef __SDL_PH_YUV_H__
25 #define __SDL_PH_YUV_H__
26
23 #ifdef SAVE_RCSID 27 #ifdef SAVE_RCSID
24 static char rcsid = 28 static char rcsid =
25 "@(#) $Id$"; 29 "@(#) $Id$";
26 #endif 30 #endif /* SAVE_RCSID */
27 31
28 /* This is the photon implementation of YUV video overlays */ 32 /* This is the photon implementation of YUV video overlays */
29 33
30 #include "SDL_video.h" 34 #include "SDL_video.h"
31 #include "SDL_ph_video.h" 35 #include "SDL_ph_video.h"
57 extern SDL_Overlay* ph_CreateYUVOverlay(_THIS, int width, int height, Uint32 format, SDL_Surface* display); 61 extern SDL_Overlay* ph_CreateYUVOverlay(_THIS, int width, int height, Uint32 format, SDL_Surface* display);
58 extern int ph_LockYUVOverlay(_THIS, SDL_Overlay* overlay); 62 extern int ph_LockYUVOverlay(_THIS, SDL_Overlay* overlay);
59 extern void ph_UnlockYUVOverlay(_THIS, SDL_Overlay* overlay); 63 extern void ph_UnlockYUVOverlay(_THIS, SDL_Overlay* overlay);
60 extern int ph_DisplayYUVOverlay(_THIS, SDL_Overlay* overlay, SDL_Rect* dstrect); 64 extern int ph_DisplayYUVOverlay(_THIS, SDL_Overlay* overlay, SDL_Rect* dstrect);
61 extern void ph_FreeYUVOverlay(_THIS, SDL_Overlay* overlay); 65 extern void ph_FreeYUVOverlay(_THIS, SDL_Overlay* overlay);
66
67 #endif /* __SDL_PH_YUV_H__ */