Home
last modified time | relevance | path

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

/external/skqp/src/core/
DSkDrawShadowInfo.h37 static inline float divide_and_pin(float numer, float denom, float min, float max) { in divide_and_pin() function
53 return lightRadius*divide_and_pin(occluderZ, lightZ - occluderZ, 0.0f, 0.95f); in SpotBlurRadius()
59 SkScalar zRatio = divide_and_pin(occluderZ, lightZ - occluderZ, 0.0f, 0.95f); in GetSpotParams()
61 *scale = divide_and_pin(lightZ, lightZ - occluderZ, 1.0f, 1.95f); in GetSpotParams()
/external/skia/src/core/
DSkDrawShadowInfo.h37 static inline float divide_and_pin(float numer, float denom, float min, float max) { in divide_and_pin() function
53 return lightRadius*divide_and_pin(occluderZ, lightZ - occluderZ, 0.0f, 0.95f); in SpotBlurRadius()
59 SkScalar zRatio = divide_and_pin(occluderZ, lightZ - occluderZ, 0.0f, 0.95f); in GetSpotParams()
61 *scale = divide_and_pin(lightZ, lightZ - occluderZ, 1.0f, 1.95f); in GetSpotParams()