Searched refs:effectiveRadius (Results 1 – 3 of 3) sorted by relevance
/third_party/flutter/skia/src/gpu/effects/ |
D | GrCircleEffect.fp | 34 SkScalar effectiveRadius = radius; 36 effectiveRadius -= 0.5f; 37 // When the radius is 0.5 effectiveRadius is 0 which causes an inf * 0 in the shader. 38 effectiveRadius = SkTMax(0.001f, effectiveRadius); 40 effectiveRadius += 0.5f; 42 pdman.set4f(circle, center.fX, center.fY, effectiveRadius, 43 SkScalarInvert(effectiveRadius));
|
/third_party/flutter/skia/src/gpu/effects/generated/ |
D | GrCircleEffect.cpp | 66 SkScalar effectiveRadius = radius; in onSetData() local 68 effectiveRadius -= 0.5f; in onSetData() 71 effectiveRadius = SkTMax(0.001f, effectiveRadius); in onSetData() 73 effectiveRadius += 0.5f; in onSetData() 75 pdman.set4f(circle, center.fX, center.fY, effectiveRadius, in onSetData() 76 SkScalarInvert(effectiveRadius)); in onSetData()
|
/third_party/skia/src/gpu/ |
D | GrFragmentProcessor.cpp | 679 SkScalar effectiveRadius = radius; in Circle() local 681 effectiveRadius -= 0.5f; in Circle() 683 effectiveRadius = std::max(0.001f, effectiveRadius); in Circle() 685 effectiveRadius += 0.5f; in Circle() 687 SkV4 circle = {center.fX, center.fY, effectiveRadius, SkScalarInvert(effectiveRadius)}; in Circle()
|