Home
last modified time | relevance | path

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

/external/skqp/src/core/
DSkDrawShadowInfo.h52 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,
DSkDrawShadowInfo.cpp20 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/
DSkDrawShadowInfo.h52 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,
DSkDrawShadowInfo.cpp20 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/
DSkShadowUtils.cpp542 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()
DSkShadowTessellator.h38 const SkPoint3& lightPos, SkScalar lightRadius, bool transparent);
DSkShadowTessellator.cpp988 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/
DSkShadowUtils.cpp515 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()
DSkShadowTessellator.h38 const SkPoint3& lightPos, SkScalar lightRadius, bool transparent);
DSkShadowTessellator.cpp988 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/
DSkShadowUtils.h40 const SkPoint3& lightPos, SkScalar lightRadius,
/external/skia/include/utils/
DSkShadowUtils.h40 const SkPoint3& lightPos, SkScalar lightRadius,
/external/skqp/experimental/canvaskit/
Dcanvaskit_bindings.cpp687 const SkPoint3& lightPos, SkScalar lightRadius, in EMSCRIPTEN_BINDINGS()
690 SkShadowUtils::DrawShadow(&self, path, zPlaneParams, lightPos, lightRadius, in EMSCRIPTEN_BINDINGS()
/external/skia/modules/canvaskit/
Dcanvaskit_bindings.cpp769 const SkPoint3& lightPos, SkScalar lightRadius, in EMSCRIPTEN_BINDINGS()
772 SkShadowUtils::DrawShadow(&self, path, zPlaneParams, lightPos, lightRadius, in EMSCRIPTEN_BINDINGS()