HomeSort by relevance Sort by last modified time
    Searched refs:occluderZ (Results 1 - 4 of 4) sorted by null

  /external/skia/src/core/
SkDrawShadowInfo.cpp 22 SkScalar occluderZ;
24 occluderZ = rec.fZPlaneParams.fZ;
26 occluderZ = compute_z(ambientBounds.fLeft, ambientBounds.fTop, rec.fZPlaneParams);
27 occluderZ = SkTMax(occluderZ, compute_z(ambientBounds.fRight, ambientBounds.fTop,
29 occluderZ = SkTMax(occluderZ, compute_z(ambientBounds.fLeft, ambientBounds.fBottom,
31 occluderZ = SkTMax(occluderZ, compute_z(ambientBounds.fRight, ambientBounds.fBottom,
43 ambientBlur = SkDrawShadowMetrics::AmbientBlurRadius(occluderZ);
    [all...]
SkDrawShadowInfo.h 41 inline SkScalar SpotBlurRadius(SkScalar occluderZ, SkScalar lightZ, SkScalar lightRadius) {
42 return lightRadius*SkTPin(occluderZ / (lightZ - occluderZ), 0.0f, 0.95f);
45 inline void GetSpotParams(SkScalar occluderZ, SkScalar lightX, SkScalar lightY, SkScalar lightZ,
48 SkScalar zRatio = SkTPin(occluderZ / (lightZ - occluderZ), 0.0f, 0.95f);
50 *scale = SkTMax(lightZ / (lightZ - occluderZ), 1.0f);
  /external/skqp/src/core/
SkDrawShadowInfo.cpp 22 SkScalar occluderZ;
24 occluderZ = rec.fZPlaneParams.fZ;
26 occluderZ = compute_z(ambientBounds.fLeft, ambientBounds.fTop, rec.fZPlaneParams);
27 occluderZ = SkTMax(occluderZ, compute_z(ambientBounds.fRight, ambientBounds.fTop,
29 occluderZ = SkTMax(occluderZ, compute_z(ambientBounds.fLeft, ambientBounds.fBottom,
31 occluderZ = SkTMax(occluderZ, compute_z(ambientBounds.fRight, ambientBounds.fBottom,
43 ambientBlur = SkDrawShadowMetrics::AmbientBlurRadius(occluderZ);
    [all...]
SkDrawShadowInfo.h 41 inline SkScalar SpotBlurRadius(SkScalar occluderZ, SkScalar lightZ, SkScalar lightRadius) {
42 return lightRadius*SkTPin(occluderZ / (lightZ - occluderZ), 0.0f, 0.95f);
45 inline void GetSpotParams(SkScalar occluderZ, SkScalar lightX, SkScalar lightY, SkScalar lightZ,
48 SkScalar zRatio = SkTPin(occluderZ / (lightZ - occluderZ), 0.0f, 0.95f);
50 *scale = SkTMax(lightZ / (lightZ - occluderZ), 1.0f);

Completed in 62 milliseconds