Searched defs:span (Results 51 - 75 of 162) sorted by relevance

1234567

/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
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_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_zoom.c38 * Compute the bounds of the region resulting from zooming a pixel span.
42 * \param spanX, spanY position of span being drawing
43 * \param width number of pixels in span
131 zoom_span( struct gl_context *ctx, GLint imgX, GLint imgY, const SWspan *span, argument
139 if (!compute_zoomed_bounds(ctx, imgX, imgY, span->x, span->y, span->end,
156 ASSERT((span->arrayMask & SPAN_XY) == 0);
157 ASSERT(span->primitive == GL_BITMAP);
163 zoomed.array->ChanType = span
332 _swrast_write_zoomed_rgba_span(struct gl_context *ctx, GLint imgX, GLint imgY, const SWspan *span, const GLvoid *rgba) argument
340 _swrast_write_zoomed_rgb_span(struct gl_context *ctx, GLint imgX, GLint imgY, const SWspan *span, const GLvoid *rgb) argument
348 _swrast_write_zoomed_depth_span(struct gl_context *ctx, GLint imgX, GLint imgY, const SWspan *span) argument
[all...]
/external/chromium_org/third_party/skia/experimental/Intersection/
H A DShapeOps.cpp22 Span* span; local
23 chase.pop(&span);
24 const Span& backPtr = span->fOther->span(span->fOtherIndex);
34 *chase.insert(0) = span;
36 *chase.append() = span;
94 *chase.insert(0) = span;
96 *chase.append() = span;
/external/chromium_org/third_party/skia/src/core/
H A DSkBlitter_A8.cpp259 SkPMColor* span = fBuffer; local
261 shaderContext->shadeSpan(x, y, span, width);
263 fXfermode->xferA8(device, span, width, NULL);
266 unsigned srcA = SkGetPackedA32(span[i]);
290 SkPMColor* span = fBuffer; local
304 shaderContext->shadeSpan(x, y, span, count);
307 mode->xferA8(device, span, count, aaExpand);
310 device[i] = aa_blend8(span[i], device[i], aa);
336 SkPMColor* span = fBuffer; local
339 shaderContext->shadeSpan(x, y, span, widt
[all...]
H A DSkBlitter_ARGB32.cpp269 const SkPMColor* SK_RESTRICT span,
273 device[i] = SkFourByteInterp256(span[i], device[i], aa256);
326 SkPMColor* span = fBuffer; local
327 fShaderContext->shadeSpan(x, y, span, width);
329 fXfermode->xfer32(device, span, width, NULL);
331 fProc32(device, span, width, 255);
343 SkPMColor* span = fBuffer; local
349 span = device;
352 memcpy(device, span, width << 2);
355 shaderContext->shadeSpan(x, y, span, widt
268 blend_srcmode(SkPMColor* SK_RESTRICT device, const SkPMColor* SK_RESTRICT span, int count, U8CPU aa) argument
414 SkPMColor* span = fBuffer; local
521 SkPMColor* span = fBuffer; local
621 SkPMColor* span = fBuffer; local
[all...]
/external/chromium_org/third_party/skia/src/pathops/
H A DSkPathOpsOp.cpp14 SkOpSpan* span; local
15 chase.pop(&span);
16 const SkOpSpan& backPtr = span->fOther->span(span->fOtherIndex);
30 *chase.insert(0) = span;
32 *chase.append() = span;
83 *chase.insert(0) = span;
85 *chase.append() = span;
211 last->fOther->span(las
[all...]
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dpage_heap.cc77 // If we're lucky, ll is non-empty, meaning it has a suitable span.
82 // Alternatively, maybe there's a usable returned span.
111 // find the best span (closest to n in size).
116 for (Span* span = large_.normal.next;
117 span != &large_.normal;
118 span = span->next) {
119 if (span->length >= n) {
121 || (span->length < best->length)
122 || ((span
146 Split(Span* span, Length n) argument
164 CommitSpan(Span* span) argument
170 DecommitSpan(Span* span) argument
176 Carve(Span* span, Length n) argument
217 Delete(Span* span) argument
234 MergeIntoFreeList(Span* span) argument
302 PrependToFreeList(Span* span) argument
314 RemoveFromFreeList(Span* span) argument
394 RegisterSizeClass(Span* span, size_t sc) argument
428 Span* span = reinterpret_cast<Span*>(pagemap_.Next(start)); local
504 Span* span = NewSpan(p, ask); local
[all...]
H A Dpage_heap.h46 #include "span.h"
108 // contiguous runs of pages (called a "span").
120 // Delete the span "[p, p+n-1]".
121 // REQUIRES: span was returned by earlier call to New() and
123 void Delete(Span* span);
125 // Mark an allocated span as being used for small objects of the
127 // REQUIRES: span was returned by an earlier call to New()
129 void RegisterSizeClass(Span* span, size_t sc);
131 // Split an allocated span into two spans: one of length "n" pages
132 // followed by another span o
262 RecordSpan(Span* span) argument
[all...]
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dpage_heap.cc77 // If we're lucky, ll is non-empty, meaning it has a suitable span.
82 // Alternatively, maybe there's a usable returned span.
110 // find the best span (closest to n in size).
115 for (Span* span = large_.normal.next;
116 span != &large_.normal;
117 span = span->next) {
118 if (span->length >= n) {
120 || (span->length < best->length)
121 || ((span
145 Split(Span* span, Length n) argument
163 Carve(Span* span, Length n) argument
186 Delete(Span* span) argument
202 MergeIntoFreeList(Span* span) argument
241 PrependToFreeList(Span* span) argument
253 RemoveFromFreeList(Span* span) argument
333 RegisterSizeClass(Span* span, size_t sc) argument
367 Span* span = reinterpret_cast<Span*>(pagemap_.Next(start)); local
442 Span* span = NewSpan(p, ask); local
[all...]
H A Dpage_heap.h46 #include "span.h"
100 // contiguous runs of pages (called a "span").
112 // Delete the span "[p, p+n-1]".
113 // REQUIRES: span was returned by earlier call to New() and
115 void Delete(Span* span);
117 // Mark an allocated span as being used for small objects of the
119 // REQUIRES: span was returned by an earlier call to New()
121 void RegisterSizeClass(Span* span, size_t sc);
123 // Split an allocated span into two spans: one of length "n" pages
124 // followed by another span o
251 RecordSpan(Span* span) argument
[all...]
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
H A Dbytecode.c66 yasm_bc_expand_common(yasm_bytecode *bc, int span, long old_val, long new_val, argument
284 yasm_bc_expand(yasm_bytecode *bc, int span, long old_val, long new_val, argument
287 if (span == 0) {
296 return bc->callback->expand(bc, span, old_val, new_val, neg_thres,
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/coff/
H A Dwin64-except.c46 static int win64_uwinfo_bc_expand(yasm_bytecode *bc, int span, long old_val,
61 static int win64_uwcode_bc_expand(yasm_bytecode *bc, int span, long old_val,
254 win64_uwinfo_bc_expand(yasm_bytecode *bc, int span, long old_val, long new_val, argument
258 switch (span) {
275 yasm_internal_error(N_("unrecognized span id"));
356 int span = 0; local
374 span = 1; low = 8; high = 128; mask = 0x7;
381 span = 2;
391 span = 3;
407 if (win64_uwcode_bc_expand(bc, span, int
423 win64_uwcode_bc_expand(yasm_bytecode *bc, int span, long old_val, long new_val, long *neg_thres, long *pos_thres) argument
[all...]
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/
H A Ddfa.c63 lb = Span_show(&s->go.span[i], o, lb);
89 s->go.span = NULL;
98 if (s->go.span)
99 free(s->go.span);
130 Span *span = malloc(sizeof(Span)*nc); local
175 span[s->go.nSpans].ub = lb + j;
176 span[s->go.nSpans].to = to;
183 s->go.span = malloc(sizeof(Span)*s->go.nSpans);
184 memcpy((char*) s->go.span, (char*) span,
[all...]
H A Ddfa.h52 Span *span; member in struct:Go
/external/eigen/unsupported/Eigen/src/Splines/
H A DSpline.h182 * \brief Returns the span within the knot vector in which u is falling.
183 * \param u The site for which the span is determined.
185 DenseIndex span(Scalar u) const;
270 DenseIndex Spline<_Scalar, _Dim, _Degree>::span(Scalar u) const function in class:Eigen::Spline
280 const DenseIndex span = this->span(u); local
285 const Block<const ControlPointVectorType,Dimension,Order> ctrl_pts(ctrls(),0,span-p,Dimension,p+1);
303 const DenseIndex span = spline.span(u); local
316 const Block<const ControlPointVectorType,Dimension,Order> ctrl_pts(spline.ctrls(),0,span
361 const DenseIndex span = spline.span(u); local
[all...]
/external/icu/icu4c/source/test/perf/unisetperf/
H A Dunisetperf.cpp80 "cp/span:%.3g UChar/span:%.3g B/span:%.3g B/cp:%.3g\n",
94 // not-span is counted.
101 i=span(s, length, i, tf);
106 int32_t span(const UChar *s, int32_t length, int32_t start, UBool tf) const { function in class:UnicodeSetPerformanceTest
144 // Input code points, plus one for the end of each span except the last span.
183 i+=span(set, s+i, length-i, tf);
192 static int32_t span(cons function in class:Contains
[all...]
/external/mesa3d/src/mapi/glapi/tests/
H A Dcheck_table.cpp1600 gl_dispatch_stub_359(GLenum target, GLenum format, GLenum type, GLvoid * row, GLvoid * column, GLvoid * span) argument
1607 (void) span;
/external/mesa3d/src/mesa/swrast/
H A Ds_aatritemp.h51 SWspan span; variable
65 INIT_SPAN(span, GL_POLYGON);
66 span.arrayMask = SPAN_COVERAGE;
110 span.facing = area * swrast->_BackfaceSign > 0.0F;
120 span.arrayMask |= SPAN_Z;
134 span.arrayMask |= SPAN_RGBA;
141 span.attrStepX[FRAG_ATTRIB_WPOS][3] = plane_dx(wPlane);
142 span.attrStepY[FRAG_ATTRIB_WPOS][3] = plane_dy(wPlane);
159 span.attrStepX[attr][c] = plane_dx(attrPlane[attr][c]);
160 span
[all...]
H A Ds_atifragshader.c258 const SWspan *span, GLuint column, GLuint idx)
266 span->array->attribs[FRAG_ATTRIB_TEX0 + pass_tex][column]);
278 struct atifs_setupinst *texinst, const SWspan *span,
289 span->array->attribs[FRAG_ATTRIB_TEX0 + coord_source][column]);
312 * \param span - the SWspan we're operating on
313 * \param column - which pixel [i] we're operating on in the span
317 struct atifs_machine *machine, const SWspan *span,
338 handle_pass_op(machine, texinst, span, column, j);
340 handle_sample_op(ctx, machine, texinst, span, column, j);
562 const SWspan *span, GLuin
257 handle_pass_op(struct atifs_machine *machine, struct atifs_setupinst *texinst, const SWspan *span, GLuint column, GLuint idx) argument
277 handle_sample_op(struct gl_context * ctx, struct atifs_machine *machine, struct atifs_setupinst *texinst, const SWspan *span, GLuint column, GLuint idx) argument
316 execute_shader(struct gl_context *ctx, const struct ati_fragment_shader *shader, struct atifs_machine *machine, const SWspan *span, GLuint column) argument
560 init_machine(struct gl_context * ctx, struct atifs_machine *machine, const struct ati_fragment_shader *shader, const SWspan *span, GLuint col) argument
582 _swrast_exec_fragment_shader(struct gl_context * ctx, SWspan *span) argument
[all...]
H A Ds_blend.c991 * Apply the blending operator to a span of pixels.
996 _swrast_blend_span(struct gl_context *ctx, struct gl_renderbuffer *rb, SWspan *span) argument
1001 ASSERT(span->end <= SWRAST_MAX_WIDTH);
1002 ASSERT(span->arrayMask & SPAN_RGBA);
1005 rbPixels = _swrast_get_dest_rgba(ctx, rb, span);
1007 swrast->BlendFunc(ctx, span->end, span->array->mask,
1008 span->array->rgba, rbPixels, span->array->ChanType);
H A Ds_copypix.c107 SWspan span; local
136 INIT_SPAN(span, GL_BITMAP);
137 _swrast_span_default_attribs(ctx, &span);
138 span.arrayMask = SPAN_RGBA;
139 span.arrayAttribs = FRAG_BIT_COL0; /* we'll fill in COL0 attrib values */
164 GLvoid *rgba = span.array->attribs[FRAG_ATTRIB_COL0];
166 /* Get row/span of source pixels */
183 /* Write color span */
184 span.x = destx;
185 span
254 SWspan span; local
[all...]
H A Ds_drawpix.c312 SWspan span; local
314 INIT_SPAN(span, GL_BITMAP);
315 span.arrayMask = SPAN_Z;
316 _swrast_span_default_attribs(ctx, &span);
332 span.array->z[i] = zSrc[i];
333 span.x = x;
334 span.y = y + row;
335 span.end = width;
336 _swrast_write_rgba_span(ctx, &span);
352 memcpy(span
419 SWspan span; local
[all...]
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_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...]

Completed in 379 milliseconds

1234567