Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrRenderTargetContext.cpp1067 const SkScalar spotScale = devLightPos.fZ / (devLightPos.fZ - occluderHeight); in drawFastShadow() local
1070 spotOffset.fX += spotScale*viewMatrix[SkMatrix::kMTransX]; in drawFastShadow()
1071 spotOffset.fY += spotScale*viewMatrix[SkMatrix::kMTransY]; in drawFastShadow()
1085 shadowTransform.setScaleTranslate(spotScale, spotScale, spotOffset.fX, spotOffset.fY); in drawFastShadow()