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