Home
last modified time | relevance | path

Searched refs:countVerbs (Results 1 – 25 of 48) sorted by relevance

12

/external/skia/docs/examples/
DPath_copy_const_SkPath.cpp11 SkDebugf("path verbs: %d\n", path.countVerbs()); in draw()
12 SkDebugf("path2 verbs: %d\n", path2.countVerbs()); in draw()
14 SkDebugf("after reset\n" "path verbs: %d\n", path.countVerbs()); in draw()
15 SkDebugf("path2 verbs: %d\n", path2.countVerbs()); in draw()
DPath_countVerbs.cpp8 SkDebugf("empty verb count: %d\n", path.countVerbs()); in draw()
10 SkDebugf("round rect verb count: %d\n", path.countVerbs()); in draw()
DPath_getVerbs.cpp23 debugster("just right", path, verbs, path.countVerbs()); in draw()
/external/skia/src/gpu/tessellate/
DGrPathStencilFillOp.cpp51 int numVerbs = fPath.countVerbs(); in prePreparePrograms()
83 float rasterEdgeWork = (bounds.height() + bounds.width()) * scales[1] * fPath.countVerbs(); in prePreparePrograms()
145 int maxFanTriangles = fPath.countVerbs() - 2; // n - 2 triangles make an n-gon. in onPrepare()
DGrPathTessellator.cpp58 int maxInnerTriangles = path.countVerbs() - 1; in prepare()
247 int vertexLockCount = path.countVerbs() * 4; in prepare()
287 int maxVertices = (path.countVerbs() + 1) * 5; in prepare()
DGrMidpointContourParser.h28 , fNumRemainingVerbs(fPath.countVerbs()) in GrMidpointContourParser()
DGrMiddleOutPolygonTriangulator.h123 path.countVerbs()); in WritePathInnerFan()
/external/skqp/src/core/
DSkPathRef.cpp199 SkASSERT((*dst)->countVerbs() == src.countVerbs()); in CreateTransformedCopy()
358 SkASSERT(verbCount == ref->countVerbs()); in CreateFromBuffer()
372 if (!validate_verb_sequence(ref->verbsMemBegin(), ref->countVerbs())) { in CreateFromBuffer()
375 if (!deduce_pts_conics(ref->verbsMemBegin(), ref->countVerbs(), &pCount, &cCount) || in CreateFromBuffer()
412 int oldVCnt = (*pathRef)->countVerbs(); in Rewind()
527 for (int i = this->countVerbs() - 1; i >= 0; --i) { in computeSegmentMask()
DSkPathPriv.h73 int verbCount = path.countVerbs(); in IsClosedSingleContour()
140 Iter end() { return Iter{fPathRef->verbs() - fPathRef->countVerbs() - 1}; } in end()
DSkPath.cpp238 int count = fPathRef->countVerbs(); in isInterpolatable()
239 if (count != compare.fPathRef->countVerbs()) { in isInterpolatable()
399 int verbCount = fPathRef->countVerbs(); in isLastContourClosed()
407 int verbCount = fPathRef->countVerbs(); in isLine()
490 int verbCnt = fPathRef->countVerbs(); in isRectContour()
683 int SkPath::countVerbs() const { in countVerbs() function in SkPath
684 return fPathRef->countVerbs(); in countVerbs()
700 int count = SkMin32(max, fPathRef->countVerbs()); in getVerbs()
702 return fPathRef->countVerbs(); in getVerbs()
801 if (fPathRef->countVerbs() == 0) { in injectMoveToIfNeeded()
[all …]
/external/skia/src/core/
DSkPath.cpp64 return (path.countVerbs() - SkPathPriv::LeadingMoveToCount(path)) == 0; in is_degenerate()
374 int verbCount = fPathRef->countVerbs(); in isLastContourClosed()
382 int verbCount = fPathRef->countVerbs(); in isLine()
485 int SkPath::countVerbs() const { in countVerbs() function in SkPath
486 return fPathRef->countVerbs(); in countVerbs()
494 int count = std::min(max, fPathRef->countVerbs()); in getVerbs()
498 return fPathRef->countVerbs(); in getVerbs()
599 if (this->countVerbs() < 16) { in dirtyAfterEdit()
637 if (fPathRef->countVerbs() == 0) { in injectMoveToIfNeeded()
746 int count = fPathRef->countVerbs(); in close()
[all …]
DSkPathPriv.h55 int verbCount = path.countVerbs(); in IsClosedSingleContour()
83 int verbCount = path.countVerbs(); in LeadingMoveToCount()
DSkPath_serial.cpp105 int32_t vbs = fPathRef->countVerbs(); in writeToMemory()
/external/skia/bench/
DTessellateBench.cpp319 fTotalVerbCount += fPathStrokes[i].fPath.countVerbs(); in onDelayedSetup()
401 &pathStroke, path.countVerbs(), in onDraw()
403 tessellator.prepare(fTarget.get(), path.countVerbs()); in onDraw()
DTriangulatorBench.cpp133 int maxInnerTriangles = path.countVerbs() - 1;
/external/skqp/tests/
DParsePathTest.cpp127 REPORTER_ASSERT(r, path.countVerbs() == gTests[i].fVerbs); in DEF_TEST()
/external/skia/tests/
DParsePathTest.cpp127 REPORTER_ASSERT(r, path.countVerbs() == gTests[i].fVerbs); in DEF_TEST()
DStrokeIndirectTest.cpp46 matrix, &pathStrokeList, path.countVerbs(), in test_stroke()
49 tessellator.prepare(target, path.countVerbs()); in test_stroke()
/external/skqp/src/gpu/gl/
DGrGLPath.cpp102 int verbCnt = skPath.countVerbs(); in init_path_object_for_general_path()
224 int verbCnt = skPath.countVerbs(); in InitPathObjectPathData()
/external/skqp/src/gpu/ccpr/
DGrCoverageCountingPathRenderer.cpp82 if (path.countVerbs() > 1000 && path.countPoints() > numPixels) { in onCanDrawPath()
96 if (args.fShape->hasUnstyledKey() && path.countVerbs() > 50) { in onCanDrawPath()
DGrCCPerFlushResources.h172 fNumTotalSkVerbs += path.countVerbs(); in statPath()
/external/skia/samplecode/
DSampleSimpleStroker.cpp60 int countVerbs() const { return fVerbs.size(); } in countVerbs() function in __anon22ae24220111::PathRecorder
305 const int numVerbs = path.countVerbs(); in appendPathReversed()
/external/skqp/src/pathops/
DSkOpBuilder.cpp17 int verbCount = path.countVerbs(); in one_contour()
/external/skia/src/pathops/
DSkOpBuilder.cpp17 int verbCount = path.countVerbs(); in one_contour()
/external/skqp/include/core/
DSkPath.h325 return 0 == fPathRef->countVerbs(); in isEmpty()
462 int countVerbs() const;

12