Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DAmbientShadow.cpp179 const Vector3* casterVertices, int casterVertexCount, const Vector3& centroid3d, in createAmbientShadow() argument
186 Vector2 previousNormal = getNormalFromVertices(casterVertices, in createAmbientShadow()
188 Vector2 currentSpike = {casterVertices[0].x - centroid3d.x, in createAmbientShadow()
189 casterVertices[0].y - centroid3d.y}; in createAmbientShadow()
191 float currentAlpha = getAlphaFromFactoredZ(casterVertices[0].z * heightFactor); in createAmbientShadow()
207 const Vector3& innerVertex = casterVertices[i]; in createAmbientShadow()
208 Vector2 currentNormal = getNormalFromVertices(casterVertices, i, in createAmbientShadow()
227 AlphaVertex::set(&shadowVertices[vertexBufferIndex++], casterVertices[i].x, in createAmbientShadow()
228 casterVertices[i].y, in createAmbientShadow()
231 const Vector3& innerStart = casterVertices[i]; in createAmbientShadow()
[all …]