Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrRenderTargetContext.cpp1068 SkPoint spotOffset = SkPoint::Make(zRatio*(-devLightPos.fX), zRatio*(-devLightPos.fY)); in drawFastShadow() local
1070 spotOffset.fX += spotScale*viewMatrix[SkMatrix::kMTransX]; in drawFastShadow()
1071 spotOffset.fY += spotScale*viewMatrix[SkMatrix::kMTransY]; in drawFastShadow()
1075 ctmInverse.mapPoints(&spotOffset, 1); in drawFastShadow()
1085 shadowTransform.setScaleTranslate(spotScale, spotScale, spotOffset.fX, spotOffset.fY); in drawFastShadow()