Mercurial > sdl-ios-xcode
comparison include/SDL_video.h @ 1654:0a53c90a37f9 SDL-1.3
Updated to 1.3.0, SDL_OPENGLBLIT is no longer supported
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 27 Apr 2006 05:30:05 +0000 |
parents | 8d9bb0cf2c2a |
children | 96c2f89cc7e1 |
comparison
equal
deleted
inserted
replaced
1653:939d938d62df | 1654:0a53c90a37f9 |
---|---|
122 #define SDL_ANYFORMAT 0x10000000 /* Allow any video depth/pixel-format */ | 122 #define SDL_ANYFORMAT 0x10000000 /* Allow any video depth/pixel-format */ |
123 #define SDL_HWPALETTE 0x20000000 /* Surface has exclusive palette */ | 123 #define SDL_HWPALETTE 0x20000000 /* Surface has exclusive palette */ |
124 #define SDL_DOUBLEBUF 0x40000000 /* Set up double-buffered video mode */ | 124 #define SDL_DOUBLEBUF 0x40000000 /* Set up double-buffered video mode */ |
125 #define SDL_FULLSCREEN 0x80000000 /* Surface is a full screen display */ | 125 #define SDL_FULLSCREEN 0x80000000 /* Surface is a full screen display */ |
126 #define SDL_OPENGL 0x00000002 /* Create an OpenGL rendering context */ | 126 #define SDL_OPENGL 0x00000002 /* Create an OpenGL rendering context */ |
127 #define SDL_OPENGLBLIT 0x0000000A /* Create an OpenGL rendering context and use it for blitting */ | 127 #define SDL_OPENGLBLIT_OBSOLETE 0x0000000A /* Obsolete, do not use! */ |
128 #define SDL_RESIZABLE 0x00000010 /* This video mode may be resized */ | 128 #define SDL_RESIZABLE 0x00000010 /* This video mode may be resized */ |
129 #define SDL_NOFRAME 0x00000020 /* No window caption or edge frame */ | 129 #define SDL_NOFRAME 0x00000020 /* No window caption or edge frame */ |
130 /* Used internally (read-only) */ | 130 /* Used internally (read-only) */ |
131 #define SDL_HWACCEL 0x00000100 /* Blit uses hardware acceleration */ | 131 #define SDL_HWACCEL 0x00000100 /* Blit uses hardware acceleration */ |
132 #define SDL_SRCCOLORKEY 0x00001000 /* Blit uses a source color key */ | 132 #define SDL_SRCCOLORKEY 0x00001000 /* Blit uses a source color key */ |
805 /* | 805 /* |
806 * Swap the OpenGL buffers, if double-buffering is supported. | 806 * Swap the OpenGL buffers, if double-buffering is supported. |
807 */ | 807 */ |
808 extern DECLSPEC void SDLCALL SDL_GL_SwapBuffers(void); | 808 extern DECLSPEC void SDLCALL SDL_GL_SwapBuffers(void); |
809 | 809 |
810 /* | |
811 * Internal functions that should not be called unless you have read | |
812 * and understood the source code for these functions. | |
813 */ | |
814 extern DECLSPEC void SDLCALL SDL_GL_UpdateRects(int numrects, SDL_Rect* rects); | |
815 extern DECLSPEC void SDLCALL SDL_GL_Lock(void); | |
816 extern DECLSPEC void SDLCALL SDL_GL_Unlock(void); | |
817 | |
818 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | 810 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ |
819 /* These functions allow interaction with the window manager, if any. */ | 811 /* These functions allow interaction with the window manager, if any. */ |
820 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | 812 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ |
821 | 813 |
822 /* | 814 /* |