Home
last modified time | relevance | path

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

/external/skqp/src/gpu/ops/
DGrAAFillRRectOp.cpp480 Sk2f devRadii = devScale * cornerRadii; in can_use_hw_derivatives() local
481 if (devRadii[1] < devRadii[0]) { in can_use_hw_derivatives()
482 devRadii = SkNx_shuffle<1,0>(devRadii); in can_use_hw_derivatives()
484 float minDevRadius = SkTMax(devRadii[0], 1.f); // Shader clamps radius at a minimum of 1. in can_use_hw_derivatives()
487 return minDevRadius * minDevRadius * 5 > devRadii[1]; in can_use_hw_derivatives()
/external/skia/src/gpu/ops/
DGrFillRRectOp.cpp716 Sk2f devRadii = devScale * cornerRadii; in can_use_hw_derivatives_with_coverage() local
717 if (devRadii[1] < devRadii[0]) { in can_use_hw_derivatives_with_coverage()
718 devRadii = SkNx_shuffle<1,0>(devRadii); in can_use_hw_derivatives_with_coverage()
720 float minDevRadius = std::max(devRadii[0], 1.f); // Shader clamps radius at a minimum of 1. in can_use_hw_derivatives_with_coverage()
723 return minDevRadius * minDevRadius * 5 > devRadii[1]; in can_use_hw_derivatives_with_coverage()