/external/skqp/src/core/ |
D | SkDrawShadowInfo.h | 52 inline SkScalar SpotBlurRadius(SkScalar occluderZ, SkScalar lightZ, SkScalar lightRadius) { in SpotBlurRadius() argument 53 return lightRadius*divide_and_pin(occluderZ, lightZ - occluderZ, 0.0f, 0.95f); in SpotBlurRadius() 57 SkScalar lightRadius, in GetSpotParams() argument 60 *blurRadius = lightRadius*zRatio; in GetSpotParams() 68 bool GetSpotShadowTransform(const SkPoint3& lightPos, SkScalar lightRadius,
|
D | SkDrawShadowInfo.cpp | 20 bool GetSpotShadowTransform(const SkPoint3& lightPos, SkScalar lightRadius, in GetSpotShadowTransform() argument 32 lightRadius, radius, &scale, &translate); in GetSpotShadowTransform() 110 *radius = SkDrawShadowMetrics::SpotBlurRadius(occluderHeight, lightPos.fZ, lightRadius); in GetSpotShadowTransform()
|
/external/skia/src/core/ |
D | SkDrawShadowInfo.h | 52 inline SkScalar SpotBlurRadius(SkScalar occluderZ, SkScalar lightZ, SkScalar lightRadius) { in SpotBlurRadius() argument 53 return lightRadius*divide_and_pin(occluderZ, lightZ - occluderZ, 0.0f, 0.95f); in SpotBlurRadius() 57 SkScalar lightRadius, in GetSpotParams() argument 60 *blurRadius = lightRadius*zRatio; in GetSpotParams() 68 bool GetSpotShadowTransform(const SkPoint3& lightPos, SkScalar lightRadius,
|
D | SkDrawShadowInfo.cpp | 20 bool GetSpotShadowTransform(const SkPoint3& lightPos, SkScalar lightRadius, in GetSpotShadowTransform() argument 32 lightRadius, radius, &scale, &translate); in GetSpotShadowTransform() 110 *radius = SkDrawShadowMetrics::SpotBlurRadius(occluderHeight, lightPos.fZ, lightRadius); in GetSpotShadowTransform()
|
/external/skia/src/utils/ |
D | SkShadowUtils.cpp | 542 const SkPoint3& devLightPos, SkScalar lightRadius, in DrawShadow() argument 554 rec.fLightRadius = lightRadius; in DrawShadow() 597 float lightRadius = rec.fLightRadius; in drawShadow() local 683 devLightPos, lightRadius, in drawShadow() 702 factory.fLightRadius = lightRadius; in drawShadow() 710 lightRadius, &radius, &scale, &factory.fOffset); in drawShadow() 748 if (!SkDrawShadowMetrics::GetSpotShadowTransform(devLightPos, lightRadius, in drawShadow()
|
D | SkShadowTessellator.h | 38 const SkPoint3& lightPos, SkScalar lightRadius, bool transparent);
|
D | SkShadowTessellator.cpp | 988 SkScalar lightRadius, bool transparent); 1000 const SkPoint3& lightPos, SkScalar lightRadius, in SkSpotShadowTessellator() argument 1007 if (!SkDrawShadowMetrics::GetSpotShadowTransform(lightPos, lightRadius, in SkSpotShadowTessellator() 1156 SkScalar lightRadius, bool transparent) { in MakeSpot() argument 1159 !SkScalarIsFinite(lightRadius) || !(lightRadius >= SK_ScalarNearlyZero)) { in MakeSpot() 1162 SkSpotShadowTessellator spotTess(path, ctm, zPlane, lightPos, lightRadius, transparent); in MakeSpot()
|
/external/skqp/src/utils/ |
D | SkShadowUtils.cpp | 515 const SkPoint3& devLightPos, SkScalar lightRadius, in DrawShadow() argument 527 rec.fLightRadius = lightRadius; in DrawShadow() 565 float lightRadius = rec.fLightRadius; in drawShadow() local 651 devLightPos, lightRadius, in drawShadow() 670 factory.fLightRadius = lightRadius; in drawShadow() 678 lightRadius, &radius, &scale, &factory.fOffset); in drawShadow() 716 if (!SkDrawShadowMetrics::GetSpotShadowTransform(devLightPos, lightRadius, in drawShadow()
|
D | SkShadowTessellator.h | 38 const SkPoint3& lightPos, SkScalar lightRadius, bool transparent);
|
D | SkShadowTessellator.cpp | 988 SkScalar lightRadius, bool transparent); 1000 const SkPoint3& lightPos, SkScalar lightRadius, in SkSpotShadowTessellator() argument 1007 if (!SkDrawShadowMetrics::GetSpotShadowTransform(lightPos, lightRadius, in SkSpotShadowTessellator() 1156 SkScalar lightRadius, bool transparent) { in MakeSpot() argument 1159 !SkScalarIsFinite(lightRadius) || !(lightRadius >= SK_ScalarNearlyZero)) { in MakeSpot() 1162 SkSpotShadowTessellator spotTess(path, ctm, zPlane, lightPos, lightRadius, transparent); in MakeSpot()
|
/external/skqp/include/utils/ |
D | SkShadowUtils.h | 40 const SkPoint3& lightPos, SkScalar lightRadius,
|
/external/skia/include/utils/ |
D | SkShadowUtils.h | 40 const SkPoint3& lightPos, SkScalar lightRadius,
|
/external/skqp/experimental/canvaskit/ |
D | canvaskit_bindings.cpp | 687 const SkPoint3& lightPos, SkScalar lightRadius, in EMSCRIPTEN_BINDINGS() 690 SkShadowUtils::DrawShadow(&self, path, zPlaneParams, lightPos, lightRadius, in EMSCRIPTEN_BINDINGS()
|
/external/skia/modules/canvaskit/ |
D | canvaskit_bindings.cpp | 769 const SkPoint3& lightPos, SkScalar lightRadius, in EMSCRIPTEN_BINDINGS() 772 SkShadowUtils::DrawShadow(&self, path, zPlaneParams, lightPos, lightRadius, in EMSCRIPTEN_BINDINGS()
|