Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/gpu/ops/
DGrStrokeRectOp.cpp29 inline static bool allowed_stroke(const SkStrokeRec& stroke, GrAA aa, bool* isMiter) { in allowed_stroke() argument
34 *isMiter = true; in allowed_stroke()
38 *isMiter = false; in allowed_stroke()
42 *isMiter = stroke.getMiter() >= SK_ScalarSqrt2; in allowed_stroke()
44 return aa == GrAA::kYes || *isMiter; in allowed_stroke()
116 bool isMiter; in Make() local
117 if (!allowed_stroke(stroke, GrAA::kNo, &isMiter)) { in Make()
355 bool isMiter; in Make() local
356 if (!allowed_stroke(stroke, GrAA::kYes, &isMiter)) { in Make()
360 stroke, isMiter); in Make()
[all …]
/third_party/skia/src/gpu/ops/
DStrokeRectOp.cpp34 inline bool allowed_stroke(const SkStrokeRec& stroke, GrAA aa, bool* isMiter) { in allowed_stroke() argument
39 *isMiter = true; in allowed_stroke()
43 *isMiter = false; in allowed_stroke()
47 *isMiter = stroke.getMiter() >= SK_ScalarSqrt2; in allowed_stroke()
49 return aa == GrAA::kYes || *isMiter; in allowed_stroke()
111 bool isMiter; in Make() local
112 if (!allowed_stroke(stroke, GrAA::kNo, &isMiter)) { in Make()
447 bool isMiter; in Make() local
448 if (!allowed_stroke(stroke, GrAA::kYes, &isMiter)) { in Make()
460 isMiter, in Make()
[all …]
/third_party/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()
/third_party/flutter/skia/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()