Home
last modified time | relevance | path

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

/external/skia/src/utils/
DSkShadowTessellator.cpp356 SkScalar umbraAlpha = SkScalarInvert((1.0f + SkTMax(z*kHeightFactor, 0.0f))); in umbraColor() local
357 return SkColorSetARGB(umbraAlpha * 255.9999f, 0, 0, 0); in umbraColor()
376 SkScalar umbraAlpha = SkScalarInvert((1.0f + SkTMax(occluderHeight*kHeightFactor, 0.0f))); in SkAmbientShadowTessellator() local
381 fUmbraColor = SkColorSetARGB(umbraAlpha * 255.9999f, 0, 0, 0); in SkAmbientShadowTessellator()
/external/skia/src/gpu/
DGrRenderTargetContext.cpp1019 const float umbraAlpha = (1.0f + SkTMax(occluderHeight * kHeightFactor, 0.0f)); in drawFastShadow() local
1020 const SkScalar devSpaceAmbientBlur = devSpaceInsetWidth * umbraAlpha; in drawFastShadow()
1048 SkScalar blurClamp = SkScalarInvert(umbraAlpha); in drawFastShadow()