Home
last modified time | relevance | path

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

/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);
DrrRenderer.cpp1386 …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/
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/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()
Des3fFragmentOutputTests.cpp490 const int numVertices = gridWidth*gridHeight; in iterate() local
496 vector<float> positions (numVertices*4); in iterate()
571 inputs[curInVec].resize(numVertices*numScalars); in iterate()
/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()
471 const int numVertices = 4; in iterate() local
472 VertexDataStorage vertexData (m_vertexShader.getInputs(), numVertices); in iterate()
DglsRandomShaderCase.cpp74 VertexArray::VertexArray (const rsg::ShaderInput* input, int numVertices) in VertexArray() argument
76 , m_vertices (input->getVariable()->getType().getNumElements() * numVertices) in VertexArray()
147 int numVertices = (m_gridWidth+1)*(m_gridHeight+1); in init() local
154 VertexArray vtxArray(input, numVertices); in init()
159 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 …]
DglsRandomShaderCase.hpp47 VertexArray (const rsg::ShaderInput* input, int numVertices);
/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.cpp238 int numVertices; member
1552 << samples[sampleNdx].numVertices in logSampleList()
1581 << samples[sampleNdx].numVertices in logSampleList()
1614 << samples[sampleNdx].numVertices in logSampleList()
1649 << samples[sampleNdx].numVertices in logSampleList()
1685 << samples[sampleNdx].numVertices in logSampleList()
4131 m_results.back().result.numVertices = getLayeredGridNumVertices(m_results.back().scene); in init()
4359 const int numVertices = getLayeredGridNumVertices(sample.scene); in runSample() local
4386 gl.drawArrays(GL_TRIANGLES, 0, numVertices); in runSample()
4388 gl.drawElements(GL_TRIANGLES, numVertices, GL_UNSIGNED_INT, DE_NULL); in runSample()
[all …]
Des3pShaderOperatorTests.cpp846 const int numVertices = getNumVertices(m_gridSizeX, m_gridSizeY); in render() local
849 gl.drawArrays(GL_TRIANGLES, 0, numVertices); in render()
/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()
Des2pShaderOperatorTests.cpp846 const int numVertices = getNumVertices(m_gridSizeX, m_gridSizeY); in render() local
849 gl.drawArrays(GL_TRIANGLES, 0, numVertices); in render()
/external/deqp/modules/gles31/functional/
Des31fTessellationTests.cpp304 …t32 tfPrimTypeGL, int numBindings, const glu::VertexArrayBinding* bindings, int numVertices) const;
329 …nt32 tfPrimTypeGL, int numBindings, const glu::VertexArrayBinding* bindings, int numVertices) const in renderAndGetPrimitives()
342 glu::draw(m_renderCtx, programGL, numBindings, bindings, glu::pr::Patches(numVertices)); in renderAndGetPrimitives()
1702 const int numVertices = (gridWidth+1)*(gridHeight+1); in iterate() local
1705 const int totalNumPosComps = numPosCompsPerVertex*numVertices; in iterate()
1711 gridTessParams.reserve(numVertices); in iterate()
1722 gridTessParams.push_back((float)(i*(gridWidth+1) + j) / (float)(numVertices-1)); in iterate()
1774 DE_ASSERT((int)gridTessParams.size() == numVertices); in iterate()
1787 glu::va::Float("in_v_position", numPosCompsPerVertex, numVertices, 0, &gridPosComps[0]), in iterate()
1788 glu::va::Float("in_v_tessParam", 1, numVertices, 0, &gridTessParams[0]) in iterate()
[all …]