HomeSort by: relevance | last modified time | path
    Searched refs:span (Results 1 - 25 of 130) sorted by relevancy

1 2 3 4 5 6

  /xsrc/external/mit/MesaLib/dist/src/mesa/swrast/
s_atifragshader.h 34 _swrast_exec_fragment_shader( struct gl_context *ctx, SWspan *span );
s_texcombine.h 35 _swrast_texture_span( struct gl_context *ctx, SWspan *span );
s_span.c 29 * \brief Span processing functions used by all rasterization functions.
63 * Set default fragment attributes for the span using the
68 _swrast_span_default_attribs(struct gl_context *ctx, SWspan *span)
75 span->z = FloatToFixed(ctx->Current.RasterPos[2] * depthMax + 0.5F);
79 span->z = (GLint)tmpf;
81 span->zStep = 0;
82 span->interpMask |= SPAN_Z;
86 span->attrStart[VARYING_SLOT_POS][3] = 1.0;
87 span->attrStepX[VARYING_SLOT_POS][3] = 0.0;
88 span->attrStepY[VARYING_SLOT_POS][3] = 0.0
    [all...]
s_points.c 85 SWspan span; local
95 span.z = FloatToFixed(vert->attrib[VARYING_SLOT_POS][2] + 0.5F);
97 span.z = (GLuint) (vert->attrib[VARYING_SLOT_POS][2] + 0.5F);
98 span.zStep = 0;
102 /* span init */
103 INIT_SPAN(span, GL_POINT);
104 span.interpMask = SPAN_Z | SPAN_RGBA;
106 span.facing = swrast->PointLineFacing;
108 span.red = ChanToFixed(vert->color[0]);
109 span.green = ChanToFixed(vert->color[1])
238 SWspan span; local
358 SWspan span; local
452 SWspan *span = &(swrast->PointSpan); local
    [all...]
s_alpha.h 36 _swrast_alpha_test( const struct gl_context *ctx, SWspan *span );
s_linetemp.h 69 SWspan span; local
221 * Span setup: compute start and step values for all interpolated values.
225 span.red = ChanToFixed(vert0->color[0]);
226 span.green = ChanToFixed(vert0->color[1]);
227 span.blue = ChanToFixed(vert0->color[2]);
228 span.alpha = ChanToFixed(vert0->color[3]);
229 span.redStep = (ChanToFixed(vert1->color[0]) - span.red ) / numPixels;
230 span.greenStep = (ChanToFixed(vert1->color[1]) - span.green) / numPixels
    [all...]
s_bitmap.c 56 SWspan span; local
72 INIT_SPAN(span, GL_BITMAP);
73 span.end = width;
74 span.arrayMask = SPAN_XY;
75 _swrast_span_default_attribs(ctx, &span);
86 span.array->x[count] = px + col;
87 span.array->y[count] = py + row;
108 span.array->x[count] = px + col;
109 span.array->y[count] = py + row;
127 /* flush the span */
    [all...]
s_depth.h 38 _swrast_depth_test_span( struct gl_context *ctx, SWspan *span);
41 _swrast_depth_clamp_span( struct gl_context *ctx, SWspan *span );
44 _swrast_depth_bounds_test( struct gl_context *ctx, SWspan *span );
s_fog.h 40 _swrast_fog_rgba_span( const struct gl_context *ctx, SWspan *span );
s_fragprog.h 38 _swrast_exec_fragment_program(struct gl_context *ctx, SWspan *span);
s_logic.h 37 SWspan *span);
s_masking.h 39 SWspan *span, GLuint buf);
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/
s_atifragshader.h 34 _swrast_exec_fragment_shader( struct gl_context *ctx, SWspan *span );
s_texcombine.h 35 _swrast_texture_span( struct gl_context *ctx, SWspan *span );
s_span.c 29 * \brief Span processing functions used by all rasterization functions.
63 * Set default fragment attributes for the span using the
68 _swrast_span_default_attribs(struct gl_context *ctx, SWspan *span)
75 span->z = FloatToFixed(ctx->Current.RasterPos[2] * depthMax + 0.5F);
79 span->z = (GLint)tmpf;
81 span->zStep = 0;
82 span->interpMask |= SPAN_Z;
86 span->attrStart[VARYING_SLOT_POS][3] = 1.0;
87 span->attrStepX[VARYING_SLOT_POS][3] = 0.0;
88 span->attrStepY[VARYING_SLOT_POS][3] = 0.0
    [all...]
s_points.c 85 SWspan span; local
95 span.z = FloatToFixed(vert->attrib[VARYING_SLOT_POS][2] + 0.5F);
97 span.z = (GLuint) (vert->attrib[VARYING_SLOT_POS][2] + 0.5F);
98 span.zStep = 0;
102 /* span init */
103 INIT_SPAN(span, GL_POINT);
104 span.interpMask = SPAN_Z | SPAN_RGBA;
106 span.facing = swrast->PointLineFacing;
108 span.red = ChanToFixed(vert->color[0]);
109 span.green = ChanToFixed(vert->color[1])
245 SWspan span; local
365 SWspan span; local
459 SWspan *span = &(swrast->PointSpan); local
    [all...]
s_alpha.h 36 _swrast_alpha_test( const struct gl_context *ctx, SWspan *span );
s_linetemp.h 69 SWspan span; local
221 * Span setup: compute start and step values for all interpolated values.
225 span.red = ChanToFixed(vert0->color[0]);
226 span.green = ChanToFixed(vert0->color[1]);
227 span.blue = ChanToFixed(vert0->color[2]);
228 span.alpha = ChanToFixed(vert0->color[3]);
229 span.redStep = (ChanToFixed(vert1->color[0]) - span.red ) / numPixels;
230 span.greenStep = (ChanToFixed(vert1->color[1]) - span.green) / numPixels
    [all...]
s_bitmap.c 56 SWspan span; local
72 INIT_SPAN(span, GL_BITMAP);
73 span.end = width;
74 span.arrayMask = SPAN_XY;
75 _swrast_span_default_attribs(ctx, &span);
86 span.array->x[count] = px + col;
87 span.array->y[count] = py + row;
108 span.array->x[count] = px + col;
109 span.array->y[count] = py + row;
127 /* flush the span */
    [all...]
s_depth.h 38 _swrast_depth_test_span( struct gl_context *ctx, SWspan *span);
41 _swrast_depth_clamp_span( struct gl_context *ctx, SWspan *span );
44 _swrast_depth_bounds_test( struct gl_context *ctx, SWspan *span );
s_fog.h 40 _swrast_fog_rgba_span( const struct gl_context *ctx, SWspan *span );
s_fragprog.h 38 _swrast_exec_fragment_program(struct gl_context *ctx, SWspan *span);
s_logic.h 37 SWspan *span);
  /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/x11/
xm_tri.c 68 #define RENDER_SPAN( span ) { \
69 GLint x = span.x, y = YFLIP(xrb, span.y); \
71 for (i = 0; i < span.end; i++, x++) { \
72 const DEPTH_TYPE z = FixedToDepth(span.z); \
75 PACK_TRUECOLOR(p, FixedToInt(span.red), \
76 FixedToInt(span.green), FixedToInt(span.blue)); \
80 span.red += span.redStep;
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/x11/
xm_tri.c 69 #define RENDER_SPAN( span ) { \
70 GLint x = span.x, y = YFLIP(xrb, span.y); \
72 for (i = 0; i < span.end; i++, x++) { \
73 const DEPTH_TYPE z = FixedToDepth(span.z); \
76 PACK_TRUECOLOR(p, FixedToInt(span.red), \
77 FixedToInt(span.green), FixedToInt(span.blue)); \
81 span.red += span.redStep;
    [all...]

Completed in 59 milliseconds

1 2 3 4 5 6