Functions | |
| void GLAPIENTRY | _mesa_Viewport (GLint x, GLint y, GLsizei width, GLsizei height) |
| Set the viewport. | |
| void | _mesa_set_viewport (GLcontext *ctx, GLint x, GLint y, GLsizei width, GLsizei height) |
| Set new viewport parameters and update derived state (the _WindowMap matrix). | |
| void GLAPIENTRY | _mesa_DepthRange (GLclampd nearval, GLclampd farval) |
| Called by glDepthRange. | |
| void | _mesa_init_viewport (GLcontext *ctx) |
| Initialize the context viewport attribute group. | |
| void | _mesa_free_viewport_data (GLcontext *ctx) |
| Free the context viewport attribute group data. | |
| void GLAPIENTRY _mesa_DepthRange | ( | GLclampd | nearval, | |
| GLclampd | farval | |||
| ) |
Called by glDepthRange.
| nearval | specifies the Z buffer value which should correspond to the near clip plane | |
| farval | specifies the Z buffer value which should correspond to the far clip plane |
| void _mesa_free_viewport_data | ( | GLcontext * | ctx | ) |
Free the context viewport attribute group data.
| ctx | the GL context. |
| void _mesa_init_viewport | ( | GLcontext * | ctx | ) |
Initialize the context viewport attribute group.
| ctx | the GL context. |
| void _mesa_set_viewport | ( | GLcontext * | ctx, | |
| GLint | x, | |||
| GLint | y, | |||
| GLsizei | width, | |||
| GLsizei | height | |||
| ) |
Set new viewport parameters and update derived state (the _WindowMap matrix).
Usually called from _mesa_Viewport().
| ctx | GL context. | |
| x,y | coordinates of the lower left corner of the viewport rectangle. | |
| width | width of the viewport rectangle. | |
| height | height of the viewport rectangle. |
| void GLAPIENTRY _mesa_Viewport | ( | GLint | x, | |
| GLint | y, | |||
| GLsizei | width, | |||
| GLsizei | height | |||
| ) |
Set the viewport.
1.5.4