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() 330 ShadowTessellator::checkOverflow(indexBufferIndex, totalIndexCount, "Index Buffer"); in createAmbientShadow()
|
D | SpotShadow.cpp | 1422 int totalIndexCount = 2 * (slicedVertexCountPerPolygon * 2 + 2); in generateTriangleStrip() local 1426 shadowTriangleStrip.allocIndices<uint16_t>(totalIndexCount); in generateTriangleStrip() 1513 ALOGD("allocated IB %d allocated VB is %d", totalIndexCount, totalVertexCount); in generateTriangleStrip() 1528 ShadowTessellator::checkOverflow(indexBufferIndex, totalIndexCount, "Spot Index Buffer"); in generateTriangleStrip()
|