#include "mtypes.h"
Functions | |
void | _mesa_polygon_stipple (GLcontext *ctx, const GLubyte *pattern) |
This routine updates the ctx->Polygon.Stipple state. | |
void GLAPIENTRY | _mesa_CullFace (GLenum mode) |
Specify whether to cull front- or back-facing facets. | |
void GLAPIENTRY | _mesa_FrontFace (GLenum mode) |
Define front- and back-facing. | |
void GLAPIENTRY | _mesa_PolygonMode (GLenum face, GLenum mode) |
Set the polygon rasterization mode. | |
void GLAPIENTRY | _mesa_PolygonOffset (GLfloat factor, GLfloat units) |
void GLAPIENTRY | _mesa_PolygonOffsetEXT (GLfloat factor, GLfloat bias) |
void GLAPIENTRY | _mesa_PolygonStipple (const GLubyte *mask) |
Called by glPolygonStipple. | |
void GLAPIENTRY | _mesa_GetPolygonStipple (GLubyte *mask) |
Called by glPolygonStipple. | |
void | _mesa_init_polygon (GLcontext *ctx) |
Initialize the context polygon state. |
void GLAPIENTRY _mesa_CullFace | ( | GLenum | mode | ) |
Specify whether to cull front- or back-facing facets.
mode | culling mode. |
void GLAPIENTRY _mesa_FrontFace | ( | GLenum | mode | ) |
Define front- and back-facing.
mode | orientation of front-facing polygons. |
void GLAPIENTRY _mesa_GetPolygonStipple | ( | GLubyte * | mask | ) |
Called by glPolygonStipple.
void _mesa_init_polygon | ( | GLcontext * | ctx | ) |
Initialize the context polygon state.
ctx | GL context. |
void _mesa_polygon_stipple | ( | GLcontext * | ctx, | |
const GLubyte * | pattern | |||
) |
This routine updates the ctx->Polygon.Stipple state.
If we're getting the stipple data from a PBO, we map the buffer in order to access the data. In any case, we obey the current pixel unpacking parameters when fetching the stipple data.
In the future, this routine should be used as a fallback, called via ctx->Driver.PolygonStipple(). We'll have to update all the DRI drivers too.
void GLAPIENTRY _mesa_PolygonMode | ( | GLenum | face, | |
GLenum | mode | |||
) |
Set the polygon rasterization mode.
face | the polygons which mode applies to. | |
mode | how polygons should be rasterized. |
void GLAPIENTRY _mesa_PolygonOffset | ( | GLfloat | factor, | |
GLfloat | units | |||
) |
void GLAPIENTRY _mesa_PolygonOffsetEXT | ( | GLfloat | factor, | |
GLfloat | bias | |||
) |
void GLAPIENTRY _mesa_PolygonStipple | ( | const GLubyte * | mask | ) |
Called by glPolygonStipple.