comparison src/video/SDL_sysvideo.h @ 1052:68f607298ca9

Some work on using accelerated alpha blits with hardware surfaces. From Stephane Marchesin's fork, don't know who originally wrote it.
author Ryan C. Gordon <icculus@icculus.org>
date Sun, 17 Apr 2005 10:40:41 +0000
parents b8d311d90021
children af8b0f9ac2f4
comparison
equal deleted inserted replaced
1051:091350827e08 1052:68f607298ca9
132 /* Hardware acceleration functions */ 132 /* Hardware acceleration functions */
133 133
134 /* Information about the video hardware */ 134 /* Information about the video hardware */
135 SDL_VideoInfo info; 135 SDL_VideoInfo info;
136 136
137 /* The pixel format used when SDL_CreateRGBSurface creates SDL_HWSURFACEs with alpha */
138 SDL_PixelFormat* displayformatalphapixel;
139
137 /* Allocates a surface in video memory */ 140 /* Allocates a surface in video memory */
138 int (*AllocHWSurface)(_THIS, SDL_Surface *surface); 141 int (*AllocHWSurface)(_THIS, SDL_Surface *surface);
139 142
140 /* Sets the hardware accelerated blit function, if any, based 143 /* Sets the hardware accelerated blit function, if any, based
141 on the current flags of the surface (colorkey, alpha, etc.) 144 on the current flags of the surface (colorkey, alpha, etc.)