Searched refs:quads (Results 1 - 25 of 26) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_quad_depth_test_tmp.h44 * 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;
77 const unsigned outmask = quads[
49 NAME(struct quad_stage *qs, struct quad_header *quads[], unsigned nr) argument
[all...]
H A Dsp_quad_stipple.c14 * Apply polygon stipple to quads produced by triangle rasterization
17 stipple_quad(struct quad_stage *qs, struct quad_header *quads[], unsigned nr) argument
29 struct quad_header *quad = quads[q];
51 quads[pass++] = quad;
54 qs->next->run(qs->next, quads, pass);
H A Dsp_quad_fs.c103 * Shade/write an array of quads
108 struct quad_header *quads[],
119 machine->InterpCoefs = quads[0]->coef;
125 * the quads' Z coordinates are step-wise interpolated with respect
128 * Z values in each pass. If interpolation starts with different quads
131 if (!shade_quad(qs, quads[i]) && i > 0)
135 coverage_quad( qs, quads[i] );
137 quads[nr_quads++] = quads[i];
141 qs->next->run(qs->next, quads, nr_quad
107 shade_quads(struct quad_stage *qs, struct quad_header *quads[], unsigned nr) argument
[all...]
H A Dsp_quad_depth_test.c229 /* Copy quads stencil values
676 struct quad_header *quads[], \
685 const float *aaaa = quads[i]->output.color[cbuf][3]; \
693 quads[i]->inout.mask &= passMask; \
695 if (quads[i]->inout.mask) \
696 quads[pass_nr++] = quads[i]; \
715 struct quad_header *quads[],
720 return alpha_test_quads_LESS( qs, quads, nr );
722 return alpha_test_quads_EQUAL( qs, quads, n
714 alpha_test_quads(struct quad_stage *qs, struct quad_header *quads[], unsigned nr) argument
766 depth_test_quads_fallback(struct quad_stage *qs, struct quad_header *quads[], unsigned nr) argument
868 depth_noop(struct quad_stage *qs, struct quad_header *quads[], unsigned nr) argument
878 choose_depth_test(struct quad_stage *qs, struct quad_header *quads[], unsigned nr) argument
[all...]
H A Dsp_quad_blend.c919 struct quad_header *quads[],
937 quads[0]->input.x0,
938 quads[0]->input.y0);
950 struct quad_header *quad = quads[q];
1027 struct quad_header *quads[],
1039 quads[0]->input.x0,
1040 quads[0]->input.y0);
1043 struct quad_header *quad = quads[q];
1104 struct quad_header *quads[],
1113 quads[
918 blend_fallback(struct quad_stage *qs, struct quad_header *quads[], unsigned nr) argument
1026 blend_single_add_src_alpha_inv_src_alpha(struct quad_stage *qs, struct quad_header *quads[], unsigned nr) argument
1103 blend_single_add_one_one(struct quad_stage *qs, struct quad_header *quads[], unsigned nr) argument
1172 single_output_color(struct quad_stage *qs, struct quad_header *quads[], unsigned nr) argument
1208 blend_noop(struct quad_stage *qs, struct quad_header *quads[], unsigned nr) argument
1216 choose_blend_quad(struct quad_stage *qs, struct quad_header *quads[], unsigned nr) argument
[all...]
/external/opencv/cv/src/
H A Dcvcalibinit.cpp44 uses a graph of connected quads. It is based on the code contributed
128 static int icvGenerateQuads( CvCBQuad **quads, CvCBCorner **corners,
135 static void icvFindQuadNeighbors( CvCBQuad *quads, int quad_count );
137 static int icvFindConnectedQuads( CvCBQuad *quads, int quad_count,
145 CvCBQuad **quads, CvSize pattern_size );
147 static int icvOrderFoundConnectedQuads( int quad_count, CvCBQuad **quads,
153 static int icvTrimCol(CvCBQuad **quads, int count, int col, int dir);
155 static int icvTrimRow(CvCBQuad **quads, int count, int row, int dir);
157 static int icvAddOuterQuad(CvCBQuad *quad, CvCBQuad **quads, int quad_count,
160 static void icvRemoveQuadFromGroup(CvCBQuad **quads, in
217 CvCBQuad *quads = 0, **quad_group = 0; local
539 icvOrderFoundConnectedQuads( int quad_count, CvCBQuad **quads, int *all_count, CvCBQuad **all_quads, CvCBCorner **corners, CvSize pattern_size, CvMemStorage* storage ) argument
779 icvAddOuterQuad( CvCBQuad *quad, CvCBQuad **quads, int quad_count, CvCBQuad **all_quads, int all_count, CvCBCorner **corners ) argument
849 icvTrimCol(CvCBQuad **quads, int count, int col, int dir) argument
894 icvTrimRow(CvCBQuad **quads, int count, int row, int dir) argument
944 icvRemoveQuadFromGroup(CvCBQuad **quads, int count, CvCBQuad *q0) argument
1450 icvFindQuadNeighbors( CvCBQuad *quads, int quad_count ) argument
[all...]
/external/skia/tests/
H A DPathOpsTestCommon.h17 void CubicToQuads(const SkDCubic& cubic, double precision, SkTArray<SkDQuad, true>& quads);
H A DPathOpsTestCommon.cpp133 void CubicToQuads(const SkDCubic& cubic, double precision, SkTArray<SkDQuad, true>& quads) { argument
138 quads.push_back(quad);
158 quads.push_back(quad);
166 SkTArray<SkDQuad, true> quads; local
182 quads.reset();
184 CubicToQuads(cubic, cubic.calcPrecision(), quads);
185 for (int index = 0; index < quads.count(); ++index) {
187 quads[index][1].asSkPoint(),
188 quads[index][2].asSkPoint()
H A DPathOpsAngleIdeas.cpp79 // construct circle from quads
474 const SkDQuad* quads[] = {&quad1, &quad2};
483 for (unsigned index = 0; index < SK_ARRAY_COUNT(quads); ++index) {
484 const SkDQuad& q = *quads[index];
528 const SkDQuad& q = *quads[sIndex];
559 const SkDQuad quads[] = {
563 for (int index = 0; index < (int) SK_ARRAY_COUNT(quads); index += 2) {
564 testQuadAngles(reporter, quads[index], quads[index + 1], 0, &allocator);
641 const SkDQuad quads[] local
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/font/
H A DBitmapTextPage.java121 void assemble(Letters quads) { argument
123 quads.rewind();
125 while (quads.nextCharacter()) {
126 if (quads.isPrintable()) {
127 if (quads.getCharacterSetPage() == page) {
128 pageQuads.add(quads.getQuad());
/external/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_mpeg12_decoder.h57 struct pipe_vertex_buffer quads; member in struct:vl_mpeg12_decoder
H A Dvl_mpeg12_decoder.c432 pipe_resource_reference(&dec->quads.buffer, NULL);
695 vb[0] = dec->quads;
1078 dec->quads = vl_vb_upload_quads(dec->base.context);
/external/mesa3d/src/mesa/tnl_dd/
H A Dt_dd_dmatmp2.h435 /* 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 i
834 GLint quads = (nr/2)-1; local
894 GLint quads = nr/4; local
[all...]
H A Dt_dd_dmatmp.h465 /* Emit whole number of quads in total, and in each buffer.
480 GLint quads = (nr/2)-1; local
482 ELTS_VARS( ALLOC_ELTS( quads*6 ) );
484 for ( i = j-start ; i < j-start+quads*2 ; i+=2 ) {
517 /* Emit whole number of quads in total, and in each buffer.
556 /* Emit whole number of quads in total. dmasz is already a multiple
587 /* Emit whole number of quads in total, and in each buffer.
604 GLint quads = nr/4; local
606 ELTS_VARS( ALLOC_ELTS( quads*6 ) );
608 for ( i = j-start ; i < j-start+quads*
1044 GLint quads = (nr/2)-1; local
1131 GLint quads = nr/4; local
[all...]
/external/mesa3d/src/gallium/auxiliary/indices/
H A Du_unfilled_gen.py36 'quads',
176 def quads(intype, outtype): function
177 preamble(intype, outtype, prim='quads')
198 quads(intype, outtype)
H A Du_indices_gen.py41 'quads',
237 def quads(intype, outtype, inpv, outpv): function
238 preamble(intype, outtype, inpv, outpv, prim='quads')
265 quads(intype, outtype, inpv, outpv)
/external/skia/src/gpu/
H A DGrPathUtils.h109 // Converts a cubic into a sequence of quads. If working in device space
111 // result is sets of 3 points in quads (TODO: share endpoints in returned
125 SkTArray<SkPoint, true>* quads);
H A DGrPathUtils.cpp402 SkTArray<SkPoint, true>* quads,
413 SkPoint* degQuad = quads->push_back_n(3);
460 SkPoint* qpts = quads->push_back_n(6);
468 SkPoint* qpts = quads->push_back_n(3);
522 SkPoint* pts = quads->push_back_n(3);
535 quads,
541 quads,
550 SkTArray<SkPoint, true>* quads) {
560 convert_noninflect_cubic_to_quads(cubic, tolSqd, constrainWithinTangents, dir, quads);
398 convert_noninflect_cubic_to_quads(const SkPoint p[4], SkScalar toleranceSqd, bool constrainWithinTangents, SkPath::Direction dir, SkTArray<SkPoint, true>* quads, int sublevel = 0) argument
546 convertCubicToQuads(const SkPoint p[4], SkScalar tolScale, bool constrainWithinTangents, SkPath::Direction dir, SkTArray<SkPoint, true>* quads) argument
H A DGrAAHairLinePathRenderer.cpp75 // Each line segment is rendered as two quads and two triangles.
132 // Uses the max curvature function for quads to estimate
198 // we subdivide the quads to avoid huge overfill
228 * Generates the lines and quads to be rendered. Lines are always recorded in
233 * subdivide large quads to reduce over-fill. This subdivision has to be
240 GrAAHairLinePathRenderer::PtArray* quads,
327 // when in perspective keep quads in src space
329 SkPoint* pts = quads->push_back_n(3);
384 SkPoint* pts = quads->push_back_n(3);
840 PREALLOC_PTARRAY(128) quads;
236 gather_lines_and_quads(const SkPath& path, const SkMatrix& m, const SkIRect& devClipBounds, GrAAHairLinePathRenderer::PtArray* lines, GrAAHairLinePathRenderer::PtArray* quads, GrAAHairLinePathRenderer::PtArray* conics, GrAAHairLinePathRenderer::IntArray* quadSubdivCnts, GrAAHairLinePathRenderer::FloatArray* conicWeights) argument
[all...]
H A DGrAAConvexPathRenderer.cpp253 SkSTArray<15, SkPoint, true> quads; local
254 GrPathUtils::convertCubicToQuads(pts, SK_Scalar1, true, dir, &quads);
255 int count = quads.count();
257 add_quad_segment(&quads[q], segments);
/external/skia/src/core/
H A DSkShader.cpp150 int quads = kTempColorQuadCount; local
161 } while (--quads != 0);
/external/skia/src/pdf/
H A DSkPDFUtils.cpp164 const SkPoint* quads = converter.computeQuads(args, iter.conicWeight(), tol); local
166 append_quad(&quads[i * 2], &currentSegment);
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
H A DTerrainQuad.java662 * children are either quads or patches. This is dependent on the size of the
664 * size, then patches are created, otherwise, quads are created.
690 * <code>createQuad</code> generates four new quads from this quad.
695 // create 4 terrain quads
1335 int quads = 0;
1337 quads |= 1;
1339 quads |= 2;
1341 quads |= 4;
1343 quads |= 8;
1344 return quads;
[all...]
/external/skia/src/device/xps/
H A DSkXPSDevice.cpp1365 const SkPoint* quads = local
1370 segmentData.push(SkScalarToFLOAT(quads[2 * i + 1].fX));
1371 segmentData.push(SkScalarToFLOAT(quads[2 * i + 1].fY));
1372 segmentData.push(SkScalarToFLOAT(quads[2 * i + 2].fX));
1373 segmentData.push(SkScalarToFLOAT(quads[2 * i + 2].fY));
/external/deqp/modules/gles2/functional/
H A Des2fClippingTests.cpp1838 } quads[] = local
1860 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(quads); ++ndx)
1861 addChild(new QuadFillTest(m_context, (std::string("quad_at_origin_") + de::toString(ndx)).c_str(), "polygon edge clipping", VIEWPORT_CENTER, quads[ndx].d1, quads[ndx].d2));

Completed in 552 milliseconds

12