Home | History | Annotate | Download | only in main

Lines Matching refs:Polygon

2  * \file polygon.c
3 * Polygon operations.
38 #include "polygon.h"
67 if (ctx->Polygon.CullFaceMode == mode)
71 ctx->Polygon.CullFaceMode = mode;
103 if (ctx->Polygon.FrontFace == mode)
107 ctx->Polygon.FrontFace = mode;
109 ctx->Polygon._FrontBit = (GLboolean) (mode == GL_CW);
117 * Set the polygon rasterization mode.
150 if (ctx->Polygon.FrontMode == mode)
153 ctx->Polygon.FrontMode = mode;
156 if (ctx->Polygon.FrontMode == mode &&
157 ctx->Polygon.BackMode == mode)
160 ctx->Polygon.FrontMode = mode;
161 ctx->Polygon.BackMode = mode;
168 if (ctx->Polygon.BackMode == mode)
171 ctx->Polygon.BackMode = mode;
178 if (ctx->Polygon.FrontMode == GL_FILL && ctx->Polygon.BackMode == GL_FILL)
191 * This routine updates the ctx->Polygon.Stipple state.
280 if (ctx->Polygon.OffsetFactor == factor &&
281 ctx->Polygon.OffsetUnits == units)
285 ctx->Polygon.OffsetFactor = factor;
286 ctx->Polygon.OffsetUnits = units;
309 * Initialize the context polygon state.
313 * Initializes __struct gl_contextRec::Polygon and __struct gl_contextRec::PolygonStipple
318 /* Polygon group */
319 ctx->Polygon.CullFlag = GL_FALSE;
320 ctx->Polygon.CullFaceMode = GL_BACK;
321 ctx->Polygon.FrontFace = GL_CCW;
322 ctx->Polygon._FrontBit = 0;
323 ctx->Polygon.FrontMode = GL_FILL;
324 ctx->Polygon.BackMode = GL_FILL;
325 ctx->Polygon.SmoothFlag = GL_FALSE;
326 ctx->Polygon.StippleFlag = GL_FALSE;
327 ctx->Polygon.OffsetFactor = 0.0F;
328 ctx->Polygon.OffsetUnits = 0.0F;
329 ctx->Polygon.OffsetPoint = GL_FALSE;
330 ctx->Polygon.OffsetLine = GL_FALSE;
331 ctx->Polygon.OffsetFill = GL_FALSE;
334 /* Polygon Stipple group */