Lines Matching defs:unit
205 /* state[1] is the texture unit */
206 const GLuint unit = (GLuint) state[1];
210 COPY_4V(value, ctx->Texture.Unit[unit].GenS.EyePlane);
213 COPY_4V(value, ctx->Texture.Unit[unit].GenT.EyePlane);
216 COPY_4V(value, ctx->Texture.Unit[unit].GenR.EyePlane);
219 COPY_4V(value, ctx->Texture.Unit[unit].GenQ.EyePlane);
222 COPY_4V(value, ctx->Texture.Unit[unit].GenS.ObjectPlane);
225 COPY_4V(value, ctx->Texture.Unit[unit].GenT.ObjectPlane);
228 COPY_4V(value, ctx->Texture.Unit[unit].GenR.ObjectPlane);
231 COPY_4V(value, ctx->Texture.Unit[unit].GenQ.ObjectPlane);
240 /* state[1] is the texture unit */
241 const GLuint unit = (GLuint) state[1];
243 COPY_4V(value, ctx->Texture.Unit[unit].EnvColor);
245 COPY_4V(value, ctx->Texture.Unit[unit].EnvColorUnclamped);
438 const int unit = (int) state[2];
440 = ctx->Texture.Unit[unit]._Current;
581 const int unit = (int) state[2];
582 GLfloat *rotMat22 = ctx->Texture.Unit[unit].RotMatrix;
592 const int unit = (int) state[2];
593 GLfloat *rotMat22 = ctx->Texture.Unit[unit].RotMatrix;
979 append_index(str, state[1]); /* tex unit [i] */
983 append_index(str, state[1]); /* tex unit [i] */
1127 GLuint unit = MIN2(ctx->Texture.CurrentUnit,
1129 mat = ctx->TextureMatrixStack[unit].Top;