Home
last modified time | relevance | path

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

12

/external/deqp/framework/referencerenderer/
DrrPrimitiveAssembler.hpp80 …static void exec (Iterator outputIterator, VertexPacket* const* vertices, size_t numVertices, rr::… in exec()
84 for (size_t ndx = 0; ndx + 2 < numVertices; ndx += 3) in exec()
97 …static void exec (Iterator outputIterator, VertexPacket* const* vertices, size_t numVertices, rr::… in exec()
99 if (numVertices < 3) in exec()
111 if (ndx >= numVertices) in exec()
121 if (ndx >= numVertices) in exec()
142 …static void exec (Iterator outputIterator, VertexPacket* const* vertices, size_t numVertices, rr::… in exec()
144 if (numVertices == 0) in exec()
152 for (size_t ndx = 1; ndx + 1 < numVertices; ++ndx) in exec()
205 …static void exec (Iterator outputIterator, VertexPacket* const* vertices, size_t numVertices, rr::… in exec()
[all …]
DrrPrimitivePacket.cpp31 GeometryEmitter::GeometryEmitter (VertexPacketAllocator& vpalloc, size_t numVertices) in GeometryEmitter() argument
34 , m_maxVertices (numVertices) in GeometryEmitter()
DrrPrimitivePacket.hpp56 GeometryEmitter (VertexPacketAllocator& vpalloc, size_t numVertices);
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/
DMeshCollisionShape.java53 protected int numVertices, numTriangles, vertexStride, triangleIndexStride; field in MeshCollisionShape
71 this.numVertices = bulletMesh.numVertices; in createCollisionMesh()
90 capsule.write(numVertices, "numVertices", 0); in write()
102 numVertices = capsule.readInt("numVertices", 0); in read()
114 bulletMesh.numVertices = numVertices; in createShape()
121 …IndexVertexArray(numTriangles, triangleIndexBase, triangleIndexStride, numVertices, vertexBase, ve… in createShape()
DGImpactCollisionShape.java54 protected int numVertices, numTriangles, vertexStride, triangleIndexStride; field in GImpactCollisionShape
73 this.numVertices = bulletMesh.numVertices; in createCollisionMesh()
93 capsule.write(numVertices, "numVertices", 0); in write()
106 numVertices = capsule.readInt("numVertices", 0); in read()
118 bulletMesh.numVertices = numVertices; in createShape()
125 …IndexVertexArray(numTriangles, triangleIndexBase, triangleIndexStride, numVertices, vertexBase, ve… in createShape()
/external/deqp/framework/randomshaders/
DrsgProgramExecutor.cpp47 VaryingStorage (const VariableType& type, int numVertices);
57 VaryingStorage::VaryingStorage (const VariableType& type, int numVertices) in VaryingStorage() argument
58 : m_value(type.getScalarSize()*numVertices) in VaryingStorage()
75 VaryingStore (int numVertices);
85 VaryingStore::VaryingStore (int numVertices) in VaryingStore() argument
86 : m_numVertices(numVertices) in VaryingStore()
215 int numVertices = gridVtxWidth*gridVtxHeight; in execute() local
217 VaryingStore varyingStore(numVertices); in execute()
222 int numPackets = numVertices + ((numVertices%EXEC_VEC_WIDTH) ? 1 : 0); in execute()
235 int packetEnd = deMin32((packetNdx+1)*EXEC_VEC_WIDTH, numVertices); in execute()
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/
DGImpactCollisionShape.java56 protected int numVertices, numTriangles, vertexStride, triangleIndexStride; field in GImpactCollisionShape
77 numVertices = mesh.getVertexCount(); in createCollisionMesh()
112 capsule.write(numVertices, "numVertices", 0); in write()
125 numVertices = capsule.readInt("numVertices", 0); in read()
150 …eTriangleIndexVertexArray(triangleIndexBase, vertexBase, numTriangles, numVertices, vertexStride, … in createShape()
DMeshCollisionShape.java56 protected int numVertices, numTriangles, vertexStride, triangleIndexStride; field in MeshCollisionShape
74 numVertices = mesh.getVertexCount(); in createCollisionMesh()
108 capsule.write(numVertices, "numVertices", 0); in write()
120 numVertices = capsule.readInt("numVertices", 0); in read()
143 …eTriangleIndexVertexArray(triangleIndexBase, vertexBase, numTriangles, numVertices, vertexStride, … in createShape()
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/
DStatistics.java52 protected int numVertices; field in Statistics
102 data[0] = numVertices; in getData()
127 numVertices += mesh.getVertexCount(); in onMeshDrawn()
197 numVertices = 0; in clearFrame()
/external/deqp/modules/gles3/functional/
Des3fRasterizerDiscardTests.cpp129 int numVertices; in generateVertices() local
133 case GL_POINTS: numVertices = numPrimitives; break; in generateVertices()
134 case GL_LINES: numVertices = 2*numPrimitives; break; in generateVertices()
135 case GL_LINE_STRIP: numVertices = numPrimitives+1; break; in generateVertices()
136 case GL_LINE_LOOP: numVertices = numPrimitives+2; break; in generateVertices()
137 case GL_TRIANGLES: numVertices = 3*numPrimitives; break; in generateVertices()
138 case GL_TRIANGLE_STRIP: numVertices = numPrimitives+2; break; in generateVertices()
139 case GL_TRIANGLE_FAN: numVertices = numPrimitives+2; break; in generateVertices()
142 numVertices = 0; in generateVertices()
145 dst.resize(numVertices * 4); in generateVertices()
[all …]
Des3fPrimitiveRestartTests.cpp309 int numVertices = row*numCols + col + 1; in init() local
311 for (int i = 0; i < numVertices; i++) in init()
313 … float fx = centerX + 0.9f * deFloatCos((float)i*2.0f*DE_PI / (float)numVertices) / (float)numCols; in init()
314 … float fy = centerY + 0.9f * deFloatSin((float)i*2.0f*DE_PI / (float)numVertices) / (float)numRows; in init()
340 int numVertices = stripNdx + 1; in init() local
342 for (int i = 0; i < numVertices; i++) in init()
412 int numVertices = rowNdx + 1; in init() local
414 for (int i = 0; i < numVertices; i++) in init()
Des3fShaderPrecisionTests.cpp360 const int numVertices = 4; in iterate() local
377 vertexArrays.push_back(glu::va::Float("a_position", 4, numVertices, 0, &position[0])); in iterate()
378 vertexArrays.push_back(glu::va::Float("a_in0", 1, numVertices, 0, &in0Arr[0])); in iterate()
379 vertexArrays.push_back(glu::va::Float("a_in1", 1, numVertices, 0, &in1Arr[0])); in iterate()
579 const int numVertices = 4; in iterate() local
598 vertexArrays.push_back(glu::va::Float("a_position", 4, numVertices, 0, &position[0])); in iterate()
599 vertexArrays.push_back(glu::va::Int32("a_in0", 1, numVertices, 0, &in0Arr[0])); in iterate()
600 vertexArrays.push_back(glu::va::Int32("a_in1", 1, numVertices, 0, &in1Arr[0])); in iterate()
773 const int numVertices = 4; in iterate() local
792 vertexArrays.push_back(glu::va::Float("a_position", 4, numVertices, 0, &position[0])); in iterate()
[all …]
Des3fSyncTests.cpp111 int numVertices = 3*numPrimitives; in generateVertices() local
112 dst.resize(numVertices * 4); in generateVertices()
114 for (int i = 0; i < numVertices; i++) in generateVertices()
Des3fShaderBuiltinVarTests.cpp708 …void renderReference (const tcu::PixelBufferAccess& dst, const int numVertices, const deUint1…
751 const int numVertices = MAX_VERTICES; in init() local
753 const int numQuads = numVertices/6 + (numVertices%6 != 0 ? 1 : 0); in init()
795 m_colors.resize(numVertices); in init()
822 m_positions.resize(numVertices); in init()
823 DE_ASSERT(numVertices%3 == 0); in init()
824 for (int vtxNdx = 0; vtxNdx < numVertices; vtxNdx += 3) in init()
932 void VertexIDCase::renderReference (const tcu::PixelBufferAccess& dst, const int numVertices, const… in renderReference() argument
959 rr::PrimitiveList(rr::PRIMITIVETYPE_TRIANGLES, numVertices, rr::DrawIndices(indices)))); in renderReference()
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/util/
DNativeMeshUtil.java50 int numVertices = mesh.getVertexCount(); in getTriangleIndexVertexArray() local
72 …eTriangleIndexVertexArray(triangleIndexBase, vertexBase, numTriangles, numVertices, vertexStride, … in getTriangleIndexVertexArray()
75 …Buffer triangleIndexBase, ByteBuffer vertexBase, int numTraingles, int numVertices, int vertextStr… in createTriangleIndexVertexArray() argument
/external/jmonkeyengine/engine/src/bullet-native/
Dcom_jme3_bullet_util_NativeMeshUtil.cpp49 …ct triangleIndexBase, jobject vertexIndexBase, jint numTriangles, jint numVertices, jint vertexStr… in Java_com_jme3_bullet_util_NativeMeshUtil_createTriangleIndexVertexArray() argument
53 …TriangleIndexVertexArray(numTriangles, triangles, triangleIndexStride, numVertices, vertices, vert… in Java_com_jme3_bullet_util_NativeMeshUtil_createTriangleIndexVertexArray()
/external/deqp/modules/glshared/
DglsShaderPerformanceMeasurer.cpp306 deInt64 numVertices = (deInt64)getNumVertices(m_gridSizeX, m_gridSizeY) * numQuadGrids; in iterate() local
308 double mvertPerSecond = (double)numVertices / (double)totalTime; in iterate()
326 deInt64 numVertices = (deInt64)getNumVertices(m_gridSizeX, m_gridSizeY) * numQuadGrids; in logMeasurementInfo() local
328 double mvertPerSecond = (double)numVertices / (double)totalTime; in logMeasurementInfo()
334 …x-fragment ratio", "Fragments/Vertices", QP_KEY_TAG_NONE, (float)numPixels / (float)numVertices) in logMeasurementInfo()
DglsFragOpInteractionCase.cpp79 static void computeVertexLayout (const vector<rsg::ShaderInput*>& attributes, int numVertices, vect… in computeVertexLayout() argument
94 …layout->push_back(glu::va::Float(var->getName(), numComps, numVertices, 0 /* computed later */, (c… in computeVertexLayout()
108 VertexDataStorage (const vector<rsg::ShaderInput*>& attributes, int numVertices);
124 VertexDataStorage::VertexDataStorage (const vector<rsg::ShaderInput*>& attributes, int numVertices) in VertexDataStorage() argument
127 computeVertexLayout(attributes, numVertices, &m_layout, &stride); in VertexDataStorage()
128 m_data.resize(stride * numVertices); in VertexDataStorage()
516 const int numVertices = 4; in iterate() local
517 VertexDataStorage vertexData (m_vertexShader.getInputs(), numVertices); in iterate()
DglsRandomShaderCase.cpp78 VertexArray::VertexArray (const rsg::ShaderInput* input, int numVertices) in VertexArray() argument
80 , m_vertices (input->getVariable()->getType().getNumElements() * numVertices) in VertexArray()
155 int numVertices = (m_gridWidth+1)*(m_gridHeight+1); in init() local
162 VertexArray vtxArray(input, numVertices); in init()
167 for (int vtxNdx = 0; vtxNdx < numVertices; vtxNdx++) in init()
DglsLongStressCase.cpp991 …>& attrDataBuf, int& dataSizeBytesDst, const VarSpec& attrSpec, const int numVertices, Random& rnd) in generateRandomAttribData() argument
1001 dataSizeBytesDst = numComponents*componentSize*numVertices; in generateRandomAttribData()
1009 for (int vtxNdx = 0; vtxNdx < numVertices; vtxNdx++) in generateRandomAttribData()
1019 for (int vtxNdx = 0; vtxNdx < numVertices; vtxNdx++) in generateRandomAttribData()
1027 …>& attrDataBuf, int& dataSizeBytesDst, const VarSpec& attrSpec, const int numVertices, Random& rnd) in generateRandomPositionAttribData() argument
1033 … offsetInBuf = generateRandomAttribData(attrDataBuf, dataSizeBytesDst, attrSpec, numVertices, rnd); in generateRandomPositionAttribData()
1039 for (int vtxNdx = 0; vtxNdx < numVertices; vtxNdx++) in generateRandomPositionAttribData()
1042 for (int triNdx = 0; triNdx < numVertices-2; triNdx++) in generateRandomPositionAttribData()
1063 …s, const vector<VarSpec>& attrSpecs, const string& posAttrName, const int numVertices, Random& rnd) in generateAttribs() argument
1072 …k(generateRandomPositionAttribData(attrDataBuf, attrDataSizes[i], attrSpecs[i], numVertices, rnd)); in generateAttribs()
[all …]
/external/deqp/modules/gles3/stress/
Des3sSyncTests.cpp99 int numVertices = 3*numPrimitives; in generateVertices() local
100 dst.resize(numVertices * 4); in generateVertices()
102 for (int i = 0; i < numVertices; i++) in generateVertices()
/external/deqp/modules/gles3/performance/
Des3pShaderControlStatementTests.cpp309 int numVertices = (getGridWidth() + 1) * (getGridHeight() + 1); in init() local
312 m_comparisonValueArray.resize(numVertices * numComponents); in init()
589 int numVertices = (getGridWidth() + 1) * (getGridHeight() + 1); in init() local
592 m_boundArray.resize(numVertices * numComponents); in init()
Des3pBufferDataUploadTests.cpp219 int numVertices; member
1533 << samples[sampleNdx].numVertices in logSampleList()
1562 << samples[sampleNdx].numVertices in logSampleList()
1595 << samples[sampleNdx].numVertices in logSampleList()
1630 << samples[sampleNdx].numVertices in logSampleList()
1666 << samples[sampleNdx].numVertices in logSampleList()
4112 m_results.back().result.numVertices = getLayeredGridNumVertices(m_results.back().scene); in init()
4340 const int numVertices = getLayeredGridNumVertices(sample.scene); in runSample() local
4366 gl.drawArrays(GL_TRIANGLES, 0, numVertices); in runSample()
4368 gl.drawElements(GL_TRIANGLES, numVertices, GL_UNSIGNED_INT, DE_NULL); in runSample()
[all …]
/external/deqp/modules/gles2/performance/
Des2pShaderControlStatementTests.cpp305 int numVertices = (getGridWidth() + 1) * (getGridHeight() + 1); in init() local
308 m_comparisonValueArray.resize(numVertices * numComponents); in init()
581 int numVertices = (getGridWidth() + 1) * (getGridHeight() + 1); in init() local
584 m_boundArray.resize(numVertices * numComponents); in init()
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/util/
DConverter.java237 jBulletIndexedMesh.numVertices = mesh.getVertexCount(); in convert()
260 jmeMesh.setBuffer(Type.Position, 3, BufferUtils.createFloatBuffer(mesh.numVertices * 3)); in convert()
269 for (int i = 0; i < mesh.numVertices * 3; i++) { in convert()

12