Searched refs:numIndices (Results 1 - 23 of 23) sorted by relevance

/external/jmonkeyengine/engine/src/core/com/jme3/scene/mesh/
H A DVirtualIndexBuffer.java25 protected int numIndices = 0; field in class:VirtualIndexBuffer
33 numIndices = numVerts;
36 numIndices = (numVerts - 1) * 2 + 1;
39 numIndices = (numVerts - 1) * 2;
42 numIndices = numVerts;
45 numIndices = (numVerts - 2) * 3;
48 numIndices = (numVerts - 2) * 3;
51 numIndices = numVerts;
98 return numIndices;
H A DWrappedIndexBuffer.java29 numIndices = mesh.getTriangleCount();
34 numIndices = mesh.getTriangleCount() * 2;
39 numIndices = mesh.getTriangleCount() * 3;
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/strip/
H A DPrimitiveGroup.java46 public int numIndices; field in class:PrimitiveGroup
62 return getTypeString() + " : " + numIndices;
69 int[] stripLengths = new int[numIndices];
73 for ( int i =0; i < numIndices; i++) {
86 sb.append("Strip:").append(numIndices).append("\n");
99 if ( indices.length == numIndices )
101 int[] nind = new int[numIndices];
102 System.arraycopy(indices,0,nind,0,numIndices);
H A DTriStrip.java156 int numIndices = 0;
158 numIndices += tempStrips.at(i).m_faces.size() * 3;
162 numIndices += tempFaces.size() * 3;
165 primGroupArray[0].indices = new int[numIndices];
166 primGroupArray[0].numIndices = numIndices;
179 primGroupArray[0].numIndices -= 3;
227 primGroupArray[stripCtr].numIndices = stripLength;
245 primGroupArray[faceGroupLoc].numIndices = tempFaces.size() * 3;
276 int numIndices
[all...]
H A DStripifier.java126 int numIndices = indices.size();
127 faceInfos.reserve(numIndices / 3);
134 int numTriangles = numIndices / 3;
293 int numIndices = indices.size();
295 int v0 = indices.get(numIndices - 2);
296 int v1 = indices.get(numIndices - 1);
532 static boolean nextIsCW(int numIndices) { argument
533 return ((numIndices % 2) == 0);
/external/deqp/modules/gles3/functional/
H A Des3fPrimitiveRestartTests.cpp446 int numIndices = getNumIndices(); local
448 DE_ASSERT(numIndices > 0);
450 DE_ASSERT(m_endWithRestart || getIndex(numIndices-1) != restartIndex); // We don't want restarts at end unless the case is a special case.
453 for (int i = 1; i < numIndices; i++)
556 int numIndices = getNumIndices(); local
557 for (int i = 0; i < numIndices; i++)
602 int numIndices = getNumIndices(); local
604 DE_ASSERT(numIndices >= 0);
608 for (int indexArrayNdx = 0; indexArrayNdx <= numIndices; indexArrayNdx++) // \note Goes one "too far" in order to detect end of array as well.
610 if (indexArrayNdx >= numIndices || getInde
[all...]
H A Des3fFragmentOutputTests.cpp557 const int numIndices = numQuads*6; local
562 vector<deUint16> indices (numIndices);
816 gl.drawElements(GL_TRIANGLES, numIndices, GL_UNSIGNED_SHORT, &indices[0]);
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/
H A DModelConverter.java82 numElements += group.numIndices;
96 elementLengths[i] = group.numIndices;
107 curIndex += group.numIndices;
/external/deqp/modules/glshared/
H A DglsShaderPerformanceMeasurer.cpp101 int numIndices = gridSizeX * gridSizeY * numIndicesPerQuad; local
102 dst.resize(numIndices);
261 GLsizei numIndices = (GLsizei)getNumIndices(m_gridSizeX, m_gridSizeY);
266 gl.drawElements(GL_TRIANGLES, numIndices, GL_UNSIGNED_SHORT, DE_NULL);
H A DglsRandomShaderCase.cpp206 int numIndices = numQuads*6; local
207 m_indices.resize(numIndices);
H A DglsBufferTestUtil.cpp751 static void execVertexFetch (T* dst, const T* src, const deUint8* indices, int numIndices)
753 for (int i = 0; i < numIndices; ++i)
/external/skia/src/gpu/
H A DGrRecordReplaceDraw.cpp62 const int* opIndices, int numIndices)
72 fOpIndexStack.append(numIndices, opIndices);
56 ReplaceDraw(SkCanvas* canvas, GrLayerCache* layerCache, SkPicture const* const drawablePicts[], int drawableCount, const SkPicture* topLevelPicture, const SkBigPicture* picture, const SkMatrix& initialMatrix, SkPicture::AbortCallback* callback, const int* opIndices, int numIndices) argument
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
H A DMesh.java1070 int numIndices = indexBuf.size();
1072 IntMap<Integer> oldIndicesToNewIndices = new IntMap<Integer>(numIndices);
1076 for (int i = 0; i < numIndices; i++) {
1102 newIndexBuf = new IndexIntBuffer(BufferUtils.createIntBuffer(numIndices));
1104 newIndexBuf = new IndexShortBuffer(BufferUtils.createShortBuffer(numIndices));
1107 for (int i = 0; i < numIndices; i++) {
/external/autotest/client/deps/webgl_mpd/src/resources/
H A DJ3DI.js157 // numIndices The number of indices in the indexObject
232 retval.numIndices = indices.length;
248 // numIndices The number of indices in the indexObject
311 retval.numIndices = indexData.length;
342 // numIndices The number of indices in the indexObject
507 obj.numIndices = indexArray.length;
/external/deqp/framework/opengl/
H A DgluDrawUtil.cpp128 IndexBuffer (const RenderContext& context, IndexType indexType, int numIndices, const void* indices);
373 IndexBuffer::IndexBuffer (const RenderContext& context, IndexType indexType, int numIndices, const void* indices) argument
380 gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, numIndices*getIndexSize(indexType), indices, usage);
/external/skia/src/gpu/batches/
H A DGrAALinearizingConvexPathRenderer.cpp91 for (int i = 0; i < tess.numIndices(); ++i) {
228 int currentIndices = tess.numIndices();
H A DGrAAConvexTessellator.h49 int numIndices() const { return fIndices.count(); } function in class:GrAAConvexTessellator
H A DGrAAConvexPathRenderer.cpp718 for (int i = 0; i < tess.numIndices(); ++i) {
830 uint16_t* idxs = target->makeIndexSpace(tess.numIndices(), &indexBuffer, &firstIndex);
842 tess.numPts(), tess.numIndices());
/external/deqp/modules/gles2/functional/
H A Des2fBufferTestUtil.cpp562 static void execVertexFetch (T* dst, const T* src, const deUint8* indices, int numIndices)
564 for (int i = 0; i < numIndices; ++i)
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/
H A DMeshLoader.java198 int numIndices = indicesPerFace * numFaces;
202 sb = BufferUtils.createShortBuffer(numIndices);
206 ib = BufferUtils.createIntBuffer(numIndices);
/external/deqp/modules/gles31/functional/
H A Des31fOpaqueTypeIndexingTests.cpp96 static void uploadUniformIndices (const glw::Functions& gl, deUint32 program, const char* varPrefix, int numIndices, const int* indices) argument
98 for (int varNdx = 0; varNdx < numIndices; varNdx++)
H A Des31fTessellationTests.cpp1709 const int numIndices = gridWidth*gridHeight * (m_primitiveType == TESSPRIMITIVETYPE_TRIANGLES ? 3*2 : m_primitiveType == TESSPRIMITIVETYPE_QUADS ? 4 : -1);
1718 gridIndices.reserve(numIndices);
1779 DE_ASSERT((int)gridIndices.size() == numIndices);
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktOpaqueTypeIndexingTests.cpp226 static void uploadUniformIndices (UniformSetup* uniformSetup, int numIndices, const int* indices, deUint32& bindingLocation) argument
228 for (int varNdx = 0; varNdx < numIndices; varNdx++)

Completed in 432 milliseconds