7 * Mesa 3-D graphics library
10 * Copyright (C) 1999-2001 Brian Paul All Rights Reserved.
12 * Permission is hereby granted, free of charge, to any person obtaining a
13 * copy of this software and associated documentation files (the "Software"),
14 * to deal in the Software without restriction, including without limitation
15 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
16 * and/or sell copies of the Software, and to permit persons to whom the
17 * Software is furnished to do so, subject to the following conditions:
19 * The above copyright notice and this permission notice shall be included
20 * in all copies or substantial portions of the Software.
22 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
23 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
25 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
26 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
27 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
38 extern void GLAPIENTRY
39 _mesa_Frustum( GLdouble left
, GLdouble right
,
40 GLdouble bottom
, GLdouble top
,
41 GLdouble nearval
, GLdouble farval
);
43 extern void GLAPIENTRY
44 _mesa_Ortho( GLdouble left
, GLdouble right
,
45 GLdouble bottom
, GLdouble top
,
46 GLdouble nearval
, GLdouble farval
);
48 extern void GLAPIENTRY
49 _mesa_PushMatrix( void );
51 extern void GLAPIENTRY
52 _mesa_PopMatrix( void );
54 extern void GLAPIENTRY
55 _mesa_LoadIdentity( void );
57 extern void GLAPIENTRY
58 _mesa_LoadMatrixf( const GLfloat
*m
);
60 extern void GLAPIENTRY
61 _mesa_LoadMatrixd( const GLdouble
*m
);
63 extern void GLAPIENTRY
64 _mesa_MatrixMode( GLenum mode
);
66 extern void GLAPIENTRY
67 _mesa_MultMatrixf( const GLfloat
*m
);
69 extern void GLAPIENTRY
70 _mesa_MultMatrixd( const GLdouble
*m
);
72 extern void GLAPIENTRY
73 _mesa_Rotatef( GLfloat angle
, GLfloat x
, GLfloat y
, GLfloat z
);
75 extern void GLAPIENTRY
76 _mesa_Rotated( GLdouble angle
, GLdouble x
, GLdouble y
, GLdouble z
);
78 extern void GLAPIENTRY
79 _mesa_Scalef( GLfloat x
, GLfloat y
, GLfloat z
);
81 extern void GLAPIENTRY
82 _mesa_Scaled( GLdouble x
, GLdouble y
, GLdouble z
);
84 extern void GLAPIENTRY
85 _mesa_Translatef( GLfloat x
, GLfloat y
, GLfloat z
);
87 extern void GLAPIENTRY
88 _mesa_Translated( GLdouble x
, GLdouble y
, GLdouble z
);
90 extern void GLAPIENTRY
91 _mesa_LoadTransposeMatrixfARB( const GLfloat
*m
);
93 extern void GLAPIENTRY
94 _mesa_LoadTransposeMatrixdARB( const GLdouble
*m
);
96 extern void GLAPIENTRY
97 _mesa_MultTransposeMatrixfARB( const GLfloat
*m
);
99 extern void GLAPIENTRY
100 _mesa_MultTransposeMatrixdARB( const GLdouble
*m
);
102 extern void GLAPIENTRY
103 _mesa_Viewport( GLint x
, GLint y
, GLsizei width
, GLsizei height
);
106 _mesa_set_viewport( GLcontext
*ctx
, GLint x
, GLint y
, GLsizei width
, GLsizei height
);
108 extern void GLAPIENTRY
109 _mesa_DepthRange( GLclampd nearval
, GLclampd farval
);
113 _mesa_init_matrix( GLcontext
* ctx
);
116 _mesa_init_transform( GLcontext
*ctx
);
119 _mesa_init_viewport( GLcontext
*ctx
);
122 _mesa_free_matrix_data( GLcontext
*ctx
);
125 _mesa_free_viewport_data( GLcontext
*ctx
);
128 _mesa_update_modelview_project( GLcontext
*ctx
, GLuint newstate
);