Lines Matching refs:target

51  * evaluator.  Return 0 if bad target.
54 GLuint _mesa_evaluator_components( GLenum target )
56 switch (target) {
83 * Return pointer to the gl_1d_map struct for the named target.
86 get_1d_map( struct gl_context *ctx, GLenum target )
88 switch (target) {
114 * Return pointer to the gl_2d_map struct for the named target.
117 get_2d_map( struct gl_context *ctx, GLenum target )
119 switch (target) {
156 GLfloat *_mesa_copy_map_points1f( GLenum target, GLint ustride, GLint uorder,
160 GLint i, k, size = _mesa_evaluator_components(target);
180 GLfloat *_mesa_copy_map_points1d( GLenum target, GLint ustride, GLint uorder,
184 GLint i, k, size = _mesa_evaluator_components(target);
211 GLfloat *_mesa_copy_map_points2f( GLenum target,
220 size = _mesa_evaluator_components(target);
254 GLfloat *_mesa_copy_map_points2d(GLenum target,
263 size = _mesa_evaluator_components(target);
304 map1(GLenum target, GLfloat u1, GLfloat u2, GLint ustride,
327 k = _mesa_evaluator_components( target );
329 _mesa_error( ctx, GL_INVALID_ENUM, "glMap1(target)" );
344 map = get_1d_map(ctx, target);
346 _mesa_error( ctx, GL_INVALID_ENUM, "glMap1(target)" );
352 pnts = _mesa_copy_map_points1f(target, ustride, uorder, (GLfloat*) points);
354 pnts = _mesa_copy_map_points1d(target, ustride, uorder, (GLdouble*) points);
370 _mesa_Map1f( GLenum target, GLfloat u1, GLfloat u2, GLint stride,
373 map1(target, u1, u2, stride, order, points, GL_FLOAT);
378 _mesa_Map1d( GLenum target, GLdouble u1, GLdouble u2, GLint stride,
381 map1(target, (GLfloat) u1, (GLfloat) u2, stride, order, points, GL_DOUBLE);
386 map2( GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder,
417 k = _mesa_evaluator_components( target );
419 _mesa_error( ctx, GL_INVALID_ENUM, "glMap2(target)" );
438 map = get_2d_map(ctx, target);
440 _mesa_error( ctx, GL_INVALID_ENUM, "glMap2(target)" );
446 pnts = _mesa_copy_map_points2f(target, ustride, uorder,
449 pnts = _mesa_copy_map_points2d(target, ustride, uorder,
469 _mesa_Map2f( GLenum target,
474 map2(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder,
480 _mesa_Map2d( GLenum target,
485 map2(target, (GLfloat) u1, (GLfloat) u2, ustride, uorder,
492 _mesa_GetnMapdvARB( GLenum target, GLenum query, GLsizei bufSize, GLdouble *v )
502 comps = _mesa_evaluator_components(target);
504 _mesa_error( ctx, GL_INVALID_ENUM, "glGetMapdv(target)" );
508 map1d = get_1d_map(ctx, target);
509 map2d = get_2d_map(ctx, target);
576 _mesa_GetMapdv( GLenum target, GLenum query, GLdouble *v )
578 _mesa_GetnMapdvARB(target, query, INT_MAX, v);
582 _mesa_GetnMapfvARB( GLenum target, GLenum query, GLsizei bufSize, GLfloat *v )
592 comps = _mesa_evaluator_components(target);
594 _mesa_error( ctx, GL_INVALID_ENUM, "glGetMapfv(target)" );
598 map1d = get_1d_map(ctx, target);
599 map2d = get_2d_map(ctx, target);
667 _mesa_GetMapfv( GLenum target, GLenum query, GLfloat *v )
669 _mesa_GetnMapfvARB(target, query, INT_MAX, v);
674 _mesa_GetnMapivARB( GLenum target, GLenum query, GLsizei bufSize, GLint *v )
684 comps = _mesa_evaluator_components(target);
686 _mesa_error( ctx, GL_INVALID_ENUM, "glGetMapiv(target)" );
690 map1d = get_1d_map(ctx, target);
691 map2d = get_2d_map(ctx, target);
759 _mesa_GetMapiv( GLenum target, GLenum query, GLint *v )
761 _mesa_GetnMapivARB(target, query, INT_MAX, v);