Lines Matching refs:pattern
97 _mesa_unpack_polygon_stipple( const GLubyte *pattern, GLuint dest[32],
101 GL_BITMAP, pattern, unpacking);
103 /* Convert pattern from GLubytes to GLuints and handle big/little
125 _mesa_pack_polygon_stipple( const GLuint pattern[32], GLubyte *dest,
128 /* Convert pattern from GLuints to GLubytes to handle big/little
134 ptrn[i * 4 + 0] = (GLubyte) ((pattern[i] >> 24) & 0xff);
135 ptrn[i * 4 + 1] = (GLubyte) ((pattern[i] >> 16) & 0xff);
136 ptrn[i * 4 + 2] = (GLubyte) ((pattern[i] >> 8 ) & 0xff);
137 ptrn[i * 4 + 3] = (GLubyte) ((pattern[i] ) & 0xff);