Home
last modified time | relevance | path

Searched refs:isMiter (Results 1 – 4 of 4) sorted by relevance

/external/skqp/src/gpu/ops/
DGrStrokeRectOp.cpp28 inline static bool allowed_stroke(const SkStrokeRec& stroke, GrAA aa, bool* isMiter) { in allowed_stroke() argument
33 *isMiter = true; in allowed_stroke()
37 *isMiter = false; in allowed_stroke()
41 *isMiter = stroke.getMiter() >= SK_ScalarSqrt2; in allowed_stroke()
43 return aa == GrAA::kYes || *isMiter; in allowed_stroke()
115 bool isMiter; in Make() local
116 if (!allowed_stroke(stroke, GrAA::kNo, &isMiter)) { in Make()
348 bool isMiter; in Make() local
349 if (!allowed_stroke(stroke, GrAA::kYes, &isMiter)) { in Make()
353 stroke, isMiter); in Make()
[all …]
/external/skia/src/gpu/ops/
DGrStrokeRectOp.cpp31 inline static bool allowed_stroke(const SkStrokeRec& stroke, GrAA aa, bool* isMiter) { in allowed_stroke() argument
36 *isMiter = true; in allowed_stroke()
40 *isMiter = false; in allowed_stroke()
44 *isMiter = stroke.getMiter() >= SK_ScalarSqrt2; in allowed_stroke()
46 return aa == GrAA::kYes || *isMiter; in allowed_stroke()
108 bool isMiter; in Make() local
109 if (!allowed_stroke(stroke, GrAA::kNo, &isMiter)) { in Make()
387 bool isMiter; in Make() local
388 if (!allowed_stroke(stroke, GrAA::kYes, &isMiter)) { in Make()
392 stroke, isMiter); in Make()
[all …]
/external/skia/tests/
DStrokeTest.cpp77 bool isMiter = SkPaint::kMiter_Join == joins[i]; in test_strokerect() local
79 REPORTER_ASSERT(reporter, SkPathPriv::IsNestedFillRects(fillPath, nested) == isMiter); in test_strokerect()
80 if (isMiter) { in test_strokerect()
/external/skqp/tests/
DStrokeTest.cpp76 bool isMiter = SkPaint::kMiter_Join == joins[i]; in test_strokerect() local
78 REPORTER_ASSERT(reporter, fillPath.isNestedFillRects(nested) == isMiter); in test_strokerect()
79 if (isMiter) { in test_strokerect()