/external/skqp/src/pathops/ |
D | SkPathOpsCommon.cpp | 29 int winding = SK_MinS32; in AngleWinding() local 41 winding = segment->windSum(angle); in AngleWinding() 42 } while (winding == SK_MinS32); in AngleWinding() 47 winding = SK_MinS32; in AngleWinding() 58 winding = testWinding; in AngleWinding() 64 *windingPtr = winding; in AngleWinding() 105 int winding; in FindChase() local 107 const SkOpAngle* angle = AngleWinding(*startPtr, *endPtr, &winding, &sortable); in FindChase() 111 if (winding == SK_MinS32) { in FindChase()
|
D | SkPathOpsAsWinding.cpp | 58 int winding = 0; in contains_edge() local 94 winding += (int) directions[index]; in contains_edge() 96 return winding; // note winding indicates containership, not contour direction in contains_edge() 212 int winding = 0; in nextEdge() local 235 winding += contains_edge(pts, verb, conic_weight(iter, verb), contour.fMinXY); in nextEdge() 260 return winding; in nextEdge() 273 int winding = this->nextEdge(contour, Edge::kCompare); in containerContains() local 276 test.fContained = winding != 0; in containerContains() 277 return -1 <= winding && winding <= 1; in containerContains()
|
D | SkOpSegment.cpp | 892 bool SkOpSegment::markAndChaseWinding(SkOpSpanBase* start, SkOpSpanBase* end, int winding, in markAndChaseWinding() argument 896 bool success = markWinding(spanStart, winding); in markAndChaseWinding() 909 (void) other->markWinding(spanStart, winding); in markAndChaseWinding() 918 int winding, int oppWinding, SkOpSpanBase** lastPtr) { in markAndChaseWinding() argument 921 bool success = markWinding(spanStart, winding, oppWinding); in markAndChaseWinding() 931 if (spanStart->windSum() != winding || spanStart->oppSum() != oppWinding) { in markAndChaseWinding() 937 FAIL_IF(spanStart->oppSum() != winding); in markAndChaseWinding() 943 (void) other->markWinding(spanStart, winding, oppWinding); in markAndChaseWinding() 945 (void) other->markWinding(spanStart, oppWinding, winding); in markAndChaseWinding() 1021 bool SkOpSegment::markWinding(SkOpSpan* span, int winding) { in markWinding() argument [all …]
|
D | SkOpSegment.h | 161 void debugShowNewWinding(const char* fun, const SkOpSpan* span, int winding); 162 void debugShowNewWinding(const char* fun, const SkOpSpan* span, int winding, int oppWinding); 278 bool markAndChaseWinding(SkOpSpanBase* start, SkOpSpanBase* end, int winding, 280 bool markAndChaseWinding(SkOpSpanBase* start, SkOpSpanBase* end, int winding, 286 bool markWinding(SkOpSpan* , int winding); 287 bool markWinding(SkOpSpan* , int winding, int oppWinding);
|
D | SkPathOpsOp.cpp | 39 int winding; in findChaseOp() local 41 const SkOpAngle* angle = AngleWinding(*startPtr, *endPtr, &winding, &sortable); in findChaseOp() 46 if (winding == SK_MinS32) { in findChaseOp()
|
/external/skia/src/pathops/ |
D | SkPathOpsCommon.cpp | 29 int winding = SK_MinS32; in AngleWinding() local 41 winding = segment->windSum(angle); in AngleWinding() 42 } while (winding == SK_MinS32); in AngleWinding() 47 winding = SK_MinS32; in AngleWinding() 58 winding = testWinding; in AngleWinding() 64 *windingPtr = winding; in AngleWinding() 105 int winding; in FindChase() local 107 const SkOpAngle* angle = AngleWinding(*startPtr, *endPtr, &winding, &sortable); in FindChase() 111 if (winding == SK_MinS32) { in FindChase()
|
D | SkPathOpsAsWinding.cpp | 58 int winding = 0; in contains_edge() local 94 winding += (int) directions[index]; in contains_edge() 96 return winding; // note winding indicates containership, not contour direction in contains_edge() 212 int winding = 0; in nextEdge() local 235 winding += contains_edge(pts, verb, conic_weight(iter, verb), contour.fMinXY); in nextEdge() 260 return winding; in nextEdge() 273 int winding = this->nextEdge(contour, Edge::kCompare); in containerContains() local 276 test.fContained = winding != 0; in containerContains() 277 return -1 <= winding && winding <= 1; in containerContains()
|
D | SkOpSegment.cpp | 892 bool SkOpSegment::markAndChaseWinding(SkOpSpanBase* start, SkOpSpanBase* end, int winding, in markAndChaseWinding() argument 896 bool success = markWinding(spanStart, winding); in markAndChaseWinding() 909 (void) other->markWinding(spanStart, winding); in markAndChaseWinding() 918 int winding, int oppWinding, SkOpSpanBase** lastPtr) { in markAndChaseWinding() argument 921 bool success = markWinding(spanStart, winding, oppWinding); in markAndChaseWinding() 931 if (spanStart->windSum() != winding || spanStart->oppSum() != oppWinding) { in markAndChaseWinding() 937 FAIL_IF(spanStart->oppSum() != winding); in markAndChaseWinding() 943 (void) other->markWinding(spanStart, winding, oppWinding); in markAndChaseWinding() 945 (void) other->markWinding(spanStart, oppWinding, winding); in markAndChaseWinding() 1021 bool SkOpSegment::markWinding(SkOpSpan* span, int winding) { in markWinding() argument [all …]
|
D | SkOpSegment.h | 161 void debugShowNewWinding(const char* fun, const SkOpSpan* span, int winding); 162 void debugShowNewWinding(const char* fun, const SkOpSpan* span, int winding, int oppWinding); 278 bool markAndChaseWinding(SkOpSpanBase* start, SkOpSpanBase* end, int winding, 280 bool markAndChaseWinding(SkOpSpanBase* start, SkOpSpanBase* end, int winding, 286 bool markWinding(SkOpSpan* , int winding); 287 bool markWinding(SkOpSpan* , int winding, int oppWinding);
|
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
D | vktTessellationWindingTests.cpp | 56 …rimitiveType primitiveType, const ShaderLanguage shaderLanguage, const Winding winding, bool yFlip) in getCaseName() argument 59 …e) << "_" << getTessPrimitiveTypeShaderName(primitiveType) << "_" << getWindingShaderName(winding); in getCaseName() 65 inline VkFrontFace mapFrontFace (const Winding winding) in mapFrontFace() argument 67 switch (winding) in mapFrontFace() 82 const Winding winding, in verifyResultImage() argument 86 …const bool expectVisiblePrimitive = ((frontFaceWinding == winding) == (domainOrigin == VK_TESSEL… in verifyResultImage() 198 const Winding winding, 216 const Winding winding, in WindingTest() argument 218 : TestCase (testCtx, getCaseName(primitiveType, shaderLanguage, winding, yFlip), "") in WindingTest() 222 , m_winding (winding) in WindingTest() [all …]
|
D | vktTessellationInvarianceTests.cpp | 74 inline WindingUsage getWindingUsage (const Winding winding) in getWindingUsage() argument 76 const WindingUsage usage = winding == WINDING_CCW ? WINDING_USAGE_CCW : in getWindingUsage() 77 winding == WINDING_CW ? WINDING_USAGE_CW : WINDING_USAGE_LAST; in getWindingUsage() 158 inline std::string getProgramName (const std::string& baseName, const Winding winding, const bool u… in getProgramName() argument 161 str << baseName << "_" << getWindingShaderName(winding) << (usePointMode ? "_point_mode" : ""); in getProgramName() 172 inline std::string getProgramDescription (const Winding winding, const bool usePointMode) in getProgramDescription() argument 175 …str << "winding mode " << getWindingShaderName(winding) << ", " << (usePointMode ? "" : "don't ") … in getProgramDescription() 474 Winding winding; member 559 …32 vertexCount, const std::vector<float>& patchTessLevels, const Winding winding, const bool usePo… 627 …32 vertexCount, const std::vector<float>& patchTessLevels, const Winding winding, const bool usePo… in draw() argument [all …]
|
D | vktTessellationUtil.hpp | 267 …char* getOutputTopologyName (const TessPrimitiveType type, const Winding winding, const bool usePo… in getOutputTopologyName() argument 272 return (winding == WINDING_CCW ? "triangle_ccw" : "triangle_cw"); in getOutputTopologyName() 306 static inline const char* getWindingShaderName (const Winding winding) in getWindingShaderName() argument 308 switch (winding) in getWindingShaderName()
|
/external/skia/src/core/ |
D | SkEdge.cpp | 55 int winding = 1; in setLine() local 61 winding = -1; in setLine() 84 fWinding = SkToS8(winding); in setLine() 203 int winding = 1; in setQuadraticWithoutUpdate() local 209 winding = -1; in setQuadraticWithoutUpdate() 237 fWinding = SkToS8(winding); in setQuadraticWithoutUpdate() 377 int winding = 1; in setCubicWithoutUpdate() local 385 winding = -1; in setCubicWithoutUpdate() 422 fWinding = SkToS8(winding); in setCubicWithoutUpdate()
|
D | SkEdge.h | 108 int winding = 1; in setLine() local 114 winding = -1; in setLine() 133 fWinding = SkToS8(winding); in setLine()
|
D | SkAnalyticEdge.cpp | 246 int winding = 1; in setLine() local 252 winding = -1; in setLine() 274 fWinding = SkToS8(winding); in setLine()
|
/external/skqp/src/core/ |
D | SkEdge.cpp | 55 int winding = 1; in setLine() local 61 winding = -1; in setLine() 84 fWinding = SkToS8(winding); in setLine() 203 int winding = 1; in setQuadraticWithoutUpdate() local 209 winding = -1; in setQuadraticWithoutUpdate() 237 fWinding = SkToS8(winding); in setQuadraticWithoutUpdate() 377 int winding = 1; in setCubicWithoutUpdate() local 385 winding = -1; in setCubicWithoutUpdate() 422 fWinding = SkToS8(winding); in setCubicWithoutUpdate()
|
D | SkEdge.h | 108 int winding = 1; in setLine() local 114 winding = -1; in setLine() 133 fWinding = SkToS8(winding); in setLine()
|
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/ |
D | esextcTessellationShaderWinding.cpp | 45 std::string winding); 61 std::string primitiveType, std::string winding) in WindingCase() argument 65 DE_ASSERT((winding.compare("cw") == 0) || (winding.compare("ccw") == 0)); in WindingCase() 68 m_specializationMap["WINDING"] = winding; in WindingCase()
|
/external/skqp/src/utils/ |
D | SkPolyUtils.cpp | 322 int winding = SkGetPolygonWinding(inputPolygonVerts, inputPolygonSize); in SkInsetConvexPolygon() local 323 if (0 == winding) { in SkInsetConvexPolygon() 337 inputPolygonVerts[next])*winding < 0) { in SkInsetConvexPolygon() 342 perp.setLength(inset*winding); in SkInsetConvexPolygon() 391 int side = winding*compute_side(currEdge->fOffset.fP0, in SkInsetConvexPolygon() 395 side == winding*compute_side(currEdge->fOffset.fP0, in SkInsetConvexPolygon() 1126 static bool is_reflex_vertex(const SkPoint* inputPolygonVerts, int winding, SkScalar offset, in is_reflex_vertex() argument 1132 return (side*winding*offset < 0); in is_reflex_vertex() 1151 int winding = SkGetPolygonWinding(inputPolygonVerts, inputPolygonSize); in SkOffsetSimplePolygon() local 1152 if (0 == winding) { in SkOffsetSimplePolygon() [all …]
|
/external/skia/src/utils/ |
D | SkPolyUtils.cpp | 335 int winding = SkGetPolygonWinding(inputPolygonVerts, inputPolygonSize); in SkInsetConvexPolygon() local 336 if (0 == winding) { in SkInsetConvexPolygon() 350 inputPolygonVerts[next])*winding < 0) { in SkInsetConvexPolygon() 355 perp.setLength(inset*winding); in SkInsetConvexPolygon() 404 int side = winding*compute_side(currEdge->fOffset.fP0, in SkInsetConvexPolygon() 408 side == winding*compute_side(currEdge->fOffset.fP0, in SkInsetConvexPolygon() 1139 static bool is_reflex_vertex(const SkPoint* inputPolygonVerts, int winding, SkScalar offset, in is_reflex_vertex() argument 1145 return (side*winding*offset < 0); in is_reflex_vertex() 1173 int winding = SkGetPolygonWinding(inputPolygonVerts, inputPolygonSize); in SkOffsetSimplePolygon() local 1174 if (0 == winding) { in SkOffsetSimplePolygon() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fTessellationTests.cpp | 464 static inline const char* getWindingShaderName (Winding winding) in getWindingShaderName() argument 466 switch (winding) in getWindingShaderName() 476 …InLayoutString (TessPrimitiveType primType, SpacingMode spacing, Winding winding, bool usePointMod… in getTessellationEvaluationInLayoutString() argument 480 + ", " + getWindingShaderName(winding) in getTessellationEvaluationInLayoutString() 493 …essellationEvaluationInLayoutString (TessPrimitiveType primType, Winding winding, bool usePointMod… in getTessellationEvaluationInLayoutString() argument 496 + ", " + getWindingShaderName(winding) in getTessellationEvaluationInLayoutString() 2712 …ntext, const char* name, const char* description, TessPrimitiveType primitiveType, Winding winding) in WindingCase() argument 2715 , m_winding (winding) in WindingCase() 3564 Winding winding; member 3567 Program (Winding w, const SharedPtr<const ShaderProgram>& prog) : winding(w), program(prog) {} in Program() [all …]
|
/external/skia/src/gpu/ |
D | GrTessellator.cpp | 342 Edge(Vertex* top, Vertex* bottom, int winding, Type type) in Edge() 343 : fWinding(winding) in Edge() 504 Poly(Vertex* v, int winding) in Poly() 506 , fWinding(winding) in Poly() 664 Poly* new_poly(Poly** head, Vertex* v, int winding, SkArenaAlloc& alloc) { in new_poly() argument 665 Poly* poly = alloc.make<Poly>(v, winding); in new_poly() 805 inline bool apply_fill_type(SkPath::FillType fillType, int winding) { in apply_fill_type() argument 808 return winding != 0; in apply_fill_type() 810 return (winding & 1) != 0; in apply_fill_type() 812 return winding == 1; in apply_fill_type() [all …]
|
/external/skqp/src/gpu/ |
D | GrTessellator.cpp | 342 Edge(Vertex* top, Vertex* bottom, int winding, Type type) in Edge() 343 : fWinding(winding) in Edge() 504 Poly(Vertex* v, int winding) in Poly() 506 , fWinding(winding) in Poly() 664 Poly* new_poly(Poly** head, Vertex* v, int winding, SkArenaAlloc& alloc) { in new_poly() argument 665 Poly* poly = alloc.make<Poly>(v, winding); in new_poly() 805 inline bool apply_fill_type(SkPath::FillType fillType, int winding) { in apply_fill_type() argument 808 return winding != 0; in apply_fill_type() 810 return (winding & 1) != 0; in apply_fill_type() 812 return winding == 1; in apply_fill_type() [all …]
|
/external/deqp/framework/referencerenderer/ |
D | rrRenderState.hpp | 78 : winding (WINDING_CCW) in RasterizationState() 85 Winding winding; member
|
/external/fonttools/Lib/fontTools/pens/ |
D | pointInsidePen.py | 65 winding = self.getWinding() 67 result = winding % 2
|