Searched refs:totalIndexCount (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/libs/hwui/ |
D | AmbientShadow.cpp | 107 inline void computeBufferSize(int* totalVertexCount, int* totalIndexCount, in computeBufferSize() argument 116 *totalIndexCount = 2 * outerVertexCount + 2; in computeBufferSize() 125 *totalIndexCount += 2 * innerVertexCount + 1; in computeBufferSize() 194 int totalVertexCount, totalIndexCount, totalUmbraCount; in createAmbientShadow() local 195 computeBufferSize(&totalVertexCount, &totalIndexCount, &totalUmbraCount, in createAmbientShadow() 200 uint16_t* indexBuffer = shadowVertexBuffer.allocIndices<uint16_t>(totalIndexCount); in createAmbientShadow() 331 ShadowTessellator::checkOverflow(indexBufferIndex, totalIndexCount, "Ambient Index Buffer"); in createAmbientShadow()
|
D | SpotShadow.cpp | 951 const int totalIndexCount = 2 * umbraLength + 2 * verticesPairIndex + 6; in generateTriangleStrip() local 955 shadowTriangleStrip.allocIndices<uint16_t>(totalIndexCount); in generateTriangleStrip() 1027 ShadowTessellator::checkOverflow(indexBufferIndex, totalIndexCount, "Spot Index Buffer"); in generateTriangleStrip()
|