Searched refs:indexBuffer (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/libs/hwui/ |
D | AmbientShadow.cpp | 204 uint16_t* indexBuffer = shadowVertexBuffer.allocIndices<uint16_t>(totalIndexCount); in createAmbientShadow() local 252 indexBuffer[indexBufferIndex++] = vertexBufferIndex; in createAmbientShadow() 253 indexBuffer[indexBufferIndex++] = currentInnerVertexIndex; in createAmbientShadow() 289 indexBuffer[indexBufferIndex++] = vertexBufferIndex; in createAmbientShadow() 298 indexBuffer[indexBufferIndex++] = vertexBufferIndex; in createAmbientShadow() 307 indexBuffer[indexBufferIndex++] = 1; in createAmbientShadow() 308 indexBuffer[indexBufferIndex++] = 0; in createAmbientShadow() 323 indexBuffer[indexBufferIndex++] = umbraVertices[i]; in createAmbientShadow() 324 indexBuffer[indexBufferIndex++] = centroidIndex; in createAmbientShadow() 326 indexBuffer[indexBufferIndex++] = 0; in createAmbientShadow() [all …]
|
D | SpotShadow.cpp | 937 uint16_t* indexBuffer = in generateTriangleStrip() local 953 indexBuffer[indexBufferIndex++] = verticesPair[i].outerIndex; in generateTriangleStrip() 955 indexBuffer[indexBufferIndex++] = verticesPair[i].innerIndex + newPenumbraLength; in generateTriangleStrip() 957 indexBuffer[indexBufferIndex++] = verticesPair[0].outerIndex; in generateTriangleStrip() 958 indexBuffer[indexBufferIndex++] = verticesPair[0].innerIndex + newPenumbraLength; in generateTriangleStrip() 963 indexBuffer[indexBufferIndex] = indexBuffer[indexBufferIndex - 1]; in generateTriangleStrip() 965 indexBuffer[indexBufferIndex++] = newPenumbraLength + 0; in generateTriangleStrip() 986 indexBuffer[indexBufferIndex++] = newPenumbraLength + i; in generateTriangleStrip() 987 indexBuffer[indexBufferIndex++] = vertexBufferIndex; in generateTriangleStrip() 998 indexBuffer[indexBufferIndex++] = newPenumbraLength + i; in generateTriangleStrip() [all …]
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
D | GLCanvas.java | 97 int uvBuffer, int indexBuffer, int indexCount); in drawMesh() argument
|
D | GLES20Canvas.java | 717 int indexBuffer, int indexCount) { in drawMesh() argument 720 GLES20.glBindBuffer(GLES20.GL_ELEMENT_ARRAY_BUFFER, indexBuffer); in drawMesh()
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
D | gltrace_fixup.cpp | 692 GLvoid *indexBuffer; in trace_VertexAttribPointerDataForGlDrawElements() local 696 context->getBuffer(bufferId, &indexBuffer, &eaBufferSize); in trace_VertexAttribPointerDataForGlDrawElements() 698 indexBuffer = indices; in trace_VertexAttribPointerDataForGlDrawElements() 705 findMinAndMaxIndices(indexBuffer, count, type, &minIndex, &maxIndex); in trace_VertexAttribPointerDataForGlDrawElements()
|