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

1 2

  /cts/tests/openglperf2/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/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/opencv3/modules/stitching/include/opencv2/stitching/detail/
util_inl.hpp 58 for (int i = 0; i < numVertices(); ++i)
71 std::vector<bool> was(numVertices(), false);
util.hpp 140 int numVertices() const { return static_cast<int>(edges_.size()); }
  /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]));
574 const int numVertices = 4;
593 vertexArrays.push_back(glu::va::Float("a_position", 4, numVertices, 0, &position[0]));
594 vertexArrays.push_back(glu::va::Int32("a_in0", 1, numVertices, 0, &in0Arr[0]));
595 vertexArrays.push_back(glu::va::Int32("a_in1", 1, numVertices, 0, &in1Arr[0]));
768 const int numVertices = 4;
787 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);
glsLongStressCase.cpp     [all...]
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/deqp/modules/gles3/performance/
es3pBufferDataUploadTests.cpp 219 int numVertices;
    [all...]
es3pShaderControlStatementTests.cpp 309 int numVertices = (getGridWidth() + 1) * (getGridHeight() + 1);
312 m_comparisonValueArray.resize(numVertices * numComponents);
589 int numVertices = (getGridWidth() + 1) * (getGridHeight() + 1);
592 m_boundArray.resize(numVertices * numComponents);
  /external/deqp/external/vulkancts/modules/vulkan/
vktSynchronization.cpp 565 deUint32 numVertices;
595 , numVertices (0)
696 bufferParameters.size = testContext.numVertices * sizeof(tcu::Vec4);
    [all...]
  /external/deqp/modules/gles2/performance/
es2pShaderControlStatementTests.cpp 305 int numVertices = (getGridWidth() + 1) * (getGridHeight() + 1);
308 m_comparisonValueArray.resize(numVertices * numComponents);
581 int numVertices = (getGridWidth() + 1) * (getGridHeight() + 1);
584 m_boundArray.resize(numVertices * numComponents);
  /external/deqp/external/vulkancts/modules/vulkan/pipeline/
vktPipelineEarlyFragmentTests.cpp     [all...]

Completed in 1224 milliseconds

1 2