Lines Matching refs:uorder

212 GLfloat *_mesa_copy_map_points1f( GLenum target, GLint ustride, GLint uorder,  in _mesa_copy_map_points1f()  argument
221 buffer = (GLfloat *) MALLOC(uorder * size * sizeof(GLfloat)); in _mesa_copy_map_points1f()
224 for (i = 0, p = buffer; i < uorder; i++, points += ustride) in _mesa_copy_map_points1f()
236 GLfloat *_mesa_copy_map_points1d( GLenum target, GLint ustride, GLint uorder, in _mesa_copy_map_points1d() argument
245 buffer = (GLfloat *) MALLOC(uorder * size * sizeof(GLfloat)); in _mesa_copy_map_points1d()
248 for (i = 0, p = buffer; i < uorder; i++, points += ustride) in _mesa_copy_map_points1d()
268 GLint ustride, GLint uorder, in _mesa_copy_map_points2f() argument
285 dsize = (uorder == 2 && vorder == 2)? 0 : uorder*vorder; in _mesa_copy_map_points2f()
286 hsize = (uorder > vorder ? uorder : vorder)*size; in _mesa_copy_map_points2f()
289 buffer = (GLfloat *) MALLOC((uorder*vorder*size+hsize)*sizeof(GLfloat)); in _mesa_copy_map_points2f()
291 buffer = (GLfloat *) MALLOC((uorder*vorder*size+dsize)*sizeof(GLfloat)); in _mesa_copy_map_points2f()
297 for (i=0, p=buffer; i<uorder; i++, points += uinc) in _mesa_copy_map_points2f()
311 GLint ustride, GLint uorder, in _mesa_copy_map_points2d() argument
328 dsize = (uorder == 2 && vorder == 2)? 0 : uorder*vorder; in _mesa_copy_map_points2d()
329 hsize = (uorder > vorder ? uorder : vorder)*size; in _mesa_copy_map_points2d()
332 buffer = (GLfloat *) MALLOC((uorder*vorder*size+hsize)*sizeof(GLfloat)); in _mesa_copy_map_points2d()
334 buffer = (GLfloat *) MALLOC((uorder*vorder*size+dsize)*sizeof(GLfloat)); in _mesa_copy_map_points2d()
340 for (i=0, p=buffer; i<uorder; i++, points += uinc) in _mesa_copy_map_points2d()
361 GLint uorder, const GLvoid *points, GLenum type ) in map1() argument
375 if (uorder < 1 || uorder > MAX_EVAL_ORDER) { in map1()
408 pnts = _mesa_copy_map_points1f(target, ustride, uorder, (GLfloat*) points); in map1()
410 pnts = _mesa_copy_map_points1d(target, ustride, uorder, (GLdouble*) points); in map1()
414 map->Order = uorder; in map1()
442 map2( GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, in map2() argument
464 if (uorder<1 || uorder>MAX_EVAL_ORDER) { in map2()
502 pnts = _mesa_copy_map_points2f(target, ustride, uorder, in map2()
505 pnts = _mesa_copy_map_points2d(target, ustride, uorder, in map2()
510 map->Uorder = uorder; in map2()
526 GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, in _mesa_Map2f() argument
530 map2(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, in _mesa_Map2f()
537 GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, in _mesa_Map2d() argument
541 map2(target, (GLfloat) u1, (GLfloat) u2, ustride, uorder, in _mesa_Map2d()