Lines Matching defs:uorder
212 GLfloat *_mesa_copy_map_points1f( GLenum target, GLint ustride, GLint uorder,
221 buffer = (GLfloat *) MALLOC(uorder * size * sizeof(GLfloat));
224 for (i = 0, p = buffer; i < uorder; i++, points += ustride)
236 GLfloat *_mesa_copy_map_points1d( GLenum target, GLint ustride, GLint uorder,
245 buffer = (GLfloat *) MALLOC(uorder * size * sizeof(GLfloat));
248 for (i = 0, p = buffer; i < uorder; i++, points += ustride)
268 GLint ustride, GLint uorder,
282 /* max(uorder, vorder) additional points are used in */
283 /* horner evaluation and uorder*vorder additional */
285 dsize = (uorder == 2 && vorder == 2)? 0 : uorder*vorder;
286 hsize = (uorder > vorder ? uorder : vorder)*size;
289 buffer = (GLfloat *) MALLOC((uorder*vorder*size+hsize)*sizeof(GLfloat));
291 buffer = (GLfloat *) MALLOC((uorder*vorder*size+dsize)*sizeof(GLfloat));
297 for (i=0, p=buffer; i<uorder; i++, points += uinc)
311 GLint ustride, GLint uorder,
325 /* max(uorder, vorder) additional points are used in */
326 /* horner evaluation and uorder*vorder additional */
328 dsize = (uorder == 2 && vorder == 2)? 0 : uorder*vorder;
329 hsize = (uorder > vorder ? uorder : vorder)*size;
332 buffer = (GLfloat *) MALLOC((uorder*vorder*size+hsize)*sizeof(GLfloat));
334 buffer = (GLfloat *) MALLOC((uorder*vorder*size+dsize)*sizeof(GLfloat));
340 for (i=0, p=buffer; i<uorder; i++, points += uinc)
361 GLint uorder, const GLvoid *points, GLenum type )
375 if (uorder < 1 || uorder > MAX_EVAL_ORDER) {
408 pnts = _mesa_copy_map_points1f(target, ustride, uorder, (GLfloat*) points);
410 pnts = _mesa_copy_map_points1d(target, ustride, uorder, (GLdouble*) points);
414 map->Order = uorder;
442 map2( GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder,
464 if (uorder<1 || uorder>MAX_EVAL_ORDER) {
465 _mesa_error( ctx, GL_INVALID_VALUE, "glMap2(uorder)" );
502 pnts = _mesa_copy_map_points2f(target, ustride, uorder,
505 pnts = _mesa_copy_map_points2d(target, ustride, uorder,
510 map->Uorder = uorder;
526 GLfloat u1, GLfloat u2, GLint ustride, GLint uorder,
530 map2(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder,
537 GLdouble u1, GLdouble u2, GLint ustride, GLint uorder,
541 map2(target, (GLfloat) u1, (GLfloat) u2, ustride, uorder,
578 n = map2d->Uorder * map2d->Vorder * comps;
600 v[0] = (GLdouble) map2d->Uorder;
670 n = map2d->Uorder * map2d->Vorder * comps;
692 v[0] = (GLfloat) map2d->Uorder;
764 n = map2d->Uorder * map2d->Vorder * comps;
786 v[0] = map2d->Uorder;
958 map->Uorder = 1;