Home
last modified time | relevance | path

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

/external/skqp/src/gpu/ccpr/
DGrCCStrokeGeometry.cpp17 static constexpr float kMaxErrorFromLinearization = 1/8.f; variable
86 float r = SkTMax(1 - kMaxErrorFromLinearization / fCurrStrokeRadius, 0.f); in beginPath()
133 static constexpr float k = 2 / (8 * kMaxErrorFromLinearization); in wangs_formula_quadratic()
247 static constexpr float k = (3 * 2) / (8 * kMaxErrorFromLinearization); in wangs_formula_cubic()
419 if ((base.abs() * fCurrStrokeRadius < kMaxErrorFromLinearization).allTrue()) { in recordLeftJoinIfNotEmpty()
470 if (curveHeight * fCurrStrokeRadius < kMaxErrorFromLinearization) { in recordLeftJoinIfNotEmpty()
554 if (fCurrStrokeRadius * SK_ScalarRoot2Over2 < kMaxErrorFromLinearization) { in recordCapsIfAny()
561 if (fCurrStrokeRadius < kMaxErrorFromLinearization) { in recordCapsIfAny()