Home
last modified time | relevance | path

Searched refs:numIndices (Results 1 – 21 of 21) sorted by relevance

/external/jmonkeyengine/engine/src/core/com/jme3/scene/mesh/
DVirtualIndexBuffer.java25 protected int numIndices = 0; field in VirtualIndexBuffer
33 numIndices = numVerts; in VirtualIndexBuffer()
36 numIndices = (numVerts - 1) * 2 + 1; in VirtualIndexBuffer()
39 numIndices = (numVerts - 1) * 2; in VirtualIndexBuffer()
42 numIndices = numVerts; in VirtualIndexBuffer()
45 numIndices = (numVerts - 2) * 3; in VirtualIndexBuffer()
48 numIndices = (numVerts - 2) * 3; in VirtualIndexBuffer()
51 numIndices = numVerts; in VirtualIndexBuffer()
98 return numIndices; in size()
DWrappedIndexBuffer.java29 numIndices = mesh.getTriangleCount(); in WrappedIndexBuffer()
34 numIndices = mesh.getTriangleCount() * 2; in WrappedIndexBuffer()
39 numIndices = mesh.getTriangleCount() * 3; in WrappedIndexBuffer()
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/strip/
DPrimitiveGroup.java46 public int numIndices; field in PrimitiveGroup
62 return getTypeString() + " : " + numIndices; in toString()
69 int[] stripLengths = new int[numIndices]; in getFullInfo()
73 for ( int i =0; i < numIndices; i++) { in getFullInfo()
86 sb.append("Strip:").append(numIndices).append("\n"); in getFullInfo()
99 if ( indices.length == numIndices ) in getTrimmedIndices()
101 int[] nind = new int[numIndices]; in getTrimmedIndices()
102 System.arraycopy(indices,0,nind,0,numIndices); in getTrimmedIndices()
DTriStrip.java156 int numIndices = 0; in generateStrips() local
158 numIndices += tempStrips.at(i).m_faces.size() * 3; in generateStrips()
162 numIndices += tempFaces.size() * 3; in generateStrips()
165 primGroupArray[0].indices = new int[numIndices]; in generateStrips()
166 primGroupArray[0].numIndices = numIndices; in generateStrips()
179 primGroupArray[0].numIndices -= 3; in generateStrips()
227 primGroupArray[stripCtr].numIndices = stripLength; in generateStrips()
245 primGroupArray[faceGroupLoc].numIndices = tempFaces.size() * 3; in generateStrips()
276 int numIndices = indices.length; in remapIndices() local
277 int[] remappedIndices = new int[numIndices]; in remapIndices()
[all …]
DStripifier.java126 int numIndices = indices.size(); in buildStripifyInfo() local
127 faceInfos.reserve(numIndices / 3); in buildStripifyInfo()
134 int numTriangles = numIndices / 3; in buildStripifyInfo()
293 int numIndices = indices.size(); in getNextIndex() local
295 int v0 = indices.get(numIndices - 2); in getNextIndex()
296 int v1 = indices.get(numIndices - 1); in getNextIndex()
532 static boolean nextIsCW(int numIndices) { in nextIsCW() argument
533 return ((numIndices % 2) == 0); in nextIsCW()
/external/deqp/modules/gles3/functional/
Des3fPrimitiveRestartTests.cpp446 int numIndices = getNumIndices(); in init() local
448 DE_ASSERT(numIndices > 0); in init()
450 …DE_ASSERT(m_endWithRestart || getIndex(numIndices-1) != restartIndex); // We don't want restarts… in init()
453 for (int i = 1; i < numIndices; i++) in init()
556 int numIndices = getNumIndices(); in draw() local
557 for (int i = 0; i < numIndices; i++) in draw()
602 int numIndices = getNumIndices(); in renderWithoutRestart() local
604 DE_ASSERT(numIndices >= 0); in renderWithoutRestart()
608 …for (int indexArrayNdx = 0; indexArrayNdx <= numIndices; indexArrayNdx++) // \note Goes one "too f… in renderWithoutRestart()
610 …if (indexArrayNdx >= numIndices || getIndex(indexArrayNdx) == restartIndex) // \note Handle end of… in renderWithoutRestart()
[all …]
Des3fFragmentOutputTests.cpp557 const int numIndices = numQuads*6; in iterate() local
562 vector<deUint16> indices (numIndices); in iterate()
816 gl.drawElements(GL_TRIANGLES, numIndices, GL_UNSIGNED_SHORT, &indices[0]); in iterate()
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/
DModelConverter.java82 numElements += group.numIndices; in generateStrips()
96 elementLengths[i] = group.numIndices; in generateStrips()
107 curIndex += group.numIndices; in generateStrips()
/external/deqp/modules/glshared/
DglsShaderPerformanceMeasurer.cpp101 int numIndices = gridSizeX * gridSizeY * numIndicesPerQuad; in generateIndices() local
102 dst.resize(numIndices); in generateIndices()
261 GLsizei numIndices = (GLsizei)getNumIndices(m_gridSizeX, m_gridSizeY); in render() local
266 gl.drawElements(GL_TRIANGLES, numIndices, GL_UNSIGNED_SHORT, DE_NULL); in render()
DglsRandomShaderCase.cpp206 int numIndices = numQuads*6; in init() local
207 m_indices.resize(numIndices); in init()
DglsBufferTestUtil.cpp751 static void execVertexFetch (T* dst, const T* src, const deUint8* indices, int numIndices) in execVertexFetch() argument
753 for (int i = 0; i < numIndices; ++i) in execVertexFetch()
/external/skia/src/gpu/
DGrRecordReplaceDraw.cpp65 const unsigned* opIndices, int numIndices) in ReplaceDraw() argument
75 fOpIndexStack.append(numIndices, opIndices); in ReplaceDraw()
DGrAAConvexTessellator.h44 int numIndices() const { return fIndices.count(); } in numIndices() function
DGrAAConvexPathRenderer.cpp729 for (int i = 0; i < tess.numIndices(); ++i) { in extract_verts()
838 uint16_t* idxs = batchTarget->makeIndexSpace(tess.numIndices(), in generateGeometryLinesOnly()
851 tess.numPts(), tess.numIndices()); in generateGeometryLinesOnly()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
DMesh.java1070 int numIndices = indexBuf.size(); in extractVertexData() local
1072 IntMap<Integer> oldIndicesToNewIndices = new IntMap<Integer>(numIndices); in extractVertexData()
1076 for (int i = 0; i < numIndices; i++) { in extractVertexData()
1102 newIndexBuf = new IndexIntBuffer(BufferUtils.createIntBuffer(numIndices)); in extractVertexData()
1104 newIndexBuf = new IndexShortBuffer(BufferUtils.createShortBuffer(numIndices)); in extractVertexData()
1107 for (int i = 0; i < numIndices; i++) { in extractVertexData()
/external/deqp/framework/opengl/
DgluDrawUtil.cpp128 …IndexBuffer (const RenderContext& context, IndexType indexType, int numIndices, const void* indi…
373 IndexBuffer::IndexBuffer (const RenderContext& context, IndexType indexType, int numIndices, const … in IndexBuffer() argument
380 gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, numIndices*getIndexSize(indexType), indices, usage); in IndexBuffer()
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/
DMeshLoader.java198 int numIndices = indicesPerFace * numFaces; in startFaces() local
202 sb = BufferUtils.createShortBuffer(numIndices); in startFaces()
206 ib = BufferUtils.createIntBuffer(numIndices); in startFaces()
/external/deqp/modules/gles2/functional/
Des2fBufferTestUtil.cpp562 static void execVertexFetch (T* dst, const T* src, const deUint8* indices, int numIndices) in execVertexFetch() argument
564 for (int i = 0; i < numIndices; ++i) in execVertexFetch()
/external/deqp/modules/gles31/functional/
Des31fOpaqueTypeIndexingTests.cpp95 …const glw::Functions& gl, deUint32 program, const char* varPrefix, int numIndices, const int* indi… in uploadUniformIndices() argument
97 for (int varNdx = 0; varNdx < numIndices; varNdx++) in uploadUniformIndices()
Des31fTessellationTests.cpp1709 …const int numIndices = gridWidth*gridHeight * (m_primitiveType == TESSPRIMITIVETYPE_TRIANGL… in iterate() local
1718 gridIndices.reserve(numIndices); in iterate()
1779 DE_ASSERT((int)gridIndices.size() == numIndices); in iterate()
/external/llvm/docs/
DCoverageMappingFormat.rst423 ``[numIndices : LEB128, filenameIndex0 : LEB128, filenameIndex1 : LEB128, ...]``