Searched refs:casterAlpha (Results 1 – 2 of 2) sorted by relevance
136 const SkScalar casterAlpha = in drawShadow() local138 if (casterAlpha <= 0.0f) { in drawShadow()142 float ambientAlpha = (LightingInfo::getAmbientShadowAlpha() / 255.f) * casterAlpha; in drawShadow()143 float spotAlpha = (LightingInfo::getSpotShadowAlpha() / 255.f) * casterAlpha; in drawShadow()211 casterAlpha < 1.0f ? SkShadowFlags::kTransparentOccluder_ShadowFlag : 0); in drawShadow()
649 const float casterAlpha = casterLayerSettings.alpha; in prepareShadowClientComposition() local660 shadowLayer.shadow.casterIsTranslucent = !casterIsOpaque || (casterAlpha < 1.0f); in prepareShadowClientComposition()661 shadowLayer.shadow.ambientColor *= casterAlpha; in prepareShadowClientComposition()662 shadowLayer.shadow.spotColor *= casterAlpha; in prepareShadowClientComposition()