Searched defs:totalIndexCount (Results 1 - 2 of 2) sorted by relevance
/frameworks/base/libs/hwui/ |
H A D | AmbientShadow.cpp | 111 inline void computeBufferSize(int* totalVertexCount, int* totalIndexCount, argument 120 *totalIndexCount = 2 * outerVertexCount + 2; 129 *totalIndexCount += 2 * innerVertexCount + 1; 198 int totalVertexCount, totalIndexCount, totalUmbraCount; local 199 computeBufferSize(&totalVertexCount, &totalIndexCount, &totalUmbraCount, 204 uint16_t* indexBuffer = shadowVertexBuffer.allocIndices<uint16_t>(totalIndexCount); 335 ShadowTessellator::checkOverflow(indexBufferIndex, totalIndexCount, "Ambient Index Buffer");
|
H A D | SpotShadow.cpp | 934 const int totalIndexCount = 2 * umbraLength + 2 * verticesPairIndex + 6; local 938 shadowTriangleStrip.allocIndices<uint16_t>(totalIndexCount); 1010 ShadowTessellator::checkOverflow(indexBufferIndex, totalIndexCount, "Spot Index Buffer");
|
Completed in 80 milliseconds