Home
last modified time | relevance | path

Searched refs:indexBuffer (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/libs/hwui/
DAmbientShadow.cpp200 uint16_t* indexBuffer = shadowVertexBuffer.allocIndices<uint16_t>(totalIndexCount); in createAmbientShadow() local
248 indexBuffer[indexBufferIndex++] = vertexBufferIndex; in createAmbientShadow()
249 indexBuffer[indexBufferIndex++] = currentInnerVertexIndex; in createAmbientShadow()
285 indexBuffer[indexBufferIndex++] = vertexBufferIndex; in createAmbientShadow()
294 indexBuffer[indexBufferIndex++] = vertexBufferIndex; in createAmbientShadow()
303 indexBuffer[indexBufferIndex++] = 1; in createAmbientShadow()
304 indexBuffer[indexBufferIndex++] = 0; in createAmbientShadow()
319 indexBuffer[indexBufferIndex++] = umbraVertices[i]; in createAmbientShadow()
320 indexBuffer[indexBufferIndex++] = centroidIndex; in createAmbientShadow()
322 indexBuffer[indexBufferIndex++] = 0; in createAmbientShadow()
[all …]
DSpotShadow.cpp1425 uint16_t* indexBuffer = in generateTriangleStrip() local
1450 indexBuffer[indexBufferIndex++] = vertexBufferIndex; in generateTriangleStrip()
1456 indexBuffer[indexBufferIndex++] = vertexBufferIndex; in generateTriangleStrip()
1465 indexBuffer[indexBufferIndex++] = 0; in generateTriangleStrip()
1468 indexBuffer[indexBufferIndex++] = 1; in generateTriangleStrip()
1476 indexBuffer[indexBufferIndex++] = slicedUmbraVertexIndex[i]; in generateTriangleStrip()
1482 indexBuffer[indexBufferIndex++] = vertexBufferIndex; in generateTriangleStrip()
1493 indexBuffer[indexBufferIndex++] = (vertexBufferIndex - 1); in generateTriangleStrip()
1497 indexBuffer[indexBufferIndex++] = slicedUmbraVertexIndex[0]; in generateTriangleStrip()
1498 indexBuffer[indexBufferIndex++] = firstOccludedUmbraIndex; in generateTriangleStrip()
[all …]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DGLCanvas.java97 int uvBuffer, int indexBuffer, int indexCount); in drawMesh() argument
DGLES20Canvas.java717 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/
Dgltrace_fixup.cpp692 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()