Home
last modified time | relevance | path

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

/external/skqp/src/core/
DSkDrawShadowInfo.h59 SkScalar zRatio = divide_and_pin(occluderZ, lightZ - occluderZ, 0.0f, 0.95f); in GetSpotParams() local
60 *blurRadius = lightRadius*zRatio; in GetSpotParams()
62 *translate = SkVector::Make(-zRatio * lightX, -zRatio * lightY); in GetSpotParams()
DSkDrawShadowInfo.cpp64 SkScalar zRatio = pts3D[i].fZ / dz; in GetSpotShadowTransform() local
65 pts3D[i].fX -= (lightPos.fX - pts3D[i].fX)*zRatio; in GetSpotShadowTransform()
66 pts3D[i].fY -= (lightPos.fY - pts3D[i].fY)*zRatio; in GetSpotShadowTransform()
/external/skia/src/core/
DSkDrawShadowInfo.h59 SkScalar zRatio = divide_and_pin(occluderZ, lightZ - occluderZ, 0.0f, 0.95f); in GetSpotParams() local
60 *blurRadius = lightRadius*zRatio; in GetSpotParams()
62 *translate = SkVector::Make(-zRatio * lightX, -zRatio * lightY); in GetSpotParams()
DSkDrawShadowInfo.cpp64 SkScalar zRatio = pts3D[i].fZ / dz; in GetSpotShadowTransform() local
65 pts3D[i].fX -= (lightPos.fX - pts3D[i].fX)*zRatio; in GetSpotShadowTransform()
66 pts3D[i].fY -= (lightPos.fY - pts3D[i].fY)*zRatio; in GetSpotShadowTransform()