Lines Matching refs:Polygon
57 if (ctx->Polygon.CullFaceMode == mode) in cull_face()
69 ctx->Polygon.CullFaceMode = mode; in cull_face()
110 if (ctx->Polygon.FrontFace == mode) in front_face()
121 ctx->Polygon.FrontFace = mode; in front_face()
164 ctx->Polygon.FrontMode == GL_FILL_RECTANGLE_NV || in polygon_mode()
165 ctx->Polygon.BackMode == GL_FILL_RECTANGLE_NV; in polygon_mode()
194 if (ctx->Polygon.FrontMode == mode) in polygon_mode()
199 ctx->Polygon.FrontMode = mode; in polygon_mode()
202 if (ctx->Polygon.FrontMode == mode && ctx->Polygon.BackMode == mode) in polygon_mode()
207 ctx->Polygon.FrontMode = mode; in polygon_mode()
208 ctx->Polygon.BackMode = mode; in polygon_mode()
215 if (ctx->Polygon.BackMode == mode) in polygon_mode()
220 ctx->Polygon.BackMode = mode; in polygon_mode()
320 if (ctx->Polygon.OffsetFactor == factor && in _mesa_polygon_offset_clamp()
321 ctx->Polygon.OffsetUnits == units && in _mesa_polygon_offset_clamp()
322 ctx->Polygon.OffsetClamp == clamp) in _mesa_polygon_offset_clamp()
328 ctx->Polygon.OffsetFactor = factor; in _mesa_polygon_offset_clamp()
329 ctx->Polygon.OffsetUnits = units; in _mesa_polygon_offset_clamp()
330 ctx->Polygon.OffsetClamp = clamp; in _mesa_polygon_offset_clamp()
379 ctx->Polygon.CullFlag = GL_FALSE; in _mesa_init_polygon()
380 ctx->Polygon.CullFaceMode = GL_BACK; in _mesa_init_polygon()
381 ctx->Polygon.FrontFace = GL_CCW; in _mesa_init_polygon()
382 ctx->Polygon.FrontMode = GL_FILL; in _mesa_init_polygon()
383 ctx->Polygon.BackMode = GL_FILL; in _mesa_init_polygon()
384 ctx->Polygon.SmoothFlag = GL_FALSE; in _mesa_init_polygon()
385 ctx->Polygon.StippleFlag = GL_FALSE; in _mesa_init_polygon()
386 ctx->Polygon.OffsetFactor = 0.0F; in _mesa_init_polygon()
387 ctx->Polygon.OffsetUnits = 0.0F; in _mesa_init_polygon()
388 ctx->Polygon.OffsetClamp = 0.0F; in _mesa_init_polygon()
389 ctx->Polygon.OffsetPoint = GL_FALSE; in _mesa_init_polygon()
390 ctx->Polygon.OffsetLine = GL_FALSE; in _mesa_init_polygon()
391 ctx->Polygon.OffsetFill = GL_FALSE; in _mesa_init_polygon()