Home
last modified time | relevance | path

Searched refs:fZPlaneParams (Results 1 – 10 of 10) sorted by relevance

/external/skia/src/core/
DSkDrawShadowInfo.cpp127 if (SkScalarNearlyZero(rec.fZPlaneParams.fX) && SkScalarNearlyZero(rec.fZPlaneParams.fY)) { in GetLocalBounds()
128 occluderZ = rec.fZPlaneParams.fZ; in GetLocalBounds()
130 occluderZ = compute_z(ambientBounds.fLeft, ambientBounds.fTop, rec.fZPlaneParams); in GetLocalBounds()
132 rec.fZPlaneParams)); in GetLocalBounds()
134 rec.fZPlaneParams)); in GetLocalBounds()
136 rec.fZPlaneParams)); in GetLocalBounds()
DSkDrawShadowInfo.h21 SkPoint3 fZPlaneParams; member
DSkPicturePlayback.cpp616 reader->readPoint3(&rec.fZPlaneParams); in handleOp()
DSkPictureRecord.cpp729 fWriter.writePoint3(rec.fZPlaneParams); in onDrawShadowRec()
/external/skia/tests/
DShadowTest.cpp150 auto verts = SkShadowTessellator::MakeAmbient(path, ctm, rec.fZPlaneParams, true); in check_xformed_bounds()
157 verts = SkShadowTessellator::MakeSpot(path, ctm, rec.fZPlaneParams, devLightPos, in check_xformed_bounds()
169 verts = SkShadowTessellator::MakeAmbient(path, ctm, rec.fZPlaneParams, true); in check_xformed_bounds()
176 verts = SkShadowTessellator::MakeSpot(path, ctm, rec.fZPlaneParams, devLightPos, in check_xformed_bounds()
/external/skia/bench/
DShadowBench.cpp64 fRec.fZPlaneParams = SkPoint3::Make(0, 0, kElevation); in onDelayedSetup()
/external/skia/src/utils/
DSkShadowUtils.cpp547 rec->fZPlaneParams = zPlaneParams; in fill_shadow_rec()
588 return rec.fLightPos.isFinite() && rec.fZPlaneParams.isFinite() && in validate_rec()
620 bool tiltZPlane = tilted(rec.fZPlaneParams); in drawShadow()
628 SkPoint3 zPlaneParams = rec.fZPlaneParams; in drawShadow()
DSkShadowTessellator.cpp104 return fZPlaneParams.fX*x + fZPlaneParams.fY*y + fZPlaneParams.fZ; in heightFunc()
107 SkPoint3 fZPlaneParams; member in SkBaseShadowTessellator
175 : fZPlaneParams(zPlaneParams) in SkBaseShadowTessellator()
/external/skia/src/gpu/ganesh/
DSurfaceDrawContext.cpp1089 bool tiltZPlane = SkToBool(!SkScalarNearlyZero(rec.fZPlaneParams.fX) || in drawFastShadow()
1090 !SkScalarNearlyZero(rec.fZPlaneParams.fY)); in drawFastShadow()
1135 SkScalar occluderHeight = rec.fZPlaneParams.fZ; in drawFastShadow()
/external/skia/tools/debugger/
DDrawCommand.cpp1886 MakeJsonPoint3(writer, fShadowRec.fZPlaneParams); in toJSON()