Home
last modified time | relevance | path

Searched refs:heightFactor (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/
DAmbientShadow.cpp168 float heightFactor, float geomFactor, VertexBuffer& shadowVertexBuffer) { in createAmbientShadow() argument
179 float currentAlpha = getAlphaFromFactoredZ(casterVertices[0].z * heightFactor); in createAmbientShadow()
202 float expansionDist = innerVertex.z * heightFactor * geomFactor; in createAmbientShadow()
251 float nextAlpha = getAlphaFromFactoredZ(innerNext.z * heightFactor); in createAmbientShadow()
255 float expansionDist = innerNext.z * heightFactor * geomFactor; in createAmbientShadow()
285 getAlphaFromFactoredZ(currentInner.z * heightFactor)); in createAmbientShadow()
297 getAlphaFromFactoredZ(centroid3d.z * heightFactor); in createAmbientShadow()
DShadowTessellator.cpp39 float heightFactor = 1.0f / 128; in tessellateAmbientShadow() local
43 heightFactor *= Properties::overrideAmbientRatio; in tessellateAmbientShadow()
47 ambientShadowBounds.outset(maxZ * geomFactor * heightFactor); in tessellateAmbientShadow()
57 casterVertexCount, centroid3d, heightFactor, geomFactor, in tessellateAmbientShadow()
DAmbientShadow.h35 int polyLength, const Vector3& centroid3d, float heightFactor,