Lines Matching defs:texture
136 const GLubyte *texture = (const GLubyte *) swImg->ImageSlices[0]; \
140 if (!rb || !texture) { \
154 rgba[i][RCOMP] = texture[pos+2]; \
155 rgba[i][GCOMP] = texture[pos+1]; \
156 rgba[i][BCOMP] = texture[pos+0]; \
194 const GLubyte *texture = (const GLubyte *) swImg->ImageSlices[0]; \
198 if (!rb || !texture) { \
215 rgba[i][RCOMP] = texture[pos+2]; \
216 rgba[i][GCOMP] = texture[pos+1]; \
217 rgba[i][BCOMP] = texture[pos+0]; \
244 const GLchan *texture;
267 * texture env modes.
273 GLchan sample[4]; /* the filtered texture sample */
367 const GLchan *tex00 = info->texture + COMPS * pos; \
386 const GLchan *tex00 = info->texture + COMPS * pos; \
519 /* re-enable texture units */
550 info.texture = (const GLchan *) swImg->ImageSlices[0]; \
569 if (!info.texture) { \
582 _mesa_problem(NULL, "Bad texture format in affine_texture_triangle");\
600 const GLchan *texture;
601 GLfixed er, eg, eb, ea; /* texture env color */
610 GLchan sample[4]; /* the filtered texture sample */
626 const GLchan *tex00 = info->texture + COMP * pos; \
651 const GLchan *tex00 = info->texture + COMP * pos; \
817 info.texture = (const GLchan *) swImg->ImageSlices[0]; \
835 if (!info.texture) { \
848 _mesa_problem(NULL, "Bad texture format in persp_textured_triangle");\
1070 /* First see if we can use an optimized 2-D texture function */