Lines Matching refs:Gmask
38 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask)
55 if ( Rmask || Bmask || Gmask ) { /* Packed pixels with custom mask */
67 if ( Gmask ) {
68 for ( mask = Gmask; !(mask&0x01); mask >>= 1 )
90 format->Gmask = Gmask;
104 format->Gmask = ((0xFF>>format->Gloss)<<format->Gshift);
117 format->Gmask = 0;
140 if ( Rmask || Bmask || Gmask ) {
157 if(Gmask)
192 g=(i&Gmask)>>format->Gshift;
225 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask)
231 surface->format = SDL_AllocFormat(bpp, Rmask, Gmask, Bmask, Amask);
385 v = (pixel & fmt->Gmask) >> fmt->Gshift;
411 v = (pixel & fmt->Gmask) >> fmt->Gshift;