2e4f5227e4ba8acaea1ff74329b62a5f199e9aca
3 * Mesa 3-D graphics library
6 * Copyright (C) 1999-2001 Brian Paul All Rights Reserved.
8 * Permission is hereby granted, free of charge, to any person obtaining a
9 * copy of this software and associated documentation files (the "Software"),
10 * to deal in the Software without restriction, including without limitation
11 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
12 * and/or sell copies of the Software, and to permit persons to whom the
13 * Software is furnished to do so, subject to the following conditions:
15 * The above copyright notice and this permission notice shall be included
16 * in all copies or substantial portions of the Software.
18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
19 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
21 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
22 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
23 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
34 extern void _mesa_init_eval( void );
37 extern GLuint
_mesa_evaluator_components( GLenum target
);
40 extern void gl_free_control_points( GLcontext
*ctx
,
41 GLenum target
, GLfloat
*data
);
44 extern GLfloat
*_mesa_copy_map_points1f( GLenum target
,
45 GLint ustride
, GLint uorder
,
46 const GLfloat
*points
);
48 extern GLfloat
*_mesa_copy_map_points1d( GLenum target
,
49 GLint ustride
, GLint uorder
,
50 const GLdouble
*points
);
52 extern GLfloat
*_mesa_copy_map_points2f( GLenum target
,
53 GLint ustride
, GLint uorder
,
54 GLint vstride
, GLint vorder
,
55 const GLfloat
*points
);
57 extern GLfloat
*_mesa_copy_map_points2d(GLenum target
,
58 GLint ustride
, GLint uorder
,
59 GLint vstride
, GLint vorder
,
60 const GLdouble
*points
);
65 _mesa_Map1f( GLenum target
, GLfloat u1
, GLfloat u2
, GLint stride
,
66 GLint order
, const GLfloat
*points
);
69 _mesa_Map2f( GLenum target
,
70 GLfloat u1
, GLfloat u2
, GLint ustride
, GLint uorder
,
71 GLfloat v1
, GLfloat v2
, GLint vstride
, GLint vorder
,
72 const GLfloat
*points
);
75 _mesa_Map1d( GLenum target
, GLdouble u1
, GLdouble u2
, GLint stride
,
76 GLint order
, const GLdouble
*points
);
79 _mesa_Map2d( GLenum target
,
80 GLdouble u1
, GLdouble u2
, GLint ustride
, GLint uorder
,
81 GLdouble v1
, GLdouble v2
, GLint vstride
, GLint vorder
,
82 const GLdouble
*points
);
85 _mesa_MapGrid1f( GLint un
, GLfloat u1
, GLfloat u2
);
88 _mesa_MapGrid1d( GLint un
, GLdouble u1
, GLdouble u2
);
91 _mesa_MapGrid2f( GLint un
, GLfloat u1
, GLfloat u2
,
92 GLint vn
, GLfloat v1
, GLfloat v2
);
95 _mesa_MapGrid2d( GLint un
, GLdouble u1
, GLdouble u2
,
96 GLint vn
, GLdouble v1
, GLdouble v2
);
99 _mesa_GetMapdv( GLenum target
, GLenum query
, GLdouble
*v
);
102 _mesa_GetMapfv( GLenum target
, GLenum query
, GLfloat
*v
);
105 _mesa_GetMapiv( GLenum target
, GLenum query
, GLint
*v
);