Lines Matching refs:uorder
155 GLfloat *_mesa_copy_map_points1f( GLenum target, GLint ustride, GLint uorder,
164 buffer = malloc(uorder * size * sizeof(GLfloat));
167 for (i = 0, p = buffer; i < uorder; i++, points += ustride)
179 GLfloat *_mesa_copy_map_points1d( GLenum target, GLint ustride, GLint uorder,
188 buffer = malloc(uorder * size * sizeof(GLfloat));
191 for (i = 0, p = buffer; i < uorder; i++, points += ustride)
211 GLint ustride, GLint uorder,
225 /* max(uorder, vorder) additional points are used in */
226 /* horner evaluation and uorder*vorder additional */
228 dsize = (uorder == 2 && vorder == 2)? 0 : uorder*vorder;
229 hsize = (uorder > vorder ? uorder : vorder)*size;
232 buffer = malloc((uorder*vorder*size+hsize)*sizeof(GLfloat));
234 buffer = malloc((uorder*vorder*size+dsize)*sizeof(GLfloat));
240 for (i=0, p=buffer; i<uorder; i++, points += uinc)
254 GLint ustride, GLint uorder,
268 /* max(uorder, vorder) additional points are used in */
269 /* horner evaluation and uorder*vorder additional */
271 dsize = (uorder == 2 && vorder == 2)? 0 : uorder*vorder;
272 hsize = (uorder > vorder ? uorder : vorder)*size;
275 buffer = malloc((uorder*vorder*size+hsize)*sizeof(GLfloat));
277 buffer = malloc((uorder*vorder*size+dsize)*sizeof(GLfloat));
283 for (i=0, p=buffer; i<uorder; i++, points += uinc)
304 GLint uorder, const GLvoid *points, GLenum type )
317 if (uorder < 1 || uorder > MAX_EVAL_ORDER) {
351 pnts = _mesa_copy_map_points1f(target, ustride, uorder, (GLfloat*) points);
353 pnts = _mesa_copy_map_points1d(target, ustride, uorder, (GLdouble*) points);
358 map->Order = uorder;
385 map2( GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder,
406 if (uorder<1 || uorder>MAX_EVAL_ORDER) {
407 _mesa_error( ctx, GL_INVALID_VALUE, "glMap2(uorder)" );
445 pnts = _mesa_copy_map_points2f(target, ustride, uorder,
448 pnts = _mesa_copy_map_points2d(target, ustride, uorder,
454 map->Uorder = uorder;
469 GLfloat u1, GLfloat u2, GLint ustride, GLint uorder,
473 map2(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder,
480 GLdouble u1, GLdouble u2, GLint ustride, GLint uorder,
484 map2(target, (GLfloat) u1, (GLfloat) u2, ustride, uorder,