Lines Matching refs:Current
410 GLfloat *objnorm = ctx->Current.Attrib[VERT_ATTRIB_NORMAL]; in _mesa_RasterPos()
421 ctx->Current.RasterPosValid = GL_FALSE; in _mesa_RasterPos()
427 ctx->Current.RasterPosValid = GL_FALSE; in _mesa_RasterPos()
433 ctx->Current.RasterPosValid = GL_FALSE; in _mesa_RasterPos()
440 ctx->Current.RasterPosValid = GL_FALSE; in _mesa_RasterPos()
451 ctx->Current.RasterPos[0] = ndc[0] * scale[0] + translate[0]; in _mesa_RasterPos()
452 ctx->Current.RasterPos[1] = ndc[1] * scale[1] + translate[1]; in _mesa_RasterPos()
453 ctx->Current.RasterPos[2] = ndc[2] * scale[2] + translate[2]; in _mesa_RasterPos()
454 ctx->Current.RasterPos[3] = clip[3]; in _mesa_RasterPos()
458 ctx->Current.RasterPos[3] = CLAMP(ctx->Current.RasterPos[3], in _mesa_RasterPos()
464 ctx->Current.RasterPos[3] = MAX2(ctx->Current.RasterPos[3], in _mesa_RasterPos()
469 ctx->Current.RasterPos[3] = MIN2(ctx->Current.RasterPos[3], in _mesa_RasterPos()
476 ctx->Current.RasterDistance = ctx->Current.Attrib[VERT_ATTRIB_FOG][0]; in _mesa_RasterPos()
478 ctx->Current.RasterDistance = in _mesa_RasterPos()
495 ctx->Current.RasterColor, in _mesa_RasterPos()
496 ctx->Current.RasterSecondaryColor ); in _mesa_RasterPos()
500 COPY_4FV(ctx->Current.RasterColor, in _mesa_RasterPos()
501 ctx->Current.Attrib[VERT_ATTRIB_COLOR0]); in _mesa_RasterPos()
502 COPY_4FV(ctx->Current.RasterSecondaryColor, in _mesa_RasterPos()
503 ctx->Current.Attrib[VERT_ATTRIB_COLOR1]); in _mesa_RasterPos()
511 COPY_4V(tc, ctx->Current.Attrib[VERT_ATTRIB_TEX0 + u]); in _mesa_RasterPos()
515 TRANSFORM_POINT(ctx->Current.RasterTexCoords[u], in _mesa_RasterPos()
520 ctx->Current.RasterPosValid = GL_TRUE; in _mesa_RasterPos()
524 _mesa_update_hitflag( ctx, ctx->Current.RasterPos[2] ); in _mesa_RasterPos()
723 ctx->Current.RasterPos[0] = x; in window_pos3f()
724 ctx->Current.RasterPos[1] = y; in window_pos3f()
725 ctx->Current.RasterPos[2] = z2; in window_pos3f()
726 ctx->Current.RasterPos[3] = 1.0F; in window_pos3f()
728 ctx->Current.RasterPosValid = GL_TRUE; in window_pos3f()
731 ctx->Current.RasterDistance = ctx->Current.Attrib[VERT_ATTRIB_FOG][0]; in window_pos3f()
733 ctx->Current.RasterDistance = 0.0; in window_pos3f()
736 ctx->Current.RasterColor[0] in window_pos3f()
737 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR0][0], 0.0F, 1.0F); in window_pos3f()
738 ctx->Current.RasterColor[1] in window_pos3f()
739 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR0][1], 0.0F, 1.0F); in window_pos3f()
740 ctx->Current.RasterColor[2] in window_pos3f()
741 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR0][2], 0.0F, 1.0F); in window_pos3f()
742 ctx->Current.RasterColor[3] in window_pos3f()
743 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR0][3], 0.0F, 1.0F); in window_pos3f()
744 ctx->Current.RasterSecondaryColor[0] in window_pos3f()
745 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR1][0], 0.0F, 1.0F); in window_pos3f()
746 ctx->Current.RasterSecondaryColor[1] in window_pos3f()
747 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR1][1], 0.0F, 1.0F); in window_pos3f()
748 ctx->Current.RasterSecondaryColor[2] in window_pos3f()
749 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR1][2], 0.0F, 1.0F); in window_pos3f()
750 ctx->Current.RasterSecondaryColor[3] in window_pos3f()
751 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR1][3], 0.0F, 1.0F); in window_pos3f()
757 assert(texSet < ARRAY_SIZE(ctx->Current.RasterTexCoords)); in window_pos3f()
758 COPY_4FV( ctx->Current.RasterTexCoords[texSet], in window_pos3f()
759 ctx->Current.Attrib[VERT_ATTRIB_TEX0 + texSet] ); in window_pos3f()
764 _mesa_update_hitflag( ctx, ctx->Current.RasterPos[2] ); in window_pos3f()
775 ctx->Current.RasterPos[3] = w; in window_pos4f()
983 ASSIGN_4V( ctx->Current.RasterPos, 0.0, 0.0, 0.0, 1.0 ); in _mesa_init_rastpos()
984 ctx->Current.RasterDistance = 0.0; in _mesa_init_rastpos()
985 ASSIGN_4V( ctx->Current.RasterColor, 1.0, 1.0, 1.0, 1.0 ); in _mesa_init_rastpos()
986 ASSIGN_4V( ctx->Current.RasterSecondaryColor, 0.0, 0.0, 0.0, 1.0 ); in _mesa_init_rastpos()
987 for (i = 0; i < ARRAY_SIZE(ctx->Current.RasterTexCoords); i++) in _mesa_init_rastpos()
988 ASSIGN_4V( ctx->Current.RasterTexCoords[i], 0.0, 0.0, 0.0, 1.0 ); in _mesa_init_rastpos()
989 ctx->Current.RasterPosValid = GL_TRUE; in _mesa_init_rastpos()