Lines Matching refs:RasterPos
387 * glRasterPos transformation. Typically called via ctx->Driver.RasterPos().
443 ctx->Current.RasterPos[0] = ndc[0] * scale[0] + translate[0];
444 ctx->Current.RasterPos[1] = ndc[1] * scale[1] + translate[1];
445 ctx->Current.RasterPos[2] = ndc[2] * scale[2] + translate[2];
446 ctx->Current.RasterPos[3] = clip[3];
450 ctx->Current.RasterPos[3] = CLAMP(ctx->Current.RasterPos[3],
456 ctx->Current.RasterPos[3] = MAX2(ctx->Current.RasterPos[3],
461 ctx->Current.RasterPos[3] = MIN2(ctx->Current.RasterPos[3],
516 _mesa_update_hitflag( ctx, ctx->Current.RasterPos[2] );
522 * Helper function for all the RasterPos functions.
541 ctx->Driver.RasterPos(ctx, p);
715 ctx->Current.RasterPos[0] = x;
716 ctx->Current.RasterPos[1] = y;
717 ctx->Current.RasterPos[2] = z2;
718 ctx->Current.RasterPos[3] = 1.0F;
756 _mesa_update_hitflag( ctx, ctx->Current.RasterPos[2] );
767 ctx->Current.RasterPos[3] = w;
975 ASSIGN_4V( ctx->Current.RasterPos, 0.0, 0.0, 0.0, 1.0 );