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

/external/jmonkeyengine/engine/src/core/com/jme3/scene/debug/
H A DSkeletonWire.java59 private void writeConnections(ShortBuffer indexBuf, Bone bone){ argument
62 indexBuf.put( (short) skeleton.getBoneIndex(bone) );
64 indexBuf.put( (short) skeleton.getBoneIndex(child) );
66 writeConnections(indexBuf, child);
/external/jmonkeyengine/engine/src/android/com/jme3/renderer/android/
H A DOGLESShaderRenderer.java2434 public void drawTriangleList(VertexBuffer indexBuf, Mesh mesh, int count) { argument
2440 if (indexBuf.getBufferType() != VertexBuffer.Type.Index) {
2444 if (indexBuf.isUpdateNeeded()) {
2446 logger.info("updateBufferData for indexBuf.");
2448 updateBufferData(indexBuf);
2451 int bufId = indexBuf.getId();
2470 Buffer indexData = indexBuf.getData();
2477 int fmt = convertFormat(indexBuf.getFormat());
2478 int elSize = indexBuf.getFormat().getComponentSize();
2502 indexBuf
2760 drawTriangleList_Array(VertexBuffer indexBuf, Mesh mesh, int count) argument
[all...]
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/scene/plugins/
H A DOBJLoader.java464 IndexBuffer indexBuf = null;
469 indexBuf = new IndexIntBuffer(ib);
473 indexBuf = new IndexShortBuffer(sb);
516 indexBuf.put(index, v0.index);
517 indexBuf.put(index+1, v1.index);
518 indexBuf.put(index+2, v2.index);
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/
H A DLwjglRenderer.java2222 public void drawTriangleList(VertexBuffer indexBuf, Mesh mesh, int count) { argument
2223 if (indexBuf.getBufferType() != VertexBuffer.Type.Index) {
2227 if (indexBuf.isUpdateNeeded()) {
2228 updateBufferData(indexBuf);
2231 int bufId = indexBuf.getId();
2237 //statistics.onVertexBufferUse(indexBuf, true);
2239 //statistics.onVertexBufferUse(indexBuf, true);
2250 int fmt = convertFormat(indexBuf.getFormat());
2251 int elSize = indexBuf.getFormat().getComponentSize();
2284 indexBuf
[all...]
H A DLwjglGL1Renderer.java995 public void drawTriangleList(VertexBuffer indexBuf, Mesh mesh, int count) { argument
998 Buffer indexData = indexBuf.getData();
1008 int fmt = convertVertexFormat(indexBuf.getFormat());
1009 // int elSize = indexBuf.getFormat().getComponentSize();
1031 convertVertexFormat(indexBuf.getFormat()),
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
H A DMesh.java1069 IndexBuffer indexBuf = getIndexBuffer();
1070 int numIndices = indexBuf.size();
1077 int oldIndex = indexBuf.get(i);
1109 int oldIndex = indexBuf.get(i);
/external/deqp/modules/gles3/functional/
H A Des3fDrawTests.cpp685 deUint32 indexBuf = 0; local
743 ctx.genBuffers(1, &indexBuf);
744 ctx.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, indexBuf);
761 ctx.deleteBuffers(1, &indexBuf);
/external/deqp/modules/glshared/
H A DglsLongStressCase.cpp1269 const string indexBufferName = "indexBuf" + toString(progContextNdx);
1351 Buffer& indexBuf = m_buffers->get(indexBufferName); variable
1355 m_buffers->removeGarbageUntilUnder(m_maxBufMemoryUsageBytes - indexBuf.getApproxMemUsageDiff(m_vertexIndices), m_rnd);
1359 indexBuf.setData(m_vertexIndices, target, m_rnd.getFloat() < m_probabilities.randomBufferUsage ? randomBufferUsage(m_rnd, m_isGLES3) : m_indexBufferUsage);
1361 indexBuf.setSubData(m_vertexIndices, 0, m_numVerticesPerDrawCall, target);
/external/deqp/modules/gles31/functional/
H A Des31fDrawTests.cpp816 deUint32 indexBuf = 0; local
878 ctx.genBuffers(1, &indexBuf);
879 ctx.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, indexBuf);
924 ctx.deleteBuffers(1, &indexBuf);
2307 deUint32 indexBuf = 0;
2345 gl.genBuffers(1, &indexBuf);
2346 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, indexBuf);
2365 gl.deleteBuffers(1, &indexBuf);

Completed in 548 milliseconds