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