HomeSort by relevance Sort by last modified time
    Searched refs:numIndices (Results 1 - 25 of 33) sorted by null

1 2

  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/
btShapeHull.h 49 int numIndices () const;
btShapeHull.cpp 115 btShapeHull::numIndices () const
  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/
gim_box_set.cpp 42 GUINT numIndices = endIndex-startIndex;
50 means *= (btScalar(1.)/(btScalar)numIndices);
60 variance *= (btScalar(1.)/ ((btScalar)numIndices-1) );
72 GUINT numIndices = endIndex - startIndex;
81 splitValue /= (btScalar)numIndices;
105 GUINT rangeBalancedIndices = numIndices/3;
110 splitIndex = startIndex+ (numIndices>>1);
btGImpactBvh.cpp 75 int numIndices = endIndex-startIndex;
83 means *= (btScalar(1.)/(btScalar)numIndices);
93 variance *= (btScalar(1.)/ ((btScalar)numIndices-1) );
105 int numIndices = endIndex - startIndex;
117 means *= (btScalar(1.)/(btScalar)numIndices);
145 int rangeBalancedIndices = numIndices/3;
150 splitIndex = startIndex+ (numIndices>>1);
btGImpactQuantizedBvh.cpp 96 int numIndices = endIndex-startIndex;
104 means *= (btScalar(1.)/(btScalar)numIndices);
114 variance *= (btScalar(1.)/ ((btScalar)numIndices-1) );
126 int numIndices = endIndex - startIndex;
138 means *= (btScalar(1.)/(btScalar)numIndices);
166 int rangeBalancedIndices = numIndices/3;
171 splitIndex = startIndex+ (numIndices>>1);
  /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...]
  /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/libgdx/extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/
btShapeHull.java 77 public int numIndices() {
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/
Mesh.java 616 final int numIndices = getNumIndices();
618 final int max = numIndices == 0 ? numVertices : numIndices;
631 if (numIndices > 0) {
648 if (numIndices > 0) {
665 if (numIndices > 0) {
694 int numIndices = getNumIndices();
695 if (offset < 0 || count < 1 || offset + count > numIndices) throw new GdxRuntimeException("Not enough indices");
    [all...]
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/
MeshBuilder.java 405 public void ensureIndices (int numIndices) {
406 indices.ensureCapacity(numIndices);
410 public void ensureCapacity (int numVertices, int numIndices) {
412 ensureIndices(numIndices);
738 public void addMesh (Mesh mesh, int indexOffset, int numIndices) {
740 if (numIndices <= 0) return; // silently ignore an empty mesh part
750 tmpIndices.ensureCapacity(numIndices);
751 tmpIndices.size = numIndices;
752 mesh.getIndices(indexOffset, numIndices, tmpIndices.items, 0);
754 addMesh(tmpVertices.items, tmpIndices.items, 0, numIndices);
    [all...]
MeshPartBuilder.java 74 * @param numIndices The number of indices you are about to add */
75 public void ensureIndices (int numIndices);
80 * @param numIndices The number of indices you are about to add */
81 public void ensureCapacity (int numVertices, int numIndices);
176 * @param numIndices The number of indices of the part of the mesh to copy. */
177 public void addMesh (Mesh mesh, int indexOffset, int numIndices);
190 * @param numIndices The number of indices of the part of the indices array to copy. */
191 public void addMesh (float[] vertices, short[] indices, int indexOffset, int 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);
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 62 const int* opIndices, int numIndices)
72 fOpIndexStack.append(numIndices, opIndices);
  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/BroadphaseCollision/
btQuantizedBvh.cpp 142 int numIndices =endIndex-startIndex;
145 btAssert(numIndices>0);
147 if (numIndices==1)
252 int numIndices = endIndex - startIndex;
261 means *= (btScalar(1.)/(btScalar)numIndices);
286 int rangeBalancedIndices = numIndices/3;
291 splitIndex = startIndex+ (numIndices>>1);
308 int numIndices = endIndex-startIndex;
315 means *= (btScalar(1.)/(btScalar)numIndices);
324 variance *= (btScalar(1.)/ ((btScalar)numIndices-1) )
    [all...]
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/loader/
ObjLoader.java 232 final int numIndices = numFaces * 3 >= Short.MAX_VALUE ? 0 : numFaces * 3;
233 final short[] finalIndices = new short[numIndices];
235 if (numIndices > 0) {
236 for (int i = 0; i < numIndices; i++) {
  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionDispatch/
btCollisionWorldImporter.cpp 803 int numIndices = curNewPart->m_numTriangles * 3;
811 curNewPart->m_indices32 = new btIntIndexData[numIndices];
812 memcpy(curNewPart->m_indices32,curPart->m_indices32,sizeof(btIntIndexData) * numIndices);
829 curNewPart->m_indices16 = new btShortIntIndexData[numIndices];
830 memcpy(curNewPart->m_indices16,curPart->m_indices16,sizeof(btShortIntIndexData) * numIndices);
    [all...]
  /external/autotest/client/deps/webgl_mpd/src/resources/
J3DI.js 157 // 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/
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/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/
Model.java 236 int numIndices = 0;
238 numIndices += part.indices.length;
243 Mesh mesh = new Mesh(true, numVertices, numIndices, attributes);
  /external/skia/src/gpu/batches/
GrAALinearizingConvexPathRenderer.cpp 91 for (int i = 0; i < tess.numIndices(); ++i) {
228 int currentIndices = tess.numIndices();
GrAAConvexTessellator.h 49 int numIndices() const { return fIndices.count(); }
GrAAConvexPathRenderer.cpp 718 for (int i = 0; i < tess.numIndices(); ++i) {
830 uint16_t* idxs = target->makeIndexSpace(tess.numIndices(), &indexBuffer, &firstIndex);
842 tess.numPts(), tess.numIndices());
    [all...]
  /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/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/
HeightField.java 144 final int numIndices = (width - 1) * (height - 1) * 6;
146 this.mesh = new Mesh(isStatic, numVertices, numIndices, attributes);

Completed in 580 milliseconds

1 2