Home | History | Annotate | Download | only in test

Lines Matching refs:format

38 	if (screen->format->BytesPerPixel!=2) {
40 memset(buffer,(i*255)/screen->h, screen->w*screen->format->BytesPerPixel);
48 color = (Uint16)SDL_MapRGB(screen->format, gradient, gradient, gradient);
95 skip = light->pitch-(light->w*light->format->BytesPerPixel);
102 pixel = SDL_MapRGBA(light->format, 0xFF, 0xDD, 0x88, 0);
193 if ( sprite->format->palette ) {
198 /* Convert sprite to video format */
218 /* Convert background to video format */
285 alpha = sprite->format->alpha;
416 printf("Screen is at %d bits per pixel\n",screen->format->BitsPerPixel);