Searched refs:casterAlpha (Results 1 – 2 of 2) sorted by relevance
142 const SkScalar casterAlpha = in drawShadow() local144 if (casterAlpha <= 0.0f) { in drawShadow()148 float ambientAlpha = (LightingInfo::getAmbientShadowAlpha() / 255.f) * casterAlpha; in drawShadow()149 float spotAlpha = (LightingInfo::getSpotShadowAlpha() / 255.f) * casterAlpha; in drawShadow()217 casterAlpha < 1.0f ? SkShadowFlags::kTransparentOccluder_ShadowFlag : 0); in drawShadow()
4351 const float casterAlpha = snapshot->alpha; in updateSnapshot() local4357 snapshot->shadowSettings.casterIsTranslucent = !casterIsOpaque || (casterAlpha < 1.0f); in updateSnapshot()4358 snapshot->shadowSettings.ambientColor *= casterAlpha; in updateSnapshot()4359 snapshot->shadowSettings.spotColor *= casterAlpha; in updateSnapshot()