Lines Matching defs:to

169  * memory space to a buffer of contiguous control points.
171 * Return: pointer to buffer of contiguous control points or NULL if out
198 * Same as above but convert doubles to floats.
225 * memory space to a buffer of contiguous control points.
226 * Additional memory is allocated to be used by the Horner and
230 * Return: pointer to buffer of contiguous control points or NULL if out
274 * Same as above but convert doubles to floats.
877 CREvaluatorState *to = &(toCtx->eval);
885 if (from->autoNormal != to->autoNormal) {
889 able[to->autoNormal] (GL_AUTO_NORMAL);
899 if (from->eval1D[i].order != to->eval1D[i].order ||
903 (const void *) to->eval1D[i].coeff, size)) {
904 diff_api.Map1f(i + GL_MAP1_COLOR_4, to->eval1D[i].u1,
905 to->eval1D[i].u2, gleval_sizes[i], to->eval1D[i].order,
906 to->eval1D[i].coeff);
918 if (from->eval2D[i].uorder != to->eval2D[i].uorder ||
919 from->eval2D[i].vorder != to->eval2D[i].vorder ||
925 (const void *) to->eval2D[i].coeff, size)) {
927 to->eval2D[i].u1, to->eval2D[i].u2,
928 gleval_sizes[i], to->eval2D[i].uorder,
929 to->eval2D[i].v1, to->eval2D[i].v2,
930 gleval_sizes[i], to->eval2D[i].vorder,
931 to->eval2D[i].coeff);
939 if (from->u11D != to->u11D ||
940 from->u21D != to->u21D || from->un1D != to->un1D) {
941 diff_api.MapGrid1d(to->un1D, to->u11D, to->u21D);
948 if (from->u12D != to->u12D ||
949 from->u22D != to->u22D ||
950 from->un2D != to->un2D ||
951 from->v12D != to->v12D ||
952 from->v22D != to->v22D || from->vn2D != to->vn2D) {
953 diff_api.MapGrid2d(to->un2D, to->u12D, to->u22D,
954 to->vn2D, to->v12D, to->v22D);
968 CREvaluatorState *to = &(toCtx->eval);
980 if (from->autoNormal != to->autoNormal) {
981 able[to->autoNormal] (GL_AUTO_NORMAL);
982 from->autoNormal = to->autoNormal;
988 if (from->enable1D[i] != to->enable1D[i]) {
989 able[to->enable1D[i]] (i + GL_MAP1_COLOR_4);
990 from->enable1D[i] = to->enable1D[i];
994 if (to->enable1D[i] && CHECKDIRTY(e->eval1D[i], bitID)) {
997 if (from->eval1D[i].order != to->eval1D[i].order ||
1001 (const void *) to->eval1D[i].coeff, size)) {
1002 diff_api.Map1f(i + GL_MAP1_COLOR_4, to->eval1D[i].u1,
1003 to->eval1D[i].u2, gleval_sizes[i], to->eval1D[i].order,
1004 to->eval1D[i].coeff);
1005 from->eval1D[i].order = to->eval1D[i].order;
1009 (const void *) to->eval1D[i].coeff, size);
1017 if (from->enable2D[i] != to->enable2D[i]) {
1018 able[to->enable2D[i]] (i + GL_MAP2_COLOR_4);
1019 from->enable2D[i] = to->enable2D[i];
1023 if (to->enable2D[i] && CHECKDIRTY(e->eval2D[i], bitID)) {
1026 if (from->eval2D[i].uorder != to->eval2D[i].uorder ||
1027 from->eval2D[i].vorder != to->eval2D[i].vorder ||
1033 (const void *) to->eval2D[i].coeff, size)) {
1035 to->eval2D[i].u1, to->eval2D[i].u2,
1036 gleval_sizes[i], to->eval2D[i].uorder,
1037 to->eval2D[i].v1, to->eval2D[i].v2,
1038 gleval_sizes[i], to->eval2D[i].vorder,
1039 to->eval2D[i].coeff);
1040 from->eval2D[i].uorder = to->eval2D[i].uorder;
1041 from->eval2D[i].vorder = to->eval2D[i].vorder;
1047 (const void *) to->eval2D[i].coeff, size);
1053 if (from->u11D != to->u11D ||
1054 from->u21D != to->u21D || from->un1D != to->un1D) {
1055 diff_api.MapGrid1d(to->un1D, to->u11D, to->u21D);
1056 from->u11D = to->u11D;
1057 from->u21D = to->u21D;
1058 from->un1D = to->un1D;
1063 if (from->u12D != to->u12D ||
1064 from->u22D != to->u22D ||
1065 from->un2D != to->un2D ||
1066 from->v12D != to->v12D ||
1067 from->v22D != to->v22D || from->vn2D != to->vn2D) {
1068 diff_api.MapGrid2d(to->un2D, to->u12D, to->u22D,
1069 to->vn2D, to->v12D, to->v22D);
1070 from->u12D = to->u12D;
1071 from->u22D = to->u22D;
1072 from->un2D = to->un2D;
1073 from->v12D = to->v12D;
1074 from->v22D = to->v22D;
1075 from->vn2D = to->vn2D;