OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:zRatio
(Results
1 - 3
of
3
) sorted by null
/external/skia/src/effects/shadows/
SkSpotShadowMaskFilter.cpp
237
float
zRatio
= SkTPin(fOccluderHeight / (fLightPos.fZ - fOccluderHeight), 0.0f, 0.95f);
239
SkScalar srcSpaceSpotRadius = 2.0f * fLightRadius *
zRatio
;
263
const SkPoint spotOffset = SkPoint::Make(
zRatio
*(center.fX - lightPos2D.fX),
264
zRatio
*(center.fY - lightPos2D.fY));
/external/skia/samplecode/
SampleAndroidShadows.cpp
261
SkScalar
zRatio
= zValue / (lightPos.fZ - zValue);
262
if (
zRatio
< 0.0f) {
263
zRatio
= 0.0f;
264
} else if (
zRatio
> 0.95f) {
265
zRatio
= 0.95f;
267
SkScalar blurRadius = lightWidth*
zRatio
;
277
SkPoint offset = SkPoint::Make(
zRatio
*(center.fX - lightPos2D.fX),
278
zRatio
*(center.fY - lightPos2D.fY));
306
SkScalar
zRatio
= zValue / (lightPos.fZ - zValue);
307
if (
zRatio
< 0.0f)
[
all
...]
/external/skia/src/utils/
SkShadowTessellator.cpp
670
float
zRatio
= SkTPin(z / (fLightZ - z), 0.0f, 0.95f);
671
return fLightRadius*
zRatio
;
717
float
zRatio
= SkTPin(occluderHeight / (fLightZ - occluderHeight), 0.0f, 0.95f);
718
SkScalar radius = lightRadius *
zRatio
;
727
SkVector translate = SkVector::Make(-
zRatio
* lightPos.fX, -
zRatio
* lightPos.fY);
[
all
...]
Completed in 835 milliseconds