Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DAmbientShadow.cpp211 int extraVerticesNumber = ShadowTessellator::getExtraVertexNumber(currentNormal, in createAmbientShadow() local
215 const int cornerSlicesNumber = extraVerticesNumber + 1; // Minimal as 1. in createAmbientShadow()
272 int extraVerticesNumber = getEdgeExtraAndUpdateSpike(&currentSpike, in createAmbientShadow() local
275 ALOGD("extraVerticesNumber %d for edge %d", extraVerticesNumber, i); in createAmbientShadow()
281 for (int k = 1; k < extraVerticesNumber; k++) { in createAmbientShadow()
282 int startWeight = extraVerticesNumber - k; in createAmbientShadow()
284 (outerLast * startWeight + outerNext * k) / extraVerticesNumber; in createAmbientShadow()
293 (innerStart * startWeight + innerNext * k) / extraVerticesNumber; in createAmbientShadow()