Lines Matching defs:polygon
49 #include "polygon.h"
269 attr->CullFace = ctx->Polygon.CullFlag;
306 attr->PolygonOffsetPoint = ctx->Polygon.OffsetPoint;
307 attr->PolygonOffsetLine = ctx->Polygon.OffsetLine;
308 attr->PolygonOffsetFill = ctx->Polygon.OffsetFill;
309 attr->PolygonSmooth = ctx->Polygon.SmoothFlag;
310 attr->PolygonStipple = ctx->Polygon.StippleFlag;
395 memcpy( attr, &ctx->Polygon, sizeof(struct gl_polygon_attrib) );
521 TEST_AND_UPDATE(ctx->Polygon.CullFlag, enable->CullFace, GL_CULL_FACE);
589 TEST_AND_UPDATE(ctx->Polygon.OffsetPoint, enable->PolygonOffsetPoint,
591 TEST_AND_UPDATE(ctx->Polygon.OffsetLine, enable->PolygonOffsetLine,
593 TEST_AND_UPDATE(ctx->Polygon.OffsetFill, enable->PolygonOffsetFill,
595 TEST_AND_UPDATE(ctx->Polygon.SmoothFlag, enable->PolygonSmooth,
597 TEST_AND_UPDATE(ctx->Polygon.StippleFlag, enable->PolygonStipple,
1175 const struct gl_polygon_attrib *polygon;
1176 polygon = (const struct gl_polygon_attrib *) attr->data;
1177 _mesa_CullFace(polygon->CullFaceMode);
1178 _mesa_FrontFace(polygon->FrontFace);
1179 _mesa_PolygonMode(GL_FRONT, polygon->FrontMode);
1180 _mesa_PolygonMode(GL_BACK, polygon->BackMode);
1181 _mesa_PolygonOffset(polygon->OffsetFactor,
1182 polygon->OffsetUnits);
1183 _mesa_set_enable(ctx, GL_POLYGON_SMOOTH, polygon->SmoothFlag);
1184 _mesa_set_enable(ctx, GL_POLYGON_STIPPLE, polygon
1185 _mesa_set_enable(ctx, GL_CULL_FACE, polygon->CullFlag);
1187 polygon->OffsetPoint);
1189 polygon->OffsetLine);
1191 polygon->OffsetFill);