Lines Matching refs:Polygon
163 if (ctx->Polygon.CullFlag &&
164 ctx->Polygon.CullFaceMode == GL_FRONT_AND_BACK)
172 if (!ctx->Polygon.CullFlag ||
173 ctx->Polygon.CullFaceMode != GL_FRONT) {
174 switch (ctx->Polygon.FrontMode) {
181 offset_front = ctx->Polygon.OffsetLine;
185 offset_front = ctx->Polygon.OffsetPoint;
190 if (!ctx->Polygon.CullFlag ||
191 ctx->Polygon.CullFaceMode != GL_BACK) {
192 switch (ctx->Polygon.BackMode) {
199 offset_back = ctx->Polygon.OffsetLine;
203 offset_back = ctx->Polygon.OffsetPoint;
208 if (ctx->Polygon.BackMode != GL_FILL ||
209 ctx->Polygon.FrontMode != GL_FILL) {
213 * one or more polygon faces are unfilled will require help:
219 key.offset_units = ctx->Polygon.OffsetUnits * brw->intel.polygon_offset_scale;
220 key.offset_factor = ctx->Polygon.OffsetFactor * ctx->DrawBuffer->_MRD;
223 switch (ctx->Polygon.FrontFace) {