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

1 2

  /cts/suite/cts/deviceTests/opengl/jni/graphics/
Mesh.cpp 17 const int numVertices)
21 mNumVertices(numVertices) {
Mesh.h 24 const int numVertices);
GLUtils.cpp 99 int numVertices = readInt(buffer + index);
101 float* vertices = new float[numVertices * 3];
102 float* normals = new float[numVertices * 3];
103 float* texCoords = new float[numVertices * 2];
104 for (int i = 0; i < numVertices; i++) {
127 return new Mesh(vertices, normals, texCoords, numVertices);
  /external/jmonkeyengine/engine/src/bullet-native/
com_jme3_bullet_util_NativeMeshUtil.cpp 49 (JNIEnv * env, jclass cls, jobject triangleIndexBase, jobject vertexIndexBase, jint numTriangles, jint numVertices, jint vertexStride, jint triangleIndexStride) {
53 btTriangleIndexVertexArray* array = new btTriangleIndexVertexArray(numTriangles, triangles, triangleIndexStride, numVertices, vertices, vertexStride);
  /external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/
MeshCollisionShape.java 53 protected int numVertices, numTriangles, vertexStride, triangleIndexStride;
71 this.numVertices = bulletMesh.numVertices;
90 capsule.write(numVertices, "numVertices", 0);
102 numVertices = capsule.readInt("numVertices", 0);
114 bulletMesh.numVertices = numVertices;
121 TriangleIndexVertexArray tiv = new TriangleIndexVertexArray(numTriangles, triangleIndexBase, triangleIndexStride, numVertices, vertexBase, vertexStride)
    [all...]
GImpactCollisionShape.java 54 protected int numVertices, numTriangles, vertexStride, triangleIndexStride;
73 this.numVertices = bulletMesh.numVertices;
93 capsule.write(numVertices, "numVertices", 0);
106 numVertices = capsule.readInt("numVertices", 0);
118 bulletMesh.numVertices = numVertices;
125 TriangleIndexVertexArray tiv = new TriangleIndexVertexArray(numTriangles, triangleIndexBase, triangleIndexStride, numVertices, vertexBase, vertexStride)
    [all...]
  /external/deqp/framework/referencerenderer/
rrPrimitiveAssembler.hpp 80 static void exec (Iterator outputIterator, VertexPacket* const* vertices, size_t numVertices, rr::ProvokingVertex provokingConvention)
84 for (size_t ndx = 0; ndx + 2 < numVertices; ndx += 3)
97 static void exec (Iterator outputIterator, VertexPacket* const* vertices, size_t numVertices, rr::ProvokingVertex provokingConvention)
99 if (numVertices < 3)
111 if (ndx >= numVertices)
121 if (ndx >= numVertices)
142 static void exec (Iterator outputIterator, VertexPacket* const* vertices, size_t numVertices, rr::ProvokingVertex provokingConvention)
144 if (numVertices == 0)
152 for (size_t ndx = 1; ndx + 1 < numVertices; ++ndx)
205 static void exec (Iterator outputIterator, VertexPacket* const* vertices, size_t numVertices, rr::ProvokingVertex provokingConvention
    [all...]
rrPrimitivePacket.cpp 31 GeometryEmitter::GeometryEmitter (VertexPacketAllocator& vpalloc, size_t numVertices)
34 , m_maxVertices (numVertices)
rrPrimitivePacket.hpp 56 GeometryEmitter (VertexPacketAllocator& vpalloc, size_t numVertices);
  /external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/util/
NativeMeshUtil.java 50 int numVertices = mesh.getVertexCount();
72 return createTriangleIndexVertexArray(triangleIndexBase, vertexBase, numTriangles, numVertices, vertexStride, triangleIndexStride);
75 public static native long createTriangleIndexVertexArray(ByteBuffer triangleIndexBase, ByteBuffer vertexBase, int numTraingles, int numVertices, int vertextStride, int triangleIndexStride);
  /external/jmonkeyengine/engine/src/core/com/jme3/renderer/
Statistics.java 52 protected int numVertices;
102 data[0] = numVertices;
127 numVertices += mesh.getVertexCount();
197 numVertices = 0;
  /external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/
GImpactCollisionShape.java 56 protected int numVertices, numTriangles, vertexStride, triangleIndexStride;
77 numVertices = mesh.getVertexCount();
112 capsule.write(numVertices, "numVertices", 0);
125 numVertices = capsule.readInt("numVertices", 0);
137 // bulletMesh.numVertices = numVertices;
144 // TriangleIndexVertexArray tiv = new TriangleIndexVertexArray(numTriangles, triangleIndexBase, triangleIndexStride, numVertices, vertexBase, vertexStride);
150 meshId = NativeMeshUtil.createTriangleIndexVertexArray(triangleIndexBase, vertexBase, numTriangles, numVertices, vertexStride, triangleIndexStride);
    [all...]
MeshCollisionShape.java 56 protected int numVertices, numTriangles, vertexStride, triangleIndexStride;
74 numVertices = mesh.getVertexCount();
108 capsule.write(numVertices, "numVertices", 0);
120 numVertices = capsule.readInt("numVertices", 0);
132 // bulletMesh.numVertices = numVertices;
139 // TriangleIndexVertexArray tiv = new TriangleIndexVertexArray(numTriangles, triangleIndexBase, triangleIndexStride, numVertices, vertexBase, vertexStride);
143 meshId = NativeMeshUtil.createTriangleIndexVertexArray(triangleIndexBase, vertexBase, numTriangles, numVertices, vertexStride, triangleIndexStride);
    [all...]
  /external/deqp/framework/randomshaders/
rsgProgramExecutor.cpp 47 VaryingStorage (const VariableType& type, int numVertices);
57 VaryingStorage::VaryingStorage (const VariableType& type, int numVertices)
58 : m_value(type.getScalarSize()*numVertices)
75 VaryingStore (int numVertices);
85 VaryingStore::VaryingStore (int numVertices)
86 : m_numVertices(numVertices)
215 int numVertices = gridVtxWidth*gridVtxHeight;
217 VaryingStore varyingStore(numVertices);
222 int numPackets = numVertices + ((numVertices%EXEC_VEC_WIDTH) ? 1 : 0)
    [all...]
  /external/deqp/modules/gles3/functional/
es3fRasterizerDiscardTests.cpp 129 int numVertices;
133 case GL_POINTS: numVertices = numPrimitives; break;
134 case GL_LINES: numVertices = 2*numPrimitives; break;
135 case GL_LINE_STRIP: numVertices = numPrimitives+1; break;
136 case GL_LINE_LOOP: numVertices = numPrimitives+2; break;
137 case GL_TRIANGLES: numVertices = 3*numPrimitives; break;
138 case GL_TRIANGLE_STRIP: numVertices = numPrimitives+2; break;
139 case GL_TRIANGLE_FAN: numVertices = numPrimitives+2; break;
142 numVertices = 0;
145 dst.resize(numVertices * 4)
    [all...]
es3fPrimitiveRestartTests.cpp 309 int numVertices = row*numCols + col + 1;
311 for (int i = 0; i < numVertices; i++)
313 float fx = centerX + 0.9f * deFloatCos((float)i*2.0f*DE_PI / (float)numVertices) / (float)numCols;
314 float fy = centerY + 0.9f * deFloatSin((float)i*2.0f*DE_PI / (float)numVertices) / (float)numRows;
340 int numVertices = stripNdx + 1;
342 for (int i = 0; i < numVertices; i++)
412 int numVertices = rowNdx + 1;
414 for (int i = 0; i < numVertices; i++)
es3fSyncTests.cpp 111 int numVertices = 3*numPrimitives;
112 dst.resize(numVertices * 4);
114 for (int i = 0; i < numVertices; i++)
es3fShaderPrecisionTests.cpp 360 const int numVertices = 4;
377 vertexArrays.push_back(glu::va::Float("a_position", 4, numVertices, 0, &position[0]));
378 vertexArrays.push_back(glu::va::Float("a_in0", 1, numVertices, 0, &in0Arr[0]));
379 vertexArrays.push_back(glu::va::Float("a_in1", 1, numVertices, 0, &in1Arr[0]));
579 const int numVertices = 4;
598 vertexArrays.push_back(glu::va::Float("a_position", 4, numVertices, 0, &position[0]));
599 vertexArrays.push_back(glu::va::Int32("a_in0", 1, numVertices, 0, &in0Arr[0]));
600 vertexArrays.push_back(glu::va::Int32("a_in1", 1, numVertices, 0, &in1Arr[0]));
773 const int numVertices = 4;
792 vertexArrays.push_back(glu::va::Float("a_position", 4, numVertices, 0, &position[0]))
    [all...]
es3fShaderBuiltinVarTests.cpp 708 void renderReference (const tcu::PixelBufferAccess& dst, const int numVertices, const deUint16* const indices, const tcu::Vec4* const positions, const tcu::Vec4* const colors);
751 const int numVertices = MAX_VERTICES;
753 const int numQuads = numVertices/6 + (numVertices%6 != 0 ? 1 : 0);
795 m_colors.resize(numVertices);
822 m_positions.resize(numVertices);
823 DE_ASSERT(numVertices%3 == 0);
824 for (int vtxNdx = 0; vtxNdx < numVertices; vtxNdx += 3)
932 void VertexIDCase::renderReference (const tcu::PixelBufferAccess& dst, const int numVertices, const deUint16* const indices, const tcu::Vec4* const positions, const tcu::Vec4* const colors)
959 rr::PrimitiveList(rr::PRIMITIVETYPE_TRIANGLES, numVertices, rr::DrawIndices(indices))))
    [all...]
  /external/deqp/modules/glshared/
glsRandomShaderCase.hpp 47 VertexArray (const rsg::ShaderInput* input, int numVertices);
glsShaderPerformanceMeasurer.cpp 306 deInt64 numVertices = (deInt64)getNumVertices(m_gridSizeX, m_gridSizeY) * numQuadGrids;
308 double mvertPerSecond = (double)numVertices / (double)totalTime;
326 deInt64 numVertices = (deInt64)getNumVertices(m_gridSizeX, m_gridSizeY) * numQuadGrids;
328 double mvertPerSecond = (double)numVertices / (double)totalTime;
334 << TestLog::Float("FragmentsPerVertices", "Vertex-fragment ratio", "Fragments/Vertices", QP_KEY_TAG_NONE, (float)numPixels / (float)numVertices)
glsFragOpInteractionCase.cpp 79 static void computeVertexLayout (const vector<rsg::ShaderInput*>& attributes, int numVertices, vector<glu::VertexArrayBinding>* layout, int* stride)
94 layout->push_back(glu::va::Float(var->getName(), numComps, numVertices, 0 /* computed later */, (const float*)(deUintptr)curOffset));
108 VertexDataStorage (const vector<rsg::ShaderInput*>& attributes, int numVertices);
124 VertexDataStorage::VertexDataStorage (const vector<rsg::ShaderInput*>& attributes, int numVertices)
127 computeVertexLayout(attributes, numVertices, &m_layout, &stride);
128 m_data.resize(stride * numVertices);
516 const int numVertices = 4;
517 VertexDataStorage vertexData (m_vertexShader.getInputs(), numVertices);
glsRandomShaderCase.cpp 78 VertexArray::VertexArray (const rsg::ShaderInput* input, int numVertices)
80 , m_vertices (input->getVariable()->getType().getNumElements() * numVertices)
155 int numVertices = (m_gridWidth+1)*(m_gridHeight+1);
162 VertexArray vtxArray(input, numVertices);
167 for (int vtxNdx = 0; vtxNdx < numVertices; vtxNdx++)
  /external/deqp/modules/gles3/stress/
es3sSyncTests.cpp 99 int numVertices = 3*numPrimitives;
100 dst.resize(numVertices * 4);
102 for (int i = 0; i < numVertices; i++)
  /external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/util/
Converter.java 237 jBulletIndexedMesh.numVertices = mesh.getVertexCount();
260 jmeMesh.setBuffer(Type.Position, 3, BufferUtils.createFloatBuffer(mesh.numVertices * 3));
269 for (int i = 0; i < mesh.numVertices * 3; i++) {

Completed in 410 milliseconds

1 2