Lines Matching refs:bmpcc
84 SDL_Surface *bmp, *bmpcc, *tmp; in RunModeTests() local
167 bmpcc = SDL_LoadBMP("sample.bmp"); in RunModeTests()
168 if ( ! bmpcc ) { in RunModeTests()
173 bmpcc->w, bmpcc->h, bmpcc->format->BitsPerPixel); in RunModeTests()
174 SDL_SetColorKey(bmpcc, SDL_SRCCOLORKEY | SDL_RLEACCEL, *(Uint8 *)bmpcc->pixels); in RunModeTests()
176 PrintFlags(bmpcc->flags); in RunModeTests()
179 frames = RunBlitTests(screen, bmpcc, NUM_BLITS); in RunModeTests()
229 tmp = bmpcc; in RunModeTests()
230 bmpcc = SDL_DisplayFormat(bmpcc); in RunModeTests()
232 if ( ! bmpcc ) { in RunModeTests()
237 bmpcc->w, bmpcc->h, bmpcc->format->BitsPerPixel); in RunModeTests()
238 PrintFlags(bmpcc->flags); in RunModeTests()
241 frames = RunBlitTests(screen, bmpcc, NUM_BLITS); in RunModeTests()
299 SDL_FreeSurface(bmpcc); in RunModeTests()
300 bmpcc = SDL_LoadBMP("sample.bmp"); in RunModeTests()
301 SDL_SetAlpha(bmpcc, SDL_SRCALPHA, 85); /* 85 - 33% alpha */ in RunModeTests()
302 SDL_SetColorKey(bmpcc, SDL_SRCCOLORKEY | SDL_RLEACCEL, *(Uint8 *)bmpcc->pixels); in RunModeTests()
303 tmp = bmpcc; in RunModeTests()
304 bmpcc = SDL_DisplayFormat(bmpcc); in RunModeTests()
306 if ( ! bmpcc ) { in RunModeTests()
311 bmpcc->w, bmpcc->h, bmpcc->format->BitsPerPixel); in RunModeTests()
312 PrintFlags(bmpcc->flags); in RunModeTests()
315 frames = RunBlitTests(screen, bmpcc, NUM_BLITS); in RunModeTests()
325 SDL_FreeSurface(bmpcc); in RunModeTests()