Home
last modified time | relevance | path

Searched refs:indexBuf (Results 1 – 9 of 9) sorted by relevance

/external/jmonkeyengine/engine/src/core/com/jme3/scene/debug/
DSkeletonWire.java59 private void writeConnections(ShortBuffer indexBuf, Bone bone){ in writeConnections() argument
62 indexBuf.put( (short) skeleton.getBoneIndex(bone) ); in writeConnections()
64 indexBuf.put( (short) skeleton.getBoneIndex(child) ); in writeConnections()
66 writeConnections(indexBuf, child); in writeConnections()
/external/jmonkeyengine/engine/src/android/com/jme3/renderer/android/
DOGLESShaderRenderer.java2434 public void drawTriangleList(VertexBuffer indexBuf, Mesh mesh, int count) { in drawTriangleList() argument
2440 if (indexBuf.getBufferType() != VertexBuffer.Type.Index) { in drawTriangleList()
2444 if (indexBuf.isUpdateNeeded()) { in drawTriangleList()
2448 updateBufferData(indexBuf); in drawTriangleList()
2451 int bufId = indexBuf.getId(); in drawTriangleList()
2470 Buffer indexData = indexBuf.getData(); in drawTriangleList()
2477 int fmt = convertFormat(indexBuf.getFormat()); in drawTriangleList()
2478 int elSize = indexBuf.getFormat().getComponentSize(); in drawTriangleList()
2502 indexBuf.getData().position(curOffset); in drawTriangleList()
2507 GLES20.glDrawElements(elMode, elementLength, fmt, indexBuf.getData()); in drawTriangleList()
[all …]
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/scene/plugins/
DOBJLoader.java464 IndexBuffer indexBuf = null; in constructMesh() local
469 indexBuf = new IndexIntBuffer(ib); in constructMesh()
473 indexBuf = new IndexShortBuffer(sb); in constructMesh()
516 indexBuf.put(index, v0.index); in constructMesh()
517 indexBuf.put(index+1, v1.index); in constructMesh()
518 indexBuf.put(index+2, v2.index); in constructMesh()
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/
DLwjglRenderer.java2222 public void drawTriangleList(VertexBuffer indexBuf, Mesh mesh, int count) { in drawTriangleList() argument
2223 if (indexBuf.getBufferType() != VertexBuffer.Type.Index) { in drawTriangleList()
2227 if (indexBuf.isUpdateNeeded()) { in drawTriangleList()
2228 updateBufferData(indexBuf); in drawTriangleList()
2231 int bufId = indexBuf.getId(); in drawTriangleList()
2250 int fmt = convertFormat(indexBuf.getFormat()); in drawTriangleList()
2251 int elSize = indexBuf.getFormat().getComponentSize(); in drawTriangleList()
2284 indexBuf.getData().limit(), in drawTriangleList()
2285 convertFormat(indexBuf.getFormat()), in drawTriangleList()
2292 indexBuf.getData().limit(), in drawTriangleList()
[all …]
DLwjglGL1Renderer.java995 public void drawTriangleList(VertexBuffer indexBuf, Mesh mesh, int count) { in drawTriangleList() argument
998 Buffer indexData = indexBuf.getData(); in drawTriangleList()
1031 convertVertexFormat(indexBuf.getFormat()), in drawTriangleList()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
DMesh.java1069 IndexBuffer indexBuf = getIndexBuffer(); in extractVertexData() local
1070 int numIndices = indexBuf.size(); in extractVertexData()
1077 int oldIndex = indexBuf.get(i); in extractVertexData()
1109 int oldIndex = indexBuf.get(i); in extractVertexData()
/external/deqp/modules/gles3/functional/
Des3fDrawTests.cpp685 deUint32 indexBuf = 0; in renderTo() local
743 ctx.genBuffers(1, &indexBuf); in renderTo()
744 ctx.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, indexBuf); in renderTo()
761 ctx.deleteBuffers(1, &indexBuf); in renderTo()
/external/deqp/modules/gles31/functional/
Des31fDrawTests.cpp816 deUint32 indexBuf = 0; in renderTo() local
878 ctx.genBuffers(1, &indexBuf); in renderTo()
879 ctx.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, indexBuf); in renderTo()
924 ctx.deleteBuffers(1, &indexBuf); in renderTo()
2307 deUint32 indexBuf = 0; in iterate() local
2345 gl.genBuffers(1, &indexBuf); in iterate()
2346 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, indexBuf); in iterate()
2365 gl.deleteBuffers(1, &indexBuf); in iterate()
/external/deqp/modules/glshared/
DglsLongStressCase.cpp1351 Buffer& indexBuf = m_buffers->get(indexBufferName); in iterate() local
1355 …m_buffers->removeGarbageUntilUnder(m_maxBufMemoryUsageBytes - indexBuf.getApproxMemUsageDiff(m_ver… in iterate()
1359indexBuf.setData(m_vertexIndices, target, m_rnd.getFloat() < m_probabilities.randomBufferUsage ? r… in iterate()
1361 indexBuf.setSubData(m_vertexIndices, 0, m_numVerticesPerDrawCall, target); in iterate()