Searched defs:totalIndexCount (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/
H A DAmbientShadow.cpp95 inline void computeBufferSize(int* totalVertexCount, int* totalIndexCount, argument
104 *totalIndexCount = 2 * outerVertexCount + 2;
113 *totalIndexCount += 2 * innerVertexCount + 1;
182 int totalVertexCount, totalIndexCount, totalUmbraCount; local
183 computeBufferSize(&totalVertexCount, &totalIndexCount, &totalUmbraCount,
188 uint16_t* indexBuffer = shadowVertexBuffer.allocIndices<uint16_t>(totalIndexCount);
319 ShadowTessellator::checkOverflow(indexBufferIndex, totalIndexCount, "Ambient Index Buffer");
H A DSpotShadow.cpp917 const int totalIndexCount = 2 * umbraLength + 2 * verticesPairIndex + 6; local
921 shadowTriangleStrip.allocIndices<uint16_t>(totalIndexCount);
997 ShadowTessellator::checkOverflow(indexBufferIndex, totalIndexCount, "Spot Index Buffer");

Completed in 126 milliseconds