#include "mtypes.h"
Functions | |
void GLAPIENTRY | _mesa_Frustum (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble nearval, GLdouble farval) |
Apply a perspective projection matrix. | |
void GLAPIENTRY | _mesa_Ortho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble nearval, GLdouble farval) |
Apply an orthographic projection matrix. | |
void GLAPIENTRY | _mesa_PushMatrix (void) |
Push the current matrix stack. | |
void GLAPIENTRY | _mesa_PopMatrix (void) |
Pop the current matrix stack. | |
void GLAPIENTRY | _mesa_LoadIdentity (void) |
Replace the current matrix with the identity matrix. | |
void GLAPIENTRY | _mesa_LoadMatrixf (const GLfloat *m) |
Replace the current matrix with a given matrix. | |
void GLAPIENTRY | _mesa_LoadMatrixd (const GLdouble *m) |
void GLAPIENTRY | _mesa_MatrixMode (GLenum mode) |
Set the current matrix stack. | |
void GLAPIENTRY | _mesa_MultMatrixf (const GLfloat *m) |
Multiply the current matrix with a given matrix. | |
void GLAPIENTRY | _mesa_MultMatrixd (const GLdouble *m) |
void GLAPIENTRY | _mesa_Rotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z) |
Multiply the current matrix with a rotation matrix. | |
void GLAPIENTRY | _mesa_Rotated (GLdouble angle, GLdouble x, GLdouble y, GLdouble z) |
void GLAPIENTRY | _mesa_Scalef (GLfloat x, GLfloat y, GLfloat z) |
Multiply the current matrix with a general scaling matrix. | |
void GLAPIENTRY | _mesa_Scaled (GLdouble x, GLdouble y, GLdouble z) |
void GLAPIENTRY | _mesa_Translatef (GLfloat x, GLfloat y, GLfloat z) |
Multiply the current matrix with a translation matrix. | |
void GLAPIENTRY | _mesa_Translated (GLdouble x, GLdouble y, GLdouble z) |
void GLAPIENTRY | _mesa_LoadTransposeMatrixfARB (const GLfloat *m) |
void GLAPIENTRY | _mesa_LoadTransposeMatrixdARB (const GLdouble *m) |
void GLAPIENTRY | _mesa_MultTransposeMatrixfARB (const GLfloat *m) |
void GLAPIENTRY | _mesa_MultTransposeMatrixdARB (const GLdouble *m) |
void | _mesa_init_matrix (GLcontext *ctx) |
Initialize the context matrix data. | |
void | _mesa_init_transform (GLcontext *ctx) |
Initialize the context transform attribute group. | |
void | _mesa_free_matrix_data (GLcontext *ctx) |
Free the context matrix data. | |
void | _mesa_update_modelview_project (GLcontext *ctx, GLuint newstate) |
Updates the combined modelview-projection matrix. |
void _mesa_free_matrix_data | ( | GLcontext * | ctx | ) |
Free the context matrix data.
ctx | GL context. |
void GLAPIENTRY _mesa_Frustum | ( | GLdouble | left, | |
GLdouble | right, | |||
GLdouble | bottom, | |||
GLdouble | top, | |||
GLdouble | nearval, | |||
GLdouble | farval | |||
) |
Apply a perspective projection matrix.
left | left clipping plane coordinate. | |
right | right clipping plane coordinate. | |
bottom | bottom clipping plane coordinate. | |
top | top clipping plane coordinate. | |
nearval | distance to the near clipping plane. | |
farval | distance to the far clipping plane. |
void _mesa_init_matrix | ( | GLcontext * | ctx | ) |
Initialize the context matrix data.
ctx | GL context. |
void _mesa_init_transform | ( | GLcontext * | ctx | ) |
Initialize the context transform attribute group.
ctx | GL context. |
void GLAPIENTRY _mesa_LoadIdentity | ( | void | ) |
Replace the current matrix with the identity matrix.
void GLAPIENTRY _mesa_LoadMatrixd | ( | const GLdouble * | m | ) |
void GLAPIENTRY _mesa_LoadMatrixf | ( | const GLfloat * | m | ) |
Replace the current matrix with a given matrix.
m | matrix. |
void GLAPIENTRY _mesa_LoadTransposeMatrixdARB | ( | const GLdouble * | m | ) |
void GLAPIENTRY _mesa_LoadTransposeMatrixfARB | ( | const GLfloat * | m | ) |
void GLAPIENTRY _mesa_MatrixMode | ( | GLenum | mode | ) |
Set the current matrix stack.
mode | matrix stack. |
void GLAPIENTRY _mesa_MultMatrixd | ( | const GLdouble * | m | ) |
void GLAPIENTRY _mesa_MultMatrixf | ( | const GLfloat * | m | ) |
Multiply the current matrix with a given matrix.
m | matrix. |
void GLAPIENTRY _mesa_MultTransposeMatrixdARB | ( | const GLdouble * | m | ) |
void GLAPIENTRY _mesa_MultTransposeMatrixfARB | ( | const GLfloat * | m | ) |
void GLAPIENTRY _mesa_Ortho | ( | GLdouble | left, | |
GLdouble | right, | |||
GLdouble | bottom, | |||
GLdouble | top, | |||
GLdouble | nearval, | |||
GLdouble | farval | |||
) |
Apply an orthographic projection matrix.
left | left clipping plane coordinate. | |
right | right clipping plane coordinate. | |
bottom | bottom clipping plane coordinate. | |
top | top clipping plane coordinate. | |
nearval | distance to the near clipping plane. | |
farval | distance to the far clipping plane. |
void GLAPIENTRY _mesa_PopMatrix | ( | void | ) |
Pop the current matrix stack.
void GLAPIENTRY _mesa_PushMatrix | ( | void | ) |
Push the current matrix stack.
void GLAPIENTRY _mesa_Rotated | ( | GLdouble | angle, | |
GLdouble | x, | |||
GLdouble | y, | |||
GLdouble | z | |||
) |
void GLAPIENTRY _mesa_Rotatef | ( | GLfloat | angle, | |
GLfloat | x, | |||
GLfloat | y, | |||
GLfloat | z | |||
) |
Multiply the current matrix with a rotation matrix.
angle | angle of rotation, in degrees. | |
x | rotation vector x coordinate. | |
y | rotation vector y coordinate. | |
z | rotation vector z coordinate. |
void GLAPIENTRY _mesa_Scaled | ( | GLdouble | x, | |
GLdouble | y, | |||
GLdouble | z | |||
) |
void GLAPIENTRY _mesa_Scalef | ( | GLfloat | x, | |
GLfloat | y, | |||
GLfloat | z | |||
) |
Multiply the current matrix with a general scaling matrix.
x | x axis scale factor. | |
y | y axis scale factor. | |
z | z axis scale factor. |
void GLAPIENTRY _mesa_Translated | ( | GLdouble | x, | |
GLdouble | y, | |||
GLdouble | z | |||
) |
void GLAPIENTRY _mesa_Translatef | ( | GLfloat | x, | |
GLfloat | y, | |||
GLfloat | z | |||
) |
Multiply the current matrix with a translation matrix.
x | translation vector x coordinate. | |
y | translation vector y coordinate. | |
z | translation vector z coordinate. |
void _mesa_update_modelview_project | ( | GLcontext * | ctx, | |
GLuint | new_state | |||
) |
Updates the combined modelview-projection matrix.
ctx | GL context. | |
new_state | new state bit mask. |