/external/jmonkeyengine/engine/src/core/com/jme3/scene/mesh/ |
VirtualIndexBuffer.java | 25 protected int numIndices = 0; 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;
|
WrappedIndexBuffer.java | 29 numIndices = mesh.getTriangleCount(); 34 numIndices = mesh.getTriangleCount() * 2; 39 numIndices = mesh.getTriangleCount() * 3;
|
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/strip/ |
PrimitiveGroup.java | 46 public int numIndices;
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);
|
TriStrip.java | 156 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 = indices.length; [all...] |
Stripifier.java | 126 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) {
533 return ((numIndices % 2) == 0);
[all...] |
/external/deqp/modules/gles3/functional/ |
es3fPrimitiveRestartTests.cpp | 446 int numIndices = getNumIndices(); 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(); 557 for (int i = 0; i < numIndices; i++) 602 int numIndices = getNumIndices(); 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 || getIndex(indexArrayNdx) == restartIndex) // \note Handle end of array the same way as a restart (…) [all...] |
es3fFragmentOutputTests.cpp | 557 const int numIndices = numQuads*6; 562 vector<deUint16> indices (numIndices); 816 gl.drawElements(GL_TRIANGLES, numIndices, GL_UNSIGNED_SHORT, &indices[0]); [all...] |
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
PlanetsRenderer.java | 204 int[] numIndices = mSpheres[i].getNumIndices(); 208 for (int j = 0; j < numIndices.length; j++) { 212 numIndices[j], GLES20.GL_UNSIGNED_SHORT, 216 for (int j = 0; j < numIndices.length; j++) { 218 numIndices[j], GLES20.GL_UNSIGNED_SHORT, 408 int[] numIndices = mSpheres[i].getNumIndices(); 411 for (int j = 0; j < numIndices.length; j++) {
|
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/ |
ModelConverter.java | 82 numElements += group.numIndices; 96 elementLengths[i] = group.numIndices; 107 curIndex += group.numIndices;
|
/external/deqp/modules/glshared/ |
glsShaderPerformanceMeasurer.cpp | 101 int numIndices = gridSizeX * gridSizeY * numIndicesPerQuad; 102 dst.resize(numIndices); 261 GLsizei numIndices = (GLsizei)getNumIndices(m_gridSizeX, m_gridSizeY); 266 gl.drawElements(GL_TRIANGLES, numIndices, GL_UNSIGNED_SHORT, DE_NULL);
|
glsRandomShaderCase.cpp | 206 int numIndices = numQuads*6; 207 m_indices.resize(numIndices);
|
glsBufferTestUtil.cpp | 751 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/ |
GrRecordReplaceDraw.cpp | 65 const unsigned* opIndices, int numIndices) 75 fOpIndexStack.append(numIndices, opIndices);
|
GrAAConvexTessellator.h | 44 int numIndices() const { return fIndices.count(); }
|
GrAAConvexPathRenderer.cpp | 729 for (int i = 0; i < tess.numIndices(); ++i) { 838 uint16_t* idxs = batchTarget->makeIndexSpace(tess.numIndices(), 851 tess.numPts(), tess.numIndices()); [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/scene/ |
Mesh.java | [all...] |
/external/deqp/framework/opengl/ |
gluDrawUtil.cpp | 128 IndexBuffer (const RenderContext& context, IndexType indexType, int numIndices, const void* indices); 373 IndexBuffer::IndexBuffer (const RenderContext& context, IndexType indexType, int numIndices, const void* indices) 380 gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, numIndices*getIndexSize(indexType), indices, usage);
|
/external/deqp/modules/gles2/functional/ |
es2fBufferTestUtil.cpp | 562 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/ |
MeshLoader.java | 198 int numIndices = indicesPerFace * numFaces; 202 sb = BufferUtils.createShortBuffer(numIndices); 206 ib = BufferUtils.createIntBuffer(numIndices);
|
/external/deqp/modules/gles31/functional/ |
es31fOpaqueTypeIndexingTests.cpp | 95 static void uploadUniformIndices (const glw::Functions& gl, deUint32 program, const char* varPrefix, int numIndices, const int* indices) 97 for (int varNdx = 0; varNdx < numIndices; varNdx++) [all...] |
es31fTessellationTests.cpp | [all...] |
/frameworks/base/rs/jni/ |
android_renderscript_RenderScript.cpp | [all...] |