Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DAmbientShadow.cpp111 inline void computeBufferSize(int* totalVertexCount, int* totalIndexCount, in computeBufferSize() argument
120 *totalIndexCount = 2 * outerVertexCount + 2; in computeBufferSize()
129 *totalIndexCount += 2 * innerVertexCount + 1; in computeBufferSize()
198 int totalVertexCount, totalIndexCount, totalUmbraCount; in createAmbientShadow() local
199 computeBufferSize(&totalVertexCount, &totalIndexCount, &totalUmbraCount, in createAmbientShadow()
204 uint16_t* indexBuffer = shadowVertexBuffer.allocIndices<uint16_t>(totalIndexCount); in createAmbientShadow()
335 ShadowTessellator::checkOverflow(indexBufferIndex, totalIndexCount, "Ambient Index Buffer"); in createAmbientShadow()
DSpotShadow.cpp934 const int totalIndexCount = 2 * umbraLength + 2 * verticesPairIndex + 6; in generateTriangleStrip() local
938 shadowTriangleStrip.allocIndices<uint16_t>(totalIndexCount); in generateTriangleStrip()
1010 ShadowTessellator::checkOverflow(indexBufferIndex, totalIndexCount, "Spot Index Buffer"); in generateTriangleStrip()