/external/deqp/framework/referencerenderer/ |
D | rrPrimitiveAssembler.hpp | 80 …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 …]
|
D | rrPrimitivePacket.cpp | 31 GeometryEmitter::GeometryEmitter (VertexPacketAllocator& vpalloc, size_t numVertices) in GeometryEmitter() argument 34 , m_maxVertices (numVertices) in GeometryEmitter()
|
D | rrPrimitivePacket.hpp | 56 GeometryEmitter (VertexPacketAllocator& vpalloc, size_t numVertices);
|
D | rrRenderer.cpp | 1386 …rTarget, const Program& program, VertexPacket* const* vertices, size_t numVertices, VertexPacketAl… in drawGeometryShaderOutputAsPrimitives() argument 1390 …rimitiveCount = PrimitiveTypeTraits<DrawPrimitiveType>::Assembler::getPrimitiveCount(numVertices); in drawGeometryShaderOutputAsPrimitives() 1393 …DrawPrimitiveType>::Assembler::exec(inputPrimitives.begin(), vertices, numVertices, state.provokin… in drawGeometryShaderOutputAsPrimitives() 1473 …nderTarget, const Program& program, VertexPacket* const* vertices, int numVertices, DrawContext& d… in drawAsPrimitives() argument 1476 …rimitiveCount = PrimitiveTypeTraits<DrawPrimitiveType>::Assembler::getPrimitiveCount(numVertices); in drawAsPrimitives() 1479 …itiveType>::Assembler::exec(inputPrimitives.begin(), vertices, (size_t)numVertices, state.provokin… in drawAsPrimitives()
|
/external/deqp/framework/randomshaders/ |
D | rsgProgramExecutor.cpp | 47 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/deqp/modules/gles3/functional/ |
D | es3fRasterizerDiscardTests.cpp | 129 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 …]
|
D | es3fPrimitiveRestartTests.cpp | 309 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()
|
D | es3fShaderPrecisionTests.cpp | 360 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() 574 const int numVertices = 4; in iterate() local 593 vertexArrays.push_back(glu::va::Float("a_position", 4, numVertices, 0, &position[0])); in iterate() 594 vertexArrays.push_back(glu::va::Int32("a_in0", 1, numVertices, 0, &in0Arr[0])); in iterate() 595 vertexArrays.push_back(glu::va::Int32("a_in1", 1, numVertices, 0, &in1Arr[0])); in iterate() 768 const int numVertices = 4; in iterate() local 787 vertexArrays.push_back(glu::va::Float("a_position", 4, numVertices, 0, &position[0])); in iterate() [all …]
|
D | es3fSyncTests.cpp | 111 int numVertices = 3*numPrimitives; in generateVertices() local 112 dst.resize(numVertices * 4); in generateVertices() 114 for (int i = 0; i < numVertices; i++) in generateVertices()
|
D | es3fShaderBuiltinVarTests.cpp | 708 …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/opencv3/modules/stitching/include/opencv2/stitching/detail/ |
D | util_inl.hpp | 58 for (int i = 0; i < numVertices(); ++i) in forEach() 71 std::vector<bool> was(numVertices(), false); in walkBreadthFirst()
|
D | util.hpp | 140 int numVertices() const { return static_cast<int>(edges_.size()); } in numVertices() function in cv::detail::Graph
|
/external/deqp/modules/glshared/ |
D | glsShaderPerformanceMeasurer.cpp | 306 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()
|
D | glsFragOpInteractionCase.cpp | 79 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()
|
D | glsRandomShaderCase.cpp | 78 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()
|
D | glsLongStressCase.cpp | 991 …>& 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 …]
|
D | glsRandomShaderCase.hpp | 47 VertexArray (const rsg::ShaderInput* input, int numVertices);
|
/external/deqp/modules/gles3/stress/ |
D | es3sSyncTests.cpp | 99 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/ |
D | es3pShaderControlStatementTests.cpp | 309 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()
|
D | es3pBufferDataUploadTests.cpp | 219 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/ |
D | es2pShaderControlStatementTests.cpp | 305 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/deqp/external/vulkancts/modules/vulkan/ |
D | vktSynchronization.cpp | 565 deUint32 numVertices; member 595 , numVertices (0) in TestContext() 696 bufferParameters.size = testContext.numVertices * sizeof(tcu::Vec4); in generateWork() 922 renderInfo.vertexBufferSize = testContext.numVertices; in generateWork() 1014 testContext.numVertices = DE_LENGTH_OF_ARRAY(vertices); in testFences() 1154 testContext1.numVertices = DE_LENGTH_OF_ARRAY(vertices1); in testSemaphores() 1159 testContext2.numVertices = DE_LENGTH_OF_ARRAY(vertices2); in testSemaphores() 1275 testContext.numVertices = DE_LENGTH_OF_ARRAY(vertices1); in testEvents()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineEarlyFragmentTests.cpp | 867 const deUint32 numVertices = 6; in iterate() local 868 const VkDeviceSize vertexBufferSizeBytes = sizeof(tcu::Vec4) * numVertices; in iterate() 973 vk.cmdDraw(*cmdBuffer, numVertices, 1u, 0u, 0u); in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/query_pool/ |
D | vktQueryPoolOcclusionTests.cpp | 48 …StateObjects (const vk::DeviceInterface&vk, vkt::Context &context, const int numVertices, vk::VkPr… 74 …bjects (const vk::DeviceInterface&vk, vkt::Context &context, const int numVertices, vk::VkPrimitiv… in StateObjects() argument 237 const size_t kBufferSize = numVertices * sizeof(tcu::Vec4); in StateObjects()
|
/external/deqp/modules/gles31/functional/ |
D | es31fTessellationTests.cpp | 309 …t32 tfPrimTypeGL, int numBindings, const glu::VertexArrayBinding* bindings, int numVertices) const; 334 …nt32 tfPrimTypeGL, int numBindings, const glu::VertexArrayBinding* bindings, int numVertices) const in renderAndGetPrimitives() 347 glu::draw(m_renderCtx, programGL, numBindings, bindings, glu::pr::Patches(numVertices)); in renderAndGetPrimitives() 1708 const int numVertices = (gridWidth+1)*(gridHeight+1); in iterate() local 1711 const int totalNumPosComps = numPosCompsPerVertex*numVertices; in iterate() 1717 gridTessParams.reserve(numVertices); in iterate() 1726 gridTessParams.push_back((float)(i*(gridWidth+1) + j) / (float)(numVertices-1)); in iterate() 1778 DE_ASSERT((int)gridTessParams.size() == numVertices); in iterate() 1791 glu::va::Float("in_v_position", numPosCompsPerVertex, numVertices, 0, &gridPosComps[0]), in iterate() 1792 glu::va::Float("in_v_tessParam", 1, numVertices, 0, &gridTessParams[0]) in iterate() [all …]
|