Home
last modified time | relevance | path

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

12

/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/
Dgim_box_set.cpp42 GUINT numIndices = endIndex-startIndex; in _calc_splitting_axis() local
50 means *= (btScalar(1.)/(btScalar)numIndices); in _calc_splitting_axis()
60 variance *= (btScalar(1.)/ ((btScalar)numIndices-1) ); in _calc_splitting_axis()
72 GUINT numIndices = endIndex - startIndex; in _sort_and_calc_splitting_index() local
81 splitValue /= (btScalar)numIndices; in _sort_and_calc_splitting_index()
105 GUINT rangeBalancedIndices = numIndices/3; in _sort_and_calc_splitting_index()
110 splitIndex = startIndex+ (numIndices>>1); in _sort_and_calc_splitting_index()
DbtGImpactBvh.cpp75 int numIndices = endIndex-startIndex; in _calc_splitting_axis() local
83 means *= (btScalar(1.)/(btScalar)numIndices); in _calc_splitting_axis()
93 variance *= (btScalar(1.)/ ((btScalar)numIndices-1) ); in _calc_splitting_axis()
105 int numIndices = endIndex - startIndex; in _sort_and_calc_splitting_index() local
117 means *= (btScalar(1.)/(btScalar)numIndices); in _sort_and_calc_splitting_index()
145 int rangeBalancedIndices = numIndices/3; in _sort_and_calc_splitting_index()
150 splitIndex = startIndex+ (numIndices>>1); in _sort_and_calc_splitting_index()
DbtGImpactQuantizedBvh.cpp96 int numIndices = endIndex-startIndex; in _calc_splitting_axis() local
104 means *= (btScalar(1.)/(btScalar)numIndices); in _calc_splitting_axis()
114 variance *= (btScalar(1.)/ ((btScalar)numIndices-1) ); in _calc_splitting_axis()
126 int numIndices = endIndex - startIndex; in _sort_and_calc_splitting_index() local
138 means *= (btScalar(1.)/(btScalar)numIndices); in _sort_and_calc_splitting_index()
166 int rangeBalancedIndices = numIndices/3; in _sort_and_calc_splitting_index()
171 splitIndex = startIndex+ (numIndices>>1); in _sort_and_calc_splitting_index()
/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 …]
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/
DMesh.java616 final int numIndices = getNumIndices(); in extendBoundingBox() local
618 final int max = numIndices == 0 ? numVertices : numIndices; in extendBoundingBox()
631 if (numIndices > 0) { in extendBoundingBox()
648 if (numIndices > 0) { in extendBoundingBox()
665 if (numIndices > 0) { in extendBoundingBox()
694 int numIndices = getNumIndices(); in calculateRadiusSquared() local
695 …if (offset < 0 || count < 1 || offset + count > numIndices) throw new GdxRuntimeException("Not eno… in calculateRadiusSquared()
1042 int numIndices = getNumIndices(); in copy() local
1044 if (numIndices > 0) { in copy()
1045 indices = new short[numIndices]; in copy()
[all …]
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/
DMeshBuilder.java405 public void ensureIndices (int numIndices) { in ensureIndices() argument
406 indices.ensureCapacity(numIndices); in ensureIndices()
410 public void ensureCapacity (int numVertices, int numIndices) { in ensureCapacity() argument
412 ensureIndices(numIndices); in ensureCapacity()
738 public void addMesh (Mesh mesh, int indexOffset, int numIndices) { in addMesh() argument
740 if (numIndices <= 0) return; // silently ignore an empty mesh part in addMesh()
750 tmpIndices.ensureCapacity(numIndices); in addMesh()
751 tmpIndices.size = numIndices; in addMesh()
752 mesh.getIndices(indexOffset, numIndices, tmpIndices.items, 0); in addMesh()
754 addMesh(tmpVertices.items, tmpIndices.items, 0, numIndices); in addMesh()
[all …]
DMeshPartBuilder.java75 public void ensureIndices (int numIndices); in ensureIndices() argument
81 public void ensureCapacity (int numVertices, int numIndices); in ensureCapacity() argument
177 public void addMesh (Mesh mesh, int indexOffset, int numIndices); in addMesh() argument
191 public void addMesh (float[] vertices, short[] indices, int indexOffset, int numIndices); in addMesh() argument
/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()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/BroadphaseCollision/
DbtQuantizedBvh.cpp142 int numIndices =endIndex-startIndex; in buildTree() local
145 btAssert(numIndices>0); in buildTree()
147 if (numIndices==1) in buildTree()
252 int numIndices = endIndex - startIndex; in sortAndCalcSplittingIndex() local
261 means *= (btScalar(1.)/(btScalar)numIndices); in sortAndCalcSplittingIndex()
286 int rangeBalancedIndices = numIndices/3; in sortAndCalcSplittingIndex()
291 splitIndex = startIndex+ (numIndices>>1); in sortAndCalcSplittingIndex()
308 int numIndices = endIndex-startIndex; in calcSplittingAxis() local
315 means *= (btScalar(1.)/(btScalar)numIndices); in calcSplittingAxis()
324 variance *= (btScalar(1.)/ ((btScalar)numIndices-1) ); in calcSplittingAxis()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/
DbtShapeHull.h49 int numIndices () const; in ATTRIBUTE_ALIGNED16()
DbtShapeHull.cpp115 btShapeHull::numIndices () const in numIndices() function in btShapeHull
/external/skia/src/gpu/
DGrRecordReplaceDraw.cpp62 const int* opIndices, int numIndices) in ReplaceDraw() argument
72 fOpIndexStack.append(numIndices, opIndices); in ReplaceDraw()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/loader/
DObjLoader.java232 final int numIndices = numFaces * 3 >= Short.MAX_VALUE ? 0 : numFaces * 3; in loadModelData() local
233 final short[] finalIndices = new short[numIndices]; in loadModelData()
235 if (numIndices > 0) { in loadModelData()
236 for (int i = 0; i < numIndices; i++) { in loadModelData()
/external/libgdx/extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/
DbtShapeHull.java77 public int numIndices() { in numIndices() method in btShapeHull
/external/autotest/client/deps/webgl_mpd/src/resources/
DJ3DI.js232 retval.numIndices = indices.length;
311 retval.numIndices = indexData.length;
507 obj.numIndices = indexArray.length;
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionDispatch/
DbtCollisionWorldImporter.cpp803 int numIndices = curNewPart->m_numTriangles * 3; in createStridingMeshInterfaceData() local
811 curNewPart->m_indices32 = new btIntIndexData[numIndices]; in createStridingMeshInterfaceData()
812 memcpy(curNewPart->m_indices32,curPart->m_indices32,sizeof(btIntIndexData) * numIndices); in createStridingMeshInterfaceData()
829 curNewPart->m_indices16 = new btShortIntIndexData[numIndices]; in createStridingMeshInterfaceData()
830 memcpy(curNewPart->m_indices16,curPart->m_indices16,sizeof(btShortIntIndexData) * numIndices); in createStridingMeshInterfaceData()
/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/skia/src/gpu/batches/
DGrAALinearizingConvexPathRenderer.cpp91 for (int i = 0; i < tess.numIndices(); ++i) { in extract_verts()
228 int currentIndices = tess.numIndices(); in onPrepareDraws()
DGrAAConvexTessellator.h49 int numIndices() const { return fIndices.count(); } in numIndices() function
DGrAAConvexPathRenderer.cpp718 for (int i = 0; i < tess.numIndices(); ++i) { in extract_verts()
830 uint16_t* idxs = target->makeIndexSpace(tess.numIndices(), &indexBuffer, &firstIndex); in prepareLinesOnlyDraws()
842 tess.numPts(), tess.numIndices()); in prepareLinesOnlyDraws()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/
DModel.java236 int numIndices = 0; in convertMesh() local
238 numIndices += part.indices.length; in convertMesh()
243 Mesh mesh = new Mesh(true, numVertices, numIndices, attributes); in convertMesh()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/
DHeightField.java144 final int numIndices = (width - 1) * (height - 1) * 6; in HeightField() local
146 this.mesh = new Mesh(isStatic, numVertices, numIndices, attributes); in HeightField()
/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/libgdx/extensions/gdx-bullet/jni/src/extras/Serialize/BulletWorldImporter/
DbtWorldImporter.cpp1569 int numIndices = curNewPart->m_numTriangles * 3; in createStridingMeshInterfaceData() local
1577 curNewPart->m_indices32 = new btIntIndexData[numIndices]; in createStridingMeshInterfaceData()
1578 memcpy(curNewPart->m_indices32,curPart->m_indices32,sizeof(btIntIndexData) * numIndices); in createStridingMeshInterfaceData()
1595 curNewPart->m_indices16 = new btShortIntIndexData[numIndices]; in createStridingMeshInterfaceData()
1596 memcpy(curNewPart->m_indices16,curPart->m_indices16,sizeof(btShortIntIndexData) * numIndices); in createStridingMeshInterfaceData()

12