Searched refs:umbraAlpha (Results 1 – 2 of 2) sorted by relevance
356 SkScalar umbraAlpha = SkScalarInvert((1.0f + SkTMax(z*kHeightFactor, 0.0f))); in umbraColor() local357 return SkColorSetARGB(umbraAlpha * 255.9999f, 0, 0, 0); in umbraColor()376 SkScalar umbraAlpha = SkScalarInvert((1.0f + SkTMax(occluderHeight*kHeightFactor, 0.0f))); in SkAmbientShadowTessellator() local381 fUmbraColor = SkColorSetARGB(umbraAlpha * 255.9999f, 0, 0, 0); in SkAmbientShadowTessellator()
1019 const float umbraAlpha = (1.0f + SkTMax(occluderHeight * kHeightFactor, 0.0f)); in drawFastShadow() local1020 const SkScalar devSpaceAmbientBlur = devSpaceInsetWidth * umbraAlpha; in drawFastShadow()1048 SkScalar blurClamp = SkScalarInvert(umbraAlpha); in drawFastShadow()