Lines Matching refs:map
39 exec->eval.map1[attr].map = NULL;
45 exec->eval.map2[attr].map = NULL;
49 struct gl_1d_map *map )
52 if (!exec->eval.map1[attr].map) {
53 exec->eval.map1[attr].map = map;
59 struct gl_2d_map *map )
62 if (!exec->eval.map2[attr].map) {
63 exec->eval.map2[attr].map = map;
147 struct gl_1d_map *map = exec->eval.map1[attr].map;
148 if (map) {
149 GLfloat uu = (u - map->u1) * map->du;
154 _math_horner_bezier_curve(map->Points, data, uu,
156 map->Order);
164 /** Vertex -- EvalCoord1f is a noop if this map not enabled:
166 if (exec->eval.map1[0].map) {
167 struct gl_1d_map *map = exec->eval.map1[0].map;
168 GLfloat uu = (u - map->u1) * map->du;
173 _math_horner_bezier_curve(map->Points, vertex, uu,
175 map->Order);
192 struct gl_2d_map *map = exec->eval.map2[attr].map;
193 if (map) {
194 GLfloat uu = (u - map->u1) * map->du;
195 GLfloat vv = (v - map->v1) * map->dv;
200 _math_horner_bezier_surf(map->Points,
204 map->Uorder, map->Vorder);
212 /** Vertex -- EvalCoord2f is a noop if this map not enabled:
214 if (exec->eval.map2[0].map) {
215 struct gl_2d_map *map = exec->eval.map2[0].map;
216 GLfloat uu = (u - map->u1) * map->du;
217 GLfloat vv = (v - map->v1) * map->dv;
226 _math_de_casteljau_surf(map->Points, vertex, du, dv, uu, vv,
228 map->Uorder, map->Vorder);
251 _math_horner_bezier_surf(map->Points, vertex, uu, vv,
253 map->Uorder, map->Vorder);