Home
last modified time | relevance | path

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

123

/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/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.cpp339 const int numVertices = 4; in iterate() local
356 vertexArrays.push_back(glu::va::Float("a_position", 4, numVertices, 0, &position[0])); in iterate()
357 vertexArrays.push_back(glu::va::Float("a_in0", 1, numVertices, 0, &in0Arr[0])); in iterate()
358 vertexArrays.push_back(glu::va::Float("a_in1", 1, numVertices, 0, &in1Arr[0])); in iterate()
553 const int numVertices = 4; in iterate() local
572 vertexArrays.push_back(glu::va::Float("a_position", 4, numVertices, 0, &position[0])); in iterate()
573 vertexArrays.push_back(glu::va::Int32("a_in0", 1, numVertices, 0, &in0Arr[0])); in iterate()
574 vertexArrays.push_back(glu::va::Int32("a_in1", 1, numVertices, 0, &in1Arr[0])); in iterate()
747 const int numVertices = 4; in iterate() local
766 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.cpp729 …void renderReference (const tcu::PixelBufferAccess& dst, const int numVertices, const deUint1…
772 const int numVertices = MAX_VERTICES; in init() local
774 const int numQuads = numVertices/6 + (numVertices%6 != 0 ? 1 : 0); in init()
816 m_colors.resize(numVertices); in init()
843 m_positions.resize(numVertices); in init()
844 DE_ASSERT(numVertices%3 == 0); in init()
845 for (int vtxNdx = 0; vtxNdx < numVertices; vtxNdx += 3) in init()
953 void VertexIDCase::renderReference (const tcu::PixelBufferAccess& dst, const int numVertices, const… in renderReference() argument
980 rr::PrimitiveList(rr::PRIMITIVETYPE_TRIANGLES, numVertices, rr::DrawIndices(indices)))); in renderReference()
/external/deqp/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessVertexAccessTests.cpp60 deUint32 numVertices,
86 deUint32 numVertices,
130 deUint32 numVertices,
198 deUint32 numVertices,
216 deUint32 numVertices,
237 deUint32 numVertices, in VertexAccessTest() argument
244 , m_numVertices (numVertices) in VertexAccessTest()
347 deUint32 numVertices, in DrawAccessTest() argument
350 …ext, name, description, inputFormat, numVertexValues, numInstanceValues, numVertices, numInstances) in DrawAccessTest()
428 deUint32 numVertices, in VertexAccessInstance() argument
[all …]
/external/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/rendering/
DBackgroundRenderer.java83 int numVertices = 4; in createOnGlThread() local
84 if (numVertices != QUAD_COORDS.length / COORDS_PER_VERTEX) { in createOnGlThread()
95 ByteBuffer.allocateDirect(numVertices * TEXCOORDS_PER_VERTEX * FLOAT_SIZE); in createOnGlThread()
102 ByteBuffer.allocateDirect(numVertices * TEXCOORDS_PER_VERTEX * FLOAT_SIZE); in createOnGlThread()
/external/skqp/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/rendering/
DBackgroundRenderer.java83 int numVertices = 4; in createOnGlThread() local
84 if (numVertices != QUAD_COORDS.length / COORDS_PER_VERTEX) { in createOnGlThread()
95 ByteBuffer.allocateDirect(numVertices * TEXCOORDS_PER_VERTEX * FLOAT_SIZE); in createOnGlThread()
102 ByteBuffer.allocateDirect(numVertices * TEXCOORDS_PER_VERTEX * FLOAT_SIZE); in createOnGlThread()
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationCommonEdgeTests.cpp127 const int numVertices = (caseDef.primitiveType == TESSPRIMITIVETYPE_TRIANGLES ? 3 : 4); in initPrograms() local
134 << "layout(vertices = " << numVertices << ") out;\n" in initPrograms()
263 const int numVertices = (gridWidth+1)*(gridHeight+1); in test() local
266 const int totalNumPosComps = numPosCompsPerVertex*numVertices; in test()
269 gridTessParams.reserve(numVertices); in test()
278 gridTessParams.push_back((float)(i*(gridWidth+1) + j) / (float)(numVertices-1)); in test()
325 DE_ASSERT(static_cast<int>(gridTessParams.size()) == numVertices); in test()
/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 …]
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/swiftshader/src/D3D9/
DDirect3DDevice9Ex.cpp229 …IVETYPE type, int baseVertexIndex, unsigned int minIndex, unsigned int numVertices, unsigned int s… in DrawIndexedPrimitive() argument
231 …d, unsigned int primitiveCount = %d", type, baseVertexIndex, minIndex, numVertices, startIndex, pr… in DrawIndexedPrimitive()
233 …return Direct3DDevice9::DrawIndexedPrimitive(type, baseVertexIndex, minIndex, numVertices, startIn… in DrawIndexedPrimitive()
236 …PrimitiveUP(D3DPRIMITIVETYPE type, unsigned int minIndex, unsigned int numVertices, unsigned int p… in DrawIndexedPrimitiveUP() argument
238 … = 0x%0.8p, unsigned int vertexStreamZeroStride = %d", type, minIndex, numVertices, primitiveCount… in DrawIndexedPrimitiveUP()
240 …return Direct3DDevice9::DrawIndexedPrimitiveUP(type, minIndex, numVertices, primitiveCount, indexD… in DrawIndexedPrimitiveUP()
/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/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/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationSmokeTests.cpp543 deUint32 numVertices; member
573 , numVertices (0) in TestContext()
674 bufferParameters.size = testContext.numVertices * sizeof(tcu::Vec4); in generateWork()
904 renderInfo.vertexBufferSize = testContext.numVertices; in generateWork()
995 testContext.numVertices = DE_LENGTH_OF_ARRAY(vertices); in testFences()
1118 testContext1.numVertices = DE_LENGTH_OF_ARRAY(vertices1); in testSemaphores()
1123 testContext2.numVertices = DE_LENGTH_OF_ARRAY(vertices2); in testSemaphores()
1215 testContext.numVertices = DE_LENGTH_OF_ARRAY(vertices1); in testEvents()
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsEarlyFragmentTests.cpp374 const deUint32 numVertices = 6; in iterate() local
375 const VkDeviceSize vertexBufferSizeBytes = sizeof(tcu::Vec4) * numVertices; in iterate()
481 vk.cmdDraw(*cmdBuffer, numVertices, 1u, 0u, 0u); in iterate()

123