Lines Matching refs:Const
239 for (i = 0; i < ctx->Const.MaxDrawBuffers; i ++)
274 for (i = 0; i < ctx->Const.MaxLights; i++) {
319 for (i = 0; i < ctx->Const.MaxTextureUnits; i++) {
437 for (u = 0; u < ctx->Const.MaxTextureUnits; u++) {
445 for (u = 0; u < ctx->Const.MaxTextureUnits; u++) {
489 pop_enable_group(struct gl_context *ctx, const struct gl_enable_attrib *enable)
491 const GLuint curTexUnitSave = ctx->Texture.CurrentUnit;
503 for (i = 0; i < ctx->Const.MaxDrawBuffers; i++) {
512 for (i=0;i<ctx->Const.MaxClipPlanes;i++) {
513 const GLuint mask = 1 << i;
631 for (i = 0; i < ctx->Const.MaxTextureUnits; i++) {
632 const GLbitfield enabled = enable->Texture[i];
633 const GLbitfield genEnabled = enable->TexGen[i];
680 for (u = 0; u < ctx->Const.MaxTextureUnits; u++) {
681 const struct gl_texture_unit *unit = &texstate->Texture.Unit[u];
738 const GLuint n = ctx->Extensions.NV_texture_env_combine4 ? 4 : 3;
758 const struct gl_texture_object *obj = NULL;
759 const struct gl_sampler_object *samp;
867 const struct gl_accum_attrib *accum;
868 accum = (const struct gl_accum_attrib *) attr->data;
877 const struct gl_colorbuffer_attrib *color;
879 color = (const struct gl_colorbuffer_attrib *) attr->data;
894 for (i = 0; i < ctx->Const.MaxDrawBuffers; i++) {
912 for (i = 1; i < ctx->Const.MaxDrawBuffers; i++) {
926 _mesa_DrawBuffersARB(ctx->Const.MaxDrawBuffers,
936 for (i = 0; i < ctx->Const.MaxDrawBuffers; i++) {
949 for (buf = 0; buf < ctx->Const.MaxDrawBuffers; buf++) {
1003 const struct gl_depthbuffer_attrib *depth;
1004 depth = (const struct gl_depthbuffer_attrib *) attr->data;
1013 const struct gl_enable_attrib *enable;
1014 enable = (const struct gl_enable_attrib *) attr->data;
1025 const struct gl_fog_attrib *fog;
1026 fog = (const struct gl_fog_attrib *) attr->data;
1038 const struct gl_hint_attrib *hint;
1039 hint = (const struct gl_hint_attrib *) attr->data;
1055 const struct gl_light_attrib *light;
1056 light = (const struct gl_light_attrib *) attr->data;
1063 for (i = 0; i < ctx->Const.MaxLights; i++) {
1064 const struct gl_light *l = &light->Light[i];
1121 const struct gl_line_attrib *line;
1122 line = (const struct gl_line_attrib *) attr->data;
1140 const struct gl_point_attrib *point;
1141 point = (const struct gl_point_attrib *) attr->data;
1157 for (u = 0; u < ctx->Const.MaxTextureUnits; u++) {
1175 const struct gl_polygon_attrib *polygon;
1176 polygon = (const struct gl_polygon_attrib *) attr->data;
1198 ctx->Driver.PolygonStipple( ctx, (const GLubyte *) attr->data );
1202 const struct gl_scissor_attrib *scissor;
1203 scissor = (const struct gl_scissor_attrib *) attr->data;
1211 const struct gl_stencil_attrib *stencil;
1212 stencil = (const struct gl_stencil_attrib *) attr->data;
1244 const struct gl_transform_attrib *xform;
1245 xform = (const struct gl_transform_attrib *) attr->data;
1251 for (i = 0; i < ctx->Const.MaxClipPlanes; i++) {
1252 const GLuint mask = 1 << i;
1253 const GLfloat *eyePlane = xform->EyeUserPlane[i];
1282 const struct gl_viewport_attrib *vp;
1283 vp = (const struct gl_viewport_attrib *) attr->data;
1290 const struct gl_multisample_attrib *ms;
1291 ms = (const struct gl_multisample_attrib *) attr->data;
1334 const struct gl_pixelstore_attrib *src)
1445 const bool arb_vao = (src->ArrayObj->Name != 0
1635 for (u = 0; u < ctx->Const.MaxTextureUnits; u++) {