Home | History | Annotate | Download | only in swrast

Lines Matching refs:Line

38  * Init the mask[] array to implement a line stipple.
47 GLuint bit = (swrast->StippleCounter / ctx->Line.StippleFactor) & 0xf;
48 if ((1 << bit) & ctx->Line.StipplePattern) {
60 * To draw a wide line we can simply redraw the span N times, side by side.
65 const GLint width = (GLint) CLAMP(ctx->Line.Width,
117 /* Simple RGBA index line (no stipple, width=1, no Z, no fog, no tex)*/
124 /* Z, fog, wide, stipple RGBA line */
129 if (ctx->Line.StippleFlag) { \
133 if (ctx->Line.Width > 1.0) { \
142 /* General-purpose line (any/all features). */
148 if (ctx->Line.StippleFlag) { \
152 if (ctx->Line.Width > 1.0) { \
199 /* record the current line function name */
206 swrast->Line = lineFunc; \
211 #define USE(lineFunc) swrast->Line = lineFunc
218 * Determine which line drawing function to use given the current
233 if (ctx->Line.SmoothFlag) {
236 ASSERT(swrast->Line);
245 || ctx->Line.Width != 1.0
246 || ctx->Line.StippleFlag) {
256 ASSERT(ctx->Line.Width == 1.0);