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

  /external/skia/src/effects/shadows/
SkAmbientShadowMaskFilter.cpp 139 static const float kHeightFactor = 1.0f / 128.0f;
221 SkScalar srcSpaceAmbientRadius = fOccluderHeight * kHeightFactor * kGeomFactor;
222 const float umbraAlpha = (1.0f + SkTMax(fOccluderHeight * kHeightFactor, 0.0f));
  /external/skia/samplecode/
SampleAndroidShadows.cpp 155 const SkScalar kHeightFactor = 1.f / 128.f;
158 SkScalar umbraAlpha = 1 / (1 + SkMaxScalar(zValue*kHeightFactor, 0));
159 SkScalar radius = zValue*kHeightFactor*kGeomFactor;
193 const SkScalar kHeightFactor = 1.f / 128.f;
196 SkScalar umbraAlpha = 1 / (1 + SkMaxScalar(zValue*kHeightFactor, 0));
197 SkScalar radius = zValue*kHeightFactor*kGeomFactor;
  /external/skia/src/utils/
SkShadowTessellator.cpp 335 static constexpr auto kHeightFactor = 1.0f / 128.0f;
340 return z * kHeightFactor * kGeomFactor;
343 SkScalar umbraAlpha = SkScalarInvert((1.0f + SkTMax(z*kHeightFactor, 0.0f)));
362 SkScalar umbraAlpha = SkScalarInvert((1.0f + SkTMax(occluderHeight*kHeightFactor, 0.0f)));
    [all...]

Completed in 733 milliseconds