Mercurial > sdl-ios-xcode
comparison src/video/SDL_sysvideo.h @ 1658:e49147870aac SDL-1.3
glSDL support
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 01 May 2006 06:58:33 +0000 |
parents | 96c2f89cc7e1 |
children | 782fd950bd46 |
comparison
equal
deleted
inserted
replaced
1657:5b0805ceb50f | 1658:e49147870aac |
---|---|
117 /* Information about the video hardware */ | 117 /* Information about the video hardware */ |
118 SDL_VideoInfo info; | 118 SDL_VideoInfo info; |
119 | 119 |
120 /* The pixel format used when SDL_CreateRGBSurface creates SDL_HWSURFACEs with alpha */ | 120 /* The pixel format used when SDL_CreateRGBSurface creates SDL_HWSURFACEs with alpha */ |
121 SDL_PixelFormat* displayformatalphapixel; | 121 SDL_PixelFormat* displayformatalphapixel; |
122 | 122 |
123 /* Allocates a surface in video memory */ | 123 /* Allocates a surface in video memory */ |
124 int (*AllocHWSurface)(_THIS, SDL_Surface *surface); | 124 int (*AllocHWSurface)(_THIS, SDL_Surface *surface); |
125 | 125 |
126 /* Sets the hardware accelerated blit function, if any, based | 126 /* Sets the hardware accelerated blit function, if any, based |
127 on the current flags of the surface (colorkey, alpha, etc.) | 127 on the current flags of the surface (colorkey, alpha, etc.) |
405 extern VideoBootStrap AALIB_bootstrap; | 405 extern VideoBootStrap AALIB_bootstrap; |
406 #endif | 406 #endif |
407 #if SDL_VIDEO_DRIVER_DUMMY | 407 #if SDL_VIDEO_DRIVER_DUMMY |
408 extern VideoBootStrap DUMMY_bootstrap; | 408 extern VideoBootStrap DUMMY_bootstrap; |
409 #endif | 409 #endif |
410 #if SDL_VIDEO_DRIVER_GLSDL | |
411 extern VideoBootStrap glSDL_bootstrap; | |
412 #endif | |
410 | 413 |
411 /* This is the current video device */ | 414 /* This is the current video device */ |
412 extern SDL_VideoDevice *current_video; | 415 extern SDL_VideoDevice *current_video; |
413 | 416 |
414 #define SDL_VideoSurface (current_video->screen) | 417 #define SDL_VideoSurface (current_video->screen) |