Searched refs:span (Results 1 - 25 of 157) sorted by relevance

1234567

/external/mesa3d/src/mesa/swrast/
H A Ds_atifragshader.h35 _swrast_exec_fragment_shader( struct gl_context *ctx, SWspan *span );
H A Ds_texcombine.h35 _swrast_texture_span( struct gl_context *ctx, SWspan *span );
H A Ds_span.c59 * Set default fragment attributes for the span using the
64 _swrast_span_default_attribs(struct gl_context *ctx, SWspan *span) argument
71 span->z = FloatToFixed(ctx->Current.RasterPos[2] * depthMax + 0.5F);
75 span->z = (GLint)tmpf;
77 span->zStep = 0;
78 span->interpMask |= SPAN_Z;
82 span->attrStart[FRAG_ATTRIB_WPOS][3] = 1.0;
83 span->attrStepX[FRAG_ATTRIB_WPOS][3] = 0.0;
84 span->attrStepY[FRAG_ATTRIB_WPOS][3] = 0.0;
92 span
171 interpolate_active_attribs(struct gl_context *ctx, SWspan *span, GLbitfield64 attrMask) argument
219 interpolate_int_colors(struct gl_context *ctx, SWspan *span) argument
319 interpolate_float_colors(SWspan *span) argument
470 interpolate_texcoords(struct gl_context *ctx, SWspan *span) argument
622 interpolate_wpos(struct gl_context *ctx, SWspan *span) argument
656 stipple_polygon_span(struct gl_context *ctx, SWspan *span) argument
831 add_specular(struct gl_context *ctx, SWspan *span) argument
880 apply_aa_coverage(SWspan *span) argument
914 clamp_colors(SWspan *span) argument
935 convert_color_type(SWspan *span, GLenum newType, GLuint output) argument
975 shade_texture_span(struct gl_context *ctx, SWspan *span) argument
1130 _swrast_write_rgba_span( struct gl_context *ctx, SWspan *span) argument
1571 _swrast_get_dest_rgba(struct gl_context *ctx, struct gl_renderbuffer *rb, SWspan *span) argument
[all...]
H A Ds_points.c86 SWspan span; local
96 span.z = FloatToFixed(vert->attrib[FRAG_ATTRIB_WPOS][2] + 0.5F);
98 span.z = (GLuint) (vert->attrib[FRAG_ATTRIB_WPOS][2] + 0.5F);
99 span.zStep = 0;
103 /* span init */
104 INIT_SPAN(span, GL_POINT);
105 span.interpMask = SPAN_Z | SPAN_RGBA;
107 span.facing = swrast->PointLineFacing;
109 span.red = ChanToFixed(vert->color[0]);
110 span
246 SWspan span; local
366 SWspan span; local
460 SWspan *span = &(swrast->PointSpan); local
[all...]
H A Ds_alpha.h36 _swrast_alpha_test( const struct gl_context *ctx, SWspan *span );
H A Ds_linetemp.h69 SWspan span; local
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;
231 span
[all...]
H A Ds_bitmap.c56 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...]
H A Ds_depth.h38 _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 );
H A Ds_fog.h40 _swrast_fog_rgba_span( const struct gl_context *ctx, SWspan *span );
H A Ds_fragprog.h38 _swrast_exec_fragment_program(struct gl_context *ctx, SWspan *span);
H A Ds_logic.h37 SWspan *span);
H A Ds_masking.h39 SWspan *span, GLuint buf);
H A Ds_tritemp.h58 * RENDER_SPAN(span) - code to write a span of pixels.
100 GLfixed endVal = span.CHANNEL + (LEN) * span.CHANNELSTEP; \
102 span.CHANNEL -= endVal; \
104 if (span.CHANNEL < 0) { \
105 span.CHANNEL = 0; \
142 SWspan span; local
146 INIT_SPAN(span, GL_POLYGON);
147 span
[all...]
H A Ds_alpha.c89 * \return 0 if all pixels in the span failed the alpha test,
93 _swrast_alpha_test(const struct gl_context *ctx, SWspan *span) argument
95 const GLuint n = span->end;
96 GLubyte *mask = span->array->mask;
107 span->writeAll = GL_FALSE;
111 if (span->arrayMask & SPAN_RGBA) {
113 if (span->array->ChanType == GL_UNSIGNED_BYTE) {
114 GLubyte (*rgba)[4] = span->array->rgba8;
119 else if (span->array->ChanType == GL_UNSIGNED_SHORT) {
120 GLushort (*rgba)[4] = span
[all...]
H A Ds_fog.c90 if (span->arrayAttribs & FRAG_BIT_FOGC) { \
92 for (i = 0; i < span->end; i++) { \
93 const GLfloat fogCoord = span->array->attribs[FRAG_ATTRIB_FOGC][i][0]; \
105 const GLfloat fogStep = span->attrStepX[FRAG_ATTRIB_FOGC][0]; \
106 GLfloat fogCoord = span->attrStart[FRAG_ATTRIB_FOGC][0]; \
107 const GLfloat wStep = span->attrStepX[FRAG_ATTRIB_WPOS][3]; \
108 GLfloat w = span->attrStart[FRAG_ATTRIB_WPOS][3]; \
110 for (i = 0; i < span->end; i++) { \
125 * Apply fog to a span of RGBA pixels.
126 * The fog value are either in the span
[all...]
H A Ds_triangle.c82 span.interpMask |= SPAN_RGBA; \
83 span.red = ChanToFixed(v2->color[0]); \
84 span.green = ChanToFixed(v2->color[1]); \
85 span.blue = ChanToFixed(v2->color[2]); \
86 span.alpha = ChanToFixed(v2->color[3]); \
87 span.redStep = 0; \
88 span.greenStep = 0; \
89 span.blueStep = 0; \
90 span.alphaStep = 0;
91 #define RENDER_SPAN( span ) _swrast_write_rgba_spa
270 affine_span(struct gl_context *ctx, SWspan *span, struct affine_info *info) argument
607 fast_persp_span(struct gl_context *ctx, SWspan *span, struct persp_info *info) argument
[all...]
H A Ds_blend.h38 _swrast_blend_span(struct gl_context *ctx, struct gl_renderbuffer *rb, SWspan *span);
H A Ds_fragprog.c157 * \param span the span of pixels we'll operate on
158 * \param col which element (column) of the span we'll operate on
163 const SWspan *span, GLuint col)
165 GLfloat *wpos = span->array->attribs[FRAG_ATTRIB_WPOS][col];
181 machine->Attribs = span->array->attribs;
183 machine->DerivX = (GLfloat (*)[4]) span->attrStepX;
184 machine->DerivY = (GLfloat (*)[4]) span->attrStepY;
192 machine->Attribs[FRAG_ATTRIB_FACE][col][0] = 1.0F - span->facing;
212 * Run fragment program on the pixels in span fro
161 init_machine(struct gl_context *ctx, struct gl_program_machine *machine, const struct gl_fragment_program *program, const SWspan *span, GLuint col) argument
215 run_program(struct gl_context *ctx, SWspan *span, GLuint start, GLuint end) argument
[all...]
H A Ds_lines.c60 * To draw a wide line we can simply redraw the span N times, side by side.
63 draw_wide_line( struct gl_context *ctx, SWspan *span, GLboolean xMajor ) argument
70 ASSERT(span->end < SWRAST_MAX_WIDTH);
78 GLint *y = span->array->y;
83 for (i = 0; i < span->end; i++)
87 for (i = 0; i < span->end; i++)
90 _swrast_write_rgba_span(ctx, span);
94 GLint *x = span->array->x;
99 for (i = 0; i < span->end; i++)
103 for (i = 0; i < span
[all...]
H A Ds_logic.c186 * Apply the current logic operator to a span of RGBA pixels.
192 SWspan *span)
196 ASSERT(span->end < SWRAST_MAX_WIDTH);
197 ASSERT(span->arrayMask & SPAN_RGBA);
199 rbPixels = _swrast_get_dest_rgba(ctx, rb, span);
201 if (span->array->ChanType == GL_UNSIGNED_BYTE) {
203 logicop_uint1(ctx, span->end,
204 (GLuint *) span->array->rgba8,
205 (const GLuint *) rbPixels, span->array->mask);
207 else if (span
191 _swrast_logicop_rgba_span(struct gl_context *ctx, struct gl_renderbuffer *rb, SWspan *span) argument
[all...]
/external/mesa3d/src/mesa/drivers/x11/
H A Dxm_tri.c67 #define RENDER_SPAN( span ) { \
68 GLint x = span.x, y = YFLIP(xrb, span.y); \
70 for (i = 0; i < span.end; i++, x++) { \
71 const DEPTH_TYPE z = FixedToDepth(span.z); \
74 PACK_TRUECOLOR(p, FixedToInt(span.red), \
75 FixedToInt(span.green), FixedToInt(span.blue)); \
79 span.red += span
[all...]
/external/icu/icu4j/
H A Dstylesheet.css58 span.j-blk /* block comment */
63 span.j-cmt /* line comment */
68 span.j-key /* keyword */
75 span.j-str /* string constants */
80 span.j-chr /* char constants */
85 span.j-num /* number constants */
89 span.j-sym /* symbols, punctuation */
93 span.j-typ /* primitive types */
99 span.j-jdoc /* javadoc */
104 span
[all...]
/external/skia/src/pathops/
H A DSkPathOpsDebug.cpp36 const SkOpSpanBase* span) {
39 if (entry == span) {
159 SkOpSpan* span = this->head(); local
161 if (span->toAngle()) {
163 result = span->toAngle();
165 } while ((span = span->next()->upCastable()));
182 const SkOpSpan* span = &fHead; local
184 if (span->done()) {
187 if (lastId == this->debugID() && lastT == span
35 ChaseContains(const SkTDArray<SkOpSpanBase* >& chaseArray, const SkOpSpanBase* span) argument
223 debugShowNewWinding(const char* fun, const SkOpSpan* span, int winding) argument
246 debugShowNewWinding(const char* fun, const SkOpSpan* span, int winding, int oppWinding) argument
393 SkCoincidentSpans* span = fHead; local
407 const SkOpSpanBase* span = &fHead; local
[all...]
H A DSkPathOpsWinding.cpp19 // given the top span, project the most perpendicular ray and look for intersections
84 SkOpRayDir makeTestBase(SkOpSpan* span, double t) { argument
86 fSpan = span;
87 fT = span->t() * (1 - t) + span->next()->t() * t;
88 SkOpSegment* segment = span->segment();
171 SkOpSpan* span = this->windingSpanAtT(t); local
172 if (!span) {
174 } else if (!span->windValue() && !span
189 SkOpSpan* span = &fHead; local
268 SkOpSpan* span = hit->fSpan; local
291 SkOpSpan* span = hit->fSpan; local
357 SkOpSpan* span = &fHead; local
[all...]
/external/skia/src/effects/
H A DSkTransparentShader.cpp49 void SkTransparentShader::TransparentShaderContext::shadeSpan(int x, int y, SkPMColor span[], argument
57 if (src != span) {
58 memcpy(span, src, count * sizeof(SkPMColor));
63 span[i] = SkAlphaMulQ(src[i], scale);
71 span[i] = SkPixel16ToPixel32(src[i]);
81 span[i] = SkPackARGB32( alpha,
93 span[i] = SkPackARGB32(src[i], 0, 0, 0);
97 span[i] = SkPackARGB32(SkAlphaMul(src[i], scale), 0, 0, 0);
108 void SkTransparentShader::TransparentShaderContext::shadeSpan16(int x, int y, uint16_t span[], argument
113 if (src != span) {
[all...]

Completed in 790 milliseconds

1234567