Searched refs:vertexBufferIndex (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/libs/hwui/ |
D | AmbientShadow.cpp | 199 int vertexBufferIndex = 0; in createAmbientShadow() local 223 int currentInnerVertexIndex = vertexBufferIndex; in createAmbientShadow() 225 umbraVertices[umbraIndex++] = vertexBufferIndex; in createAmbientShadow() 227 AlphaVertex::set(&shadowVertices[vertexBufferIndex++], casterVertices[i].x, in createAmbientShadow() 248 indexBuffer[indexBufferIndex++] = vertexBufferIndex; in createAmbientShadow() 250 AlphaVertex::set(&shadowVertices[vertexBufferIndex++], outerVertex.x, in createAmbientShadow() 285 indexBuffer[indexBufferIndex++] = vertexBufferIndex; in createAmbientShadow() 286 AlphaVertex::set(&shadowVertices[vertexBufferIndex++], currentOuter.x, in createAmbientShadow() 290 umbraVertices[umbraIndex++] = vertexBufferIndex; in createAmbientShadow() 294 indexBuffer[indexBufferIndex++] = vertexBufferIndex; in createAmbientShadow() [all …]
|
D | SpotShadow.cpp | 1429 int vertexBufferIndex = 0; in generateTriangleStrip() local 1450 indexBuffer[indexBufferIndex++] = vertexBufferIndex; in generateTriangleStrip() 1451 AlphaVertex::set(&shadowVertices[vertexBufferIndex++], slicedPenumbra.x, in generateTriangleStrip() 1456 indexBuffer[indexBufferIndex++] = vertexBufferIndex; in generateTriangleStrip() 1458 slicedUmbraVertexIndex[realUmbraVertexCount] = vertexBufferIndex; in generateTriangleStrip() 1460 AlphaVertex::set(&shadowVertices[vertexBufferIndex++], slicedUmbra.x, in generateTriangleStrip() 1482 indexBuffer[indexBufferIndex++] = vertexBufferIndex; in generateTriangleStrip() 1486 firstOccludedUmbraIndex = vertexBufferIndex; in generateTriangleStrip() 1488 AlphaVertex::set(&shadowVertices[vertexBufferIndex++], in generateTriangleStrip() 1493 indexBuffer[indexBufferIndex++] = (vertexBufferIndex - 1); in generateTriangleStrip() [all …]
|