/external/skia/src/pathops/ |
D | SkPathOpsCommon.cpp | 49 int winding = SK_MinS32; in AngleWinding() local 61 winding = segment->windSum(angle); in AngleWinding() 62 } while (winding == SK_MinS32); in AngleWinding() 67 winding = SK_MinS32; in AngleWinding() 78 winding = testWinding; in AngleWinding() 84 *windingPtr = winding; in AngleWinding() 125 int winding; in FindChase() local 127 const SkOpAngle* angle = AngleWinding(*startPtr, *endPtr, &winding, &sortable); in FindChase() 131 if (winding == SK_MinS32) { in FindChase()
|
D | SkOpSegment.cpp | 859 bool SkOpSegment::markAndChaseWinding(SkOpSpanBase* start, SkOpSpanBase* end, int winding, in markAndChaseWinding() argument 863 bool success = markWinding(spanStart, winding); in markAndChaseWinding() 872 (void) other->markWinding(spanStart, winding); in markAndChaseWinding() 881 int winding, int oppWinding, SkOpSpanBase** lastPtr) { in markAndChaseWinding() argument 884 bool success = markWinding(spanStart, winding, oppWinding); in markAndChaseWinding() 890 if (spanStart->windSum() != winding || spanStart->oppSum() != oppWinding) { in markAndChaseWinding() 896 SkASSERT(spanStart->oppSum() == winding); in markAndChaseWinding() 902 (void) other->markWinding(spanStart, winding, oppWinding); in markAndChaseWinding() 904 (void) other->markWinding(spanStart, oppWinding, winding); in markAndChaseWinding() 973 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 | 36 int winding; in findChaseOp() local 38 const SkOpAngle* angle = AngleWinding(*startPtr, *endPtr, &winding, &sortable); in findChaseOp() 42 if (winding == SK_MinS32) { in findChaseOp()
|
/external/skqp/src/pathops/ |
D | SkPathOpsCommon.cpp | 49 int winding = SK_MinS32; in AngleWinding() local 61 winding = segment->windSum(angle); in AngleWinding() 62 } while (winding == SK_MinS32); in AngleWinding() 67 winding = SK_MinS32; in AngleWinding() 78 winding = testWinding; in AngleWinding() 84 *windingPtr = winding; in AngleWinding() 125 int winding; in FindChase() local 127 const SkOpAngle* angle = AngleWinding(*startPtr, *endPtr, &winding, &sortable); in FindChase() 131 if (winding == SK_MinS32) { in FindChase()
|
D | SkOpSegment.cpp | 859 bool SkOpSegment::markAndChaseWinding(SkOpSpanBase* start, SkOpSpanBase* end, int winding, in markAndChaseWinding() argument 863 bool success = markWinding(spanStart, winding); in markAndChaseWinding() 872 (void) other->markWinding(spanStart, winding); in markAndChaseWinding() 881 int winding, int oppWinding, SkOpSpanBase** lastPtr) { in markAndChaseWinding() argument 884 bool success = markWinding(spanStart, winding, oppWinding); in markAndChaseWinding() 890 if (spanStart->windSum() != winding || spanStart->oppSum() != oppWinding) { in markAndChaseWinding() 896 SkASSERT(spanStart->oppSum() == winding); in markAndChaseWinding() 902 (void) other->markWinding(spanStart, winding, oppWinding); in markAndChaseWinding() 904 (void) other->markWinding(spanStart, oppWinding, winding); in markAndChaseWinding() 973 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 | 36 int winding; in findChaseOp() local 38 const SkOpAngle* angle = AngleWinding(*startPtr, *endPtr, &winding, &sortable); in findChaseOp() 42 if (winding == SK_MinS32) { in findChaseOp()
|
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
D | vktTessellationWindingTests.cpp | 53 …rimitiveType primitiveType, const ShaderLanguage shaderLanguage, const Winding winding, bool yFlip) in getCaseName() argument 56 …e) << "_" << getTessPrimitiveTypeShaderName(primitiveType) << "_" << getWindingShaderName(winding); in getCaseName() 62 inline VkFrontFace mapFrontFace (const Winding winding) in mapFrontFace() argument 64 switch (winding) in mapFrontFace() 79 const Winding winding, in verifyResultImage() argument 83 …const bool expectVisiblePrimitive = ((frontFaceWinding == winding) == (domainOrigin == VK_TESSEL… in verifyResultImage() 195 const Winding winding, 213 const Winding winding, in WindingTest() argument 215 : TestCase (testCtx, getCaseName(primitiveType, shaderLanguage, winding, yFlip), "") in WindingTest() 219 , m_winding (winding) in WindingTest() [all …]
|
D | vktTessellationInvarianceTests.cpp | 70 inline WindingUsage getWindingUsage (const Winding winding) in getWindingUsage() argument 72 const WindingUsage usage = winding == WINDING_CCW ? WINDING_USAGE_CCW : in getWindingUsage() 73 winding == WINDING_CW ? WINDING_USAGE_CW : WINDING_USAGE_LAST; in getWindingUsage() 154 inline std::string getProgramName (const std::string& baseName, const Winding winding, const bool u… in getProgramName() argument 157 str << baseName << "_" << getWindingShaderName(winding) << (usePointMode ? "_point_mode" : ""); in getProgramName() 168 inline std::string getProgramDescription (const Winding winding, const bool usePointMode) in getProgramDescription() argument 171 …str << "winding mode " << getWindingShaderName(winding) << ", " << (usePointMode ? "" : "don't ") … in getProgramDescription() 470 Winding winding; member 555 …32 vertexCount, const std::vector<float>& patchTessLevels, const Winding winding, const bool usePo… 623 …32 vertexCount, const std::vector<float>& patchTessLevels, const Winding winding, const bool usePo… in draw() argument [all …]
|
/external/skia/src/utils/ |
D | SkInsetConvexPolygon.cpp | 148 SkScalar winding = v0.cross(v1); in is_convex() local 157 if (winding*perpDot < 0) { in is_convex() 184 int winding = get_winding(inputPolygonVerts, inputPolygonSize); in SkInsetConvexPolygon() local 185 if (0 == winding) { in SkInsetConvexPolygon() 203 inputPolygonVerts[k])*winding < 0) { in SkInsetConvexPolygon() 208 winding, in SkInsetConvexPolygon() 252 int side = winding*compute_side(edgeData[currIndex].fInset.fP0, in SkInsetConvexPolygon() 255 if (side < 0 && side == winding*compute_side(edgeData[currIndex].fInset.fP0, in SkInsetConvexPolygon()
|
/external/skqp/src/utils/ |
D | SkInsetConvexPolygon.cpp | 148 SkScalar winding = v0.cross(v1); in is_convex() local 157 if (winding*perpDot < 0) { in is_convex() 184 int winding = get_winding(inputPolygonVerts, inputPolygonSize); in SkInsetConvexPolygon() local 185 if (0 == winding) { in SkInsetConvexPolygon() 203 inputPolygonVerts[k])*winding < 0) { in SkInsetConvexPolygon() 208 winding, in SkInsetConvexPolygon() 252 int side = winding*compute_side(edgeData[currIndex].fInset.fP0, in SkInsetConvexPolygon() 255 if (side < 0 && side == winding*compute_side(edgeData[currIndex].fInset.fP0, in SkInsetConvexPolygon()
|
/external/skqp/src/core/ |
D | SkEdge.cpp | 52 int winding = 1; in setLine() local 57 winding = -1; in setLine() 80 fWinding = SkToS8(winding); in setLine() 203 int winding = 1; in setQuadraticWithoutUpdate() local 208 winding = -1; in setQuadraticWithoutUpdate() 236 fWinding = SkToS8(winding); in setQuadraticWithoutUpdate() 376 int winding = 1; in setCubicWithoutUpdate() local 383 winding = -1; in setCubicWithoutUpdate() 420 fWinding = SkToS8(winding); in setCubicWithoutUpdate()
|
D | SkEdge.h | 106 int winding = 1; in setLine() local 111 winding = -1; in setLine() 130 fWinding = SkToS8(winding); in setLine()
|
D | SkAnalyticEdge.h | 155 int winding = 1; in setLine() local 160 winding = -1; in setLine() 182 fWinding = SkToS8(winding); in setLine()
|
/external/skia/src/core/ |
D | SkEdge.cpp | 52 int winding = 1; in setLine() local 57 winding = -1; in setLine() 80 fWinding = SkToS8(winding); in setLine() 203 int winding = 1; in setQuadraticWithoutUpdate() local 208 winding = -1; in setQuadraticWithoutUpdate() 236 fWinding = SkToS8(winding); in setQuadraticWithoutUpdate() 376 int winding = 1; in setCubicWithoutUpdate() local 383 winding = -1; in setCubicWithoutUpdate() 420 fWinding = SkToS8(winding); in setCubicWithoutUpdate()
|
D | SkEdge.h | 106 int winding = 1; in setLine() local 111 winding = -1; in setLine() 130 fWinding = SkToS8(winding); in setLine()
|
D | SkAnalyticEdge.h | 155 int winding = 1; in setLine() local 160 winding = -1; in setLine() 182 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/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/skqp/src/gpu/ |
D | GrTessellator.cpp | 357 Edge(Vertex* top, Vertex* bottom, int winding, Type type) in Edge() 358 : fWinding(winding) in Edge() 519 Poly(Vertex* v, int winding) in Poly() 521 , fWinding(winding) in Poly() 679 Poly* new_poly(Poly** head, Vertex* v, int winding, SkArenaAlloc& alloc) { in new_poly() argument 680 Poly* poly = alloc.make<Poly>(v, winding); in new_poly() 820 inline bool apply_fill_type(SkPath::FillType fillType, int winding) { in apply_fill_type() argument 823 return winding != 0; in apply_fill_type() 825 return (winding & 1) != 0; in apply_fill_type() 827 return winding == 1; in apply_fill_type() [all …]
|
/external/skia/src/gpu/ |
D | GrTessellator.cpp | 357 Edge(Vertex* top, Vertex* bottom, int winding, Type type) in Edge() 358 : fWinding(winding) in Edge() 519 Poly(Vertex* v, int winding) in Poly() 521 , fWinding(winding) in Poly() 679 Poly* new_poly(Poly** head, Vertex* v, int winding, SkArenaAlloc& alloc) { in new_poly() argument 680 Poly* poly = alloc.make<Poly>(v, winding); in new_poly() 820 inline bool apply_fill_type(SkPath::FillType fillType, int winding) { in apply_fill_type() argument 823 return winding != 0; in apply_fill_type() 825 return (winding & 1) != 0; in apply_fill_type() 827 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/skqp/tests/ |
D | InsetConvexPolyTest.cpp | 17 SkScalar winding = v0.cross(v1); in is_convex() local 26 if (winding*perpDot < 0) { in is_convex()
|
/external/skia/tests/ |
D | InsetConvexPolyTest.cpp | 17 SkScalar winding = v0.cross(v1); in is_convex() local 26 if (winding*perpDot < 0) { in is_convex()
|