Searched defs:winding (Results 1 - 9 of 9) sorted by relevance

/external/skia/src/core/
H A DSkEdge.cpp53 int winding = 1; local
58 winding = -1;
81 fWinding = SkToS8(winding);
199 int winding = 1; local
204 winding = -1;
229 fWinding = SkToS8(winding);
361 int winding = 1; local
368 winding = -1;
405 fWinding = SkToS8(winding);
/external/skia/src/pathops/
H A DSkPathOpsCommon.cpp16 // find first angle, initialize winding to computed fWindSum
27 int winding = SK_MinS32; local
32 break; // if we get here, there's no winding, loop is unorderable
36 winding = segment->windSum(angle);
37 } while (winding == SK_MinS32);
39 // directly compute the winding in this case for each span
42 winding = SK_MinS32;
53 winding = testWinding;
59 *windingPtr = winding;
98 // find first angle, initialize winding t
99 int winding; local
[all...]
H A DSkPathOpsOp.cpp36 int winding; local
38 const SkOpAngle* angle = AngleWinding(*startPtr, *endPtr, &winding, &sortable);
39 if (winding == SK_MinS32) {
H A DSkOpSegment.cpp511 // if all angles have a computed winding,
513 // or if adjacent orderable angles have no computed winding,
516 // and one has winding computed, transfer to the other
677 // iterate through the angle, and compute everyone's winding
773 // iterate through the angle, and compute everyone's winding
861 // iterate through the angle, and compute everyone's winding
954 bool SkOpSegment::markAndChaseWinding(SkOpSpanBase* start, SkOpSpanBase* end, int winding, argument
958 bool success = markWinding(spanStart, winding);
963 SkASSERT(spanStart->windSum() == winding);
967 (void) other->markWinding(spanStart, winding);
975 markAndChaseWinding(SkOpSpanBase* start, SkOpSpanBase* end, int winding, int oppWinding, SkOpSpanBase** lastPtr) argument
1068 markWinding(SkOpSpan* span, int winding) argument
1082 markWinding(SkOpSpan* span, int winding, int oppWinding) argument
1745 int winding = lesser->windSum(); local
[all...]
H A DSkPathOpsDebug.cpp897 void SkOpSegment::debugShowNewWinding(const char* fun, const SkOpSpan* span, int winding) { argument
906 if (winding == SK_MinS32) {
909 SkDebugf("%d", winding);
920 void SkOpSegment::debugShowNewWinding(const char* fun, const SkOpSpan* span, int winding, argument
929 span->t(), span->debugID(), pt.fX, pt.fY, span->next()->t(), winding, oppWinding);
930 if (winding == SK_MinS32) {
933 SkDebugf("%d", winding);
/external/mesa3d/src/gallium/drivers/nv50/codegen/
H A Dnv50_ir_driver.h142 int8_t winding; /* +1 (clockwise) / -1 (counter-clockwise) */ member in struct:nv50_ir_prog_info::__anon14002::__anon14004
/external/deqp/framework/referencerenderer/
H A DrrRenderState.hpp50 WINDING_CCW = 0, //!< Counter-clockwise winding
51 WINDING_CW, //!< Clockwise winding
69 : winding (WINDING_CCW)
75 Winding winding; member in struct:rr::RasterizationState
/external/skia/src/gpu/batches/
H A DGrPLSPathRenderer.cpp228 int winding = windingVertices[i].fWinding; local
229 SkASSERT(windingVertices[i + 1].fWinding == winding);
230 SkASSERT(windingVertices[i + 2].fWinding == winding);
237 triVertices.push_back({ bloated[0], p1, p2, p3, winding });
238 triVertices.push_back({ bloated[1], p1, p2, p3, winding });
239 triVertices.push_back({ bloated[2], p1, p2, p3, winding });
246 triVertices.push_back({ { minX, minY }, p1, p2, p3, winding });
247 triVertices.push_back({ { maxX, minY }, p1, p2, p3, winding });
248 triVertices.push_back({ { minX, maxY }, p1, p2, p3, winding });
249 triVertices.push_back({ { maxX, minY }, p1, p2, p3, winding });
[all...]
/external/skia/src/gpu/
H A DGrTessellator.cpp232 Edge(Vertex* top, Vertex* bottom, int winding) argument
233 : fWinding(winding)
310 Poly(int winding) argument
311 : fWinding(winding)
456 Poly* new_poly(Poly** head, Vertex* v, int winding, SkChunkAlloc& alloc) { argument
457 Poly* poly = ALLOC_NEW(Poly, (winding), alloc);
622 inline bool apply_fill_type(SkPath::FillType fillType, int winding) { argument
625 return winding != 0;
627 return (winding & 1) != 0;
629 return winding
639 int winding = c.sweep_lt(prev->fPoint, next->fPoint) ? 1 : -1; local
1268 int winding = leftEdge->fLeftPoly ? leftEdge->fLeftPoly->fWinding : 0; local
[all...]

Completed in 1314 milliseconds