HomeSort by relevance Sort by last modified time
    Searched refs:quads (Results 1 - 25 of 47) sorted by null

1 2

  /external/mesa3d/src/gallium/drivers/softpipe/
sp_quad_depth_test_tmp.h 44 * NOTE: there's no guarantee that the quads are sequentially side by
45 * side. The fragment shader may have culled some quads, etc. Sliver
46 * triangles may generate non-sequential quads.
50 struct quad_header *quads[],
54 const unsigned ix = quads[0]->input.x0;
55 const unsigned iy = quads[0]->input.y0;
58 const float dzdx = quads[0]->posCoef->dadx[2];
59 const float dzdy = quads[0]->posCoef->dady[2];
60 const float z0 = quads[0]->posCoef->a0[2] + dzdx * fx + dzdy * fy;
74 tile = sp_get_cached_tile(qs->softpipe->zsbuf_cache, ix, iy, quads[0]->input.layer)
    [all...]
sp_quad_stipple.c 14 * Apply polygon stipple to quads produced by triangle rasterization
17 stipple_quad(struct quad_stage *qs, struct quad_header *quads[], unsigned nr)
29 struct quad_header *quad = quads[q];
51 quads[pass++] = quad;
54 qs->next->run(qs->next, quads, pass);
sp_quad_fs.c 100 * Shade/write an array of quads
105 struct quad_header *quads[],
116 machine->InterpCoefs = quads[0]->coef;
122 * the quads' Z coordinates are step-wise interpolated with respect
125 * Z values in each pass. If interpolation starts with different quads
128 if (!shade_quad(qs, quads[i]) && i > 0)
132 coverage_quad( qs, quads[i] );
134 quads[nr_quads++] = quads[i];
138 qs->next->run(qs->next, quads, nr_quads)
    [all...]
sp_quad_depth_test.c 242 /* Copy quads stencil values
689 struct quad_header *quads[], \
698 const float *aaaa = quads[i]->output.color[cbuf][3]; \
706 quads[i]->inout.mask &= passMask; \
708 if (quads[i]->inout.mask) \
709 quads[pass_nr++] = quads[i]; \
728 struct quad_header *quads[],
733 return alpha_test_quads_LESS( qs, quads, nr );
735 return alpha_test_quads_EQUAL( qs, quads, nr )
    [all...]
sp_quad_blend.c 919 struct quad_header *quads[],
936 quads[0]->input.x0,
937 quads[0]->input.y0, quads[0]->input.layer);
949 struct quad_header *quad = quads[q];
    [all...]
  /external/skia/src/gpu/ops/
GrFillRectOp.cpp 130 // Then combine the colors of any additional quads (e.g. from MakeSet)
148 // If there is a constant color after analysis, that means all of the quads should be set
192 const GrRenderTargetContext::QuadSetEntry quads[], int quadCount,
284 // so that quads with no aa edges can be batched with quads that have some/all edges aa'ed.
314 // else the new quad could have been downgraded but the other quads can't be, so don't
347 // No metadata attached to the local quads; this list is empty when local coords are not needed.
409 // With arbitrary quads, the quad types are limited to kStandard or kPerspective (unless we
424 const GrRenderTargetContext::QuadSetEntry quads[],
431 paint.setColor4f(quads[0].fColor)
    [all...]
GrFillRectOp.h 56 // Generalization that accepts 2D convex quads instead of just rectangles. If 'localQuad' is not
67 // Bulk API for drawing quads with a single op
73 const GrRenderTargetContext::QuadSetEntry quads[],
  /external/skqp/src/gpu/ops/
GrFillRectOp.cpp 128 // Then combine the colors of any additional quads (e.g. from MakeSet)
145 // If there is a constant color after analysis, that means all of the quads should be set
169 const GrRenderTargetContext::QuadSetEntry quads[], int quadCount,
259 // so that quads with no aa edges can be batched with quads that have some/all edges aa'ed.
289 // else the new quad could have been downgraded but the other quads can't be, so don't
322 // No metadata attached to the local quads; this list is empty when local coords are not needed.
377 const GrRenderTargetContext::QuadSetEntry quads[],
384 paint.setColor4f(quads[0].fColor);
386 quads[0].fAAFlags, stencilSettings, GrPerspQuad(quads[0].fRect, viewMatrix)
    [all...]
GrFillRectOp.h 55 // Bulk API for drawing quads with a single op
61 const GrRenderTargetContext::QuadSetEntry quads[],
  /external/skia/tests/
PathOpsTestCommon.cpp 136 void CubicToQuads(const SkDCubic& cubic, double precision, SkTArray<SkDQuad, true>& quads) {
141 quads.push_back(quad);
161 quads.push_back(quad);
169 SkTArray<SkDQuad, true> quads; local
185 quads.reset();
187 CubicToQuads(cubic, cubic.calcPrecision(), quads);
188 for (int index = 0; index < quads.count(); ++index) {
190 quads[index][1].asSkPoint(),
191 quads[index][2].asSkPoint()
PathOpsTestCommon.h 32 void CubicToQuads(const SkDCubic& cubic, double precision, SkTArray<SkDQuad, true>& quads);
PathOpsAngleIdeas.cpp 79 // construct circle from quads
478 const SkDQuad* quads[] = {&quad1, &quad2};
487 for (unsigned index = 0; index < SK_ARRAY_COUNT(quads); ++index) {
488 const SkDQuad& q = *quads[index];
532 const SkDQuad& q = *quads[sIndex];
563 const QuadPts quads[] = {
567 for (int index = 0; index < (int) SK_ARRAY_COUNT(quads); index += 2) {
569 quad0.debugSet(quads[index].fPts);
570 quad1.debugSet(quads[index + 1].fPts);
663 SkDQuad quads[SK_ARRAY_COUNT(qPts)] local
    [all...]
  /external/skqp/tests/
PathOpsTestCommon.cpp 136 void CubicToQuads(const SkDCubic& cubic, double precision, SkTArray<SkDQuad, true>& quads) {
141 quads.push_back(quad);
161 quads.push_back(quad);
169 SkTArray<SkDQuad, true> quads; local
185 quads.reset();
187 CubicToQuads(cubic, cubic.calcPrecision(), quads);
188 for (int index = 0; index < quads.count(); ++index) {
190 quads[index][1].asSkPoint(),
191 quads[index][2].asSkPoint()
PathOpsTestCommon.h 32 void CubicToQuads(const SkDCubic& cubic, double precision, SkTArray<SkDQuad, true>& quads);
PathOpsAngleIdeas.cpp 79 // construct circle from quads
478 const SkDQuad* quads[] = {&quad1, &quad2};
487 for (unsigned index = 0; index < SK_ARRAY_COUNT(quads); ++index) {
488 const SkDQuad& q = *quads[index];
532 const SkDQuad& q = *quads[sIndex];
563 const QuadPts quads[] = {
567 for (int index = 0; index < (int) SK_ARRAY_COUNT(quads); index += 2) {
569 quad0.debugSet(quads[index].fPts);
570 quad1.debugSet(quads[index + 1].fPts);
663 SkDQuad quads[SK_ARRAY_COUNT(qPts)] local
    [all...]
  /external/mesa3d/src/gallium/auxiliary/vl/
vl_mpeg12_decoder.h 59 struct pipe_vertex_buffer quads; member in struct:vl_mpeg12_decoder
  /external/skia/src/gpu/
GrPathUtils.h 103 // Converts a cubic into a sequence of quads. If working in device space
105 // result is sets of 3 points in quads. This will preserve the starting and
109 SkTArray<SkPoint, true>* quads);
121 SkTArray<SkPoint, true>* quads);
GrPathUtils.cpp 400 SkTArray<SkPoint, true>* quads,
411 SkPoint* degQuad = quads->push_back_n(3);
449 SkPoint* pts = quads->push_back_n(3);
458 choppedPts + 0, toleranceSqd, quads, sublevel + 1, preserveFirstTangent, false);
460 choppedPts + 3, toleranceSqd, quads, sublevel + 1, false, preserveLastTangent);
466 SkTArray<SkPoint, true>* quads,
476 SkPoint* degQuad = quads->push_back_n(3);
522 SkPoint* qpts = quads->push_back_n(6);
530 SkPoint* qpts = quads->push_back_n(3);
577 SkPoint* pts = quads->push_back_n(3)
    [all...]
  /external/skqp/src/gpu/
GrPathUtils.h 103 // Converts a cubic into a sequence of quads. If working in device space
105 // result is sets of 3 points in quads. This will preserve the starting and
109 SkTArray<SkPoint, true>* quads);
121 SkTArray<SkPoint, true>* quads);
GrPathUtils.cpp 400 SkTArray<SkPoint, true>* quads,
411 SkPoint* degQuad = quads->push_back_n(3);
449 SkPoint* pts = quads->push_back_n(3);
458 choppedPts + 0, toleranceSqd, quads, sublevel + 1, preserveFirstTangent, false);
460 choppedPts + 3, toleranceSqd, quads, sublevel + 1, false, preserveLastTangent);
466 SkTArray<SkPoint, true>* quads,
476 SkPoint* degQuad = quads->push_back_n(3);
522 SkPoint* qpts = quads->push_back_n(6);
530 SkPoint* qpts = quads->push_back_n(3);
577 SkPoint* pts = quads->push_back_n(3)
    [all...]
  /external/skia/modules/pathkit/
pathkit_wasm_bindings.cpp 290 SkPoint quads[5]; local
291 // approximate with 2^1=2 quads.
292 SkPath::ConvertConicToQuads(pts[0], pts[1], pts[2], iter.conicWeight(), quads, 1);
293 ctx.call<void>("quadraticCurveTo", quads[1].x(), quads[1].y(), quads[2].x(), quads[2].y());
294 ctx.call<void>("quadraticCurveTo", quads[3].x(), quads[3].y(), quads[4].x(), quads[4].y())
    [all...]
  /external/skqp/modules/pathkit/
pathkit_wasm_bindings.cpp 290 SkPoint quads[5]; local
291 // approximate with 2^1=2 quads.
292 SkPath::ConvertConicToQuads(pts[0], pts[1], pts[2], iter.conicWeight(), quads, 1);
293 ctx.call<void>("quadraticCurveTo", quads[1].x(), quads[1].y(), quads[2].x(), quads[2].y());
294 ctx.call<void>("quadraticCurveTo", quads[3].x(), quads[3].y(), quads[4].x(), quads[4].y())
    [all...]
  /external/mesa3d/src/mesa/tnl_dd/
t_dd_dmatmp2.h 435 /* Emit whole number of quads in total, and in each buffer.
441 GLint quads, i; local
444 quads = (nr/2)-1;
445 dest = ALLOC_ELTS( quads*6 );
447 for ( i = j ; i < j+quads*2 ; i+=2 ) {
494 GLint quads, i; local
497 quads = nr/4;
498 dest = ALLOC_ELTS( quads*6 );
500 for ( i = j ; i < j+quads*4 ; i+=4 ) {
819 /* Emit whole number of quads in total, and in each buffer
834 GLint quads = (nr\/2)-1; local
894 GLint quads = nr\/4; local
    [all...]
  /art/test/044-proxy/src/
BasicTest.java 45 Quads quads = (Quads) proxy; local
46 quads.rectangle(15, 25);
47 quads.trapezoid(6, 81.18, 4);
99 Quads.class, Colors.class, Trace.class);
136 interface Quads extends Shapes {
173 class Mix implements Quads, Colors {
  /external/mesa3d/src/gallium/auxiliary/indices/
u_unfilled_gen.py 35 'quads',
184 def quads(intype, outtype): function
185 preamble(intype, outtype, prim='quads')
222 quads(intype, outtype)

Completed in 2293 milliseconds

1 2