Lines Matching refs:format
84 printf(" depth : %d bits per pixel\n", surface->format->BitsPerPixel);
86 printf(" alpha : %d\n", (int) surface->format->alpha);
87 printf(" colorkey : 0x%X\n", (unsigned int) surface->format->colorkey);
90 (int) surface->format->Rmask,
91 (int) surface->format->Rshift,
92 (int) surface->format->Rloss);
94 (int) surface->format->Gmask,
95 (int) surface->format->Gshift,
96 (int) surface->format->Gloss);
98 (int) surface->format->Bmask,
99 (int) surface->format->Bshift,
100 (int) surface->format->Bloss);
102 (int) surface->format->Amask,
103 (int) surface->format->Ashift,
104 (int) surface->format->Aloss);
312 srcalpha = src->format->alpha;
313 dstalpha = dest->format->alpha;
339 if ((dstalphaflags != origdstalphaflags) || (dstalpha != dest->format->alpha))
341 if ((srcalphaflags != origsrcalphaflags) || (srcalpha != src->format->alpha))
345 SDL_FillRect(dest, NULL, SDL_MapRGB(dest->format, 0, 0, 0));
346 SDL_FillRect(src, NULL, SDL_MapRGB(src->format, 0, 0, 0));
362 Uint32 clearColor = SDL_MapRGB(dest->format, 0, 0, 0);