Lines Matching refs:mask
83 GLubyte mask = 1U << (unpack->SkipPixels & 0x7); in _swrast_Bitmap() local
85 if (*src & mask) { in _swrast_Bitmap()
90 if (mask == 128U) { in _swrast_Bitmap()
92 mask = 1U; in _swrast_Bitmap()
95 mask = mask << 1; in _swrast_Bitmap()
100 if (mask != 1) in _swrast_Bitmap()
105 GLubyte mask = 128U >> (unpack->SkipPixels & 0x7); in _swrast_Bitmap() local
107 if (*src & mask) { in _swrast_Bitmap()
112 if (mask == 1U) { in _swrast_Bitmap()
114 mask = 128U; in _swrast_Bitmap()
117 mask = mask >> 1; in _swrast_Bitmap()
122 if (mask != 128) in _swrast_Bitmap()
181 GLubyte mask = 1U << (unpack->SkipPixels & 0x7);
183 span.array->mask[col] = (*src & mask) ? GL_TRUE : GL_FALSE;
184 if (mask == 128U) {
186 mask = 1U;
189 mask = mask << 1;
196 if (mask != 1)
201 GLubyte mask = 128U >> (unpack->SkipPixels & 0x7);
203 span.array->mask[col] = (*src & mask) ? GL_TRUE : GL_FALSE;
204 if (mask == 1U) {
206 mask = 128U;
209 mask = mask >> 1;
216 if (mask != 128)