2 * Mesa 3-D graphics library
5 * Copyright (C) 1999-2008 Brian Paul All Rights Reserved.
6 * Copyright (C) 2009 VMware, Inc. 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 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
22 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
23 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
24 * OTHER DEALINGS IN THE SOFTWARE.
36 extern void GLAPIENTRY
37 _mesa_Frustum( GLdouble left
, GLdouble right
,
38 GLdouble bottom
, GLdouble top
,
39 GLdouble nearval
, GLdouble farval
);
41 extern void GLAPIENTRY
42 _mesa_Ortho( GLdouble left
, GLdouble right
,
43 GLdouble bottom
, GLdouble top
,
44 GLdouble nearval
, GLdouble farval
);
46 extern void GLAPIENTRY
47 _mesa_PushMatrix( void );
49 extern void GLAPIENTRY
50 _mesa_PopMatrix( void );
52 extern void GLAPIENTRY
53 _mesa_LoadIdentity( void );
55 extern void GLAPIENTRY
56 _mesa_LoadMatrixf( const GLfloat
*m
);
58 extern void GLAPIENTRY
59 _mesa_LoadMatrixd( const GLdouble
*m
);
61 extern void GLAPIENTRY
62 _mesa_MatrixMode( GLenum mode
);
64 extern void GLAPIENTRY
65 _mesa_MultMatrixf( const GLfloat
*m
);
67 extern void GLAPIENTRY
68 _mesa_MultMatrixd( const GLdouble
*m
);
70 extern void GLAPIENTRY
71 _mesa_Rotatef( GLfloat angle
, GLfloat x
, GLfloat y
, GLfloat z
);
73 extern void GLAPIENTRY
74 _mesa_Rotated( GLdouble angle
, GLdouble x
, GLdouble y
, GLdouble z
);
76 extern void GLAPIENTRY
77 _mesa_Scalef( GLfloat x
, GLfloat y
, GLfloat z
);
79 extern void GLAPIENTRY
80 _mesa_Scaled( GLdouble x
, GLdouble y
, GLdouble z
);
82 extern void GLAPIENTRY
83 _mesa_Translatef( GLfloat x
, GLfloat y
, GLfloat z
);
85 extern void GLAPIENTRY
86 _mesa_Translated( GLdouble x
, GLdouble y
, GLdouble z
);
88 extern void GLAPIENTRY
89 _mesa_LoadTransposeMatrixf( const GLfloat
*m
);
91 extern void GLAPIENTRY
92 _mesa_LoadTransposeMatrixd( const GLdouble
*m
);
94 extern void GLAPIENTRY
95 _mesa_MultTransposeMatrixf( const GLfloat
*m
);
97 extern void GLAPIENTRY
98 _mesa_MultTransposeMatrixd( const GLdouble
*m
);
102 _mesa_init_matrix( struct gl_context
* ctx
);
105 _mesa_init_transform( struct gl_context
*ctx
);
108 _mesa_free_matrix_data( struct gl_context
*ctx
);
111 _mesa_update_modelview_project( struct gl_context
*ctx
, GLuint newstate
);