Home
last modified time | relevance | path

Searched refs:numQuads (Results 1 – 13 of 13) sorted by relevance

/external/deqp/modules/gles2/functional/
Des2fBufferTestUtil.cpp370 static void renderQuadGridReference (tcu::Surface& dst, int numQuads, int rowLength, const deUint8*… in renderQuadGridReference() argument
374 …dst.setSize(rowLength*VERIFY_QUAD_SIZE, (numQuads/rowLength + (numQuads%rowLength != 0 ? 1 : 0))*V… in renderQuadGridReference()
379 for (int quadNdx = 0; quadNdx < numQuads; quadNdx++) in renderQuadGridReference()
450 int numQuads = numBytesToVerify/numBytesInQuad; in verify() local
451 int numCols = de::min(maxQuadsX, numQuads); in verify()
452 int numRows = numQuads/maxQuadsX + (numQuads%maxQuadsX != 0 ? 1 : 0); in verify()
462 glDrawElements (GL_TRIANGLES, numQuads*6, GL_UNSIGNED_SHORT, &indices[0]); in verify()
464 renderQuadGridReference(reference, numQuads, numCols, refPtr + offset + curOffset); in verify()
Des2fDitheringTests.cpp478 …const int numQuads = m_testCtx.getCommandLine().getTestIterationCount() > 0 ? m_testCtx.getCommand… in iterate() local
480 DE_ASSERT(m_iteration < numQuads); in iterate()
482 const Vec4 quadColor = (float)m_iteration / (float)(numQuads-1) * m_color; in iterate()
491 if (m_iteration == numQuads - 1) in iterate()
/external/deqp/modules/glshared/
DglsBufferTestUtil.cpp531 static void renderQuadGridReference (tcu::Surface& dst, int numQuads, int rowLength, const deUint8*… in renderQuadGridReference() argument
535 …dst.setSize(rowLength*VERIFY_QUAD_SIZE, (numQuads/rowLength + (numQuads%rowLength != 0 ? 1 : 0))*V… in renderQuadGridReference()
540 for (int quadNdx = 0; quadNdx < numQuads; quadNdx++) in renderQuadGridReference()
620 int numQuads = numBytesToVerify/numBytesInQuad; in verify() local
621 int numCols = de::min(maxQuadsX, numQuads); in verify()
622 int numRows = numQuads/maxQuadsX + (numQuads%maxQuadsX != 0 ? 1 : 0); in verify()
632 glDrawElements (GL_TRIANGLES, numQuads*6, GL_UNSIGNED_SHORT, DE_NULL); in verify()
634 renderQuadGridReference(reference, numQuads, numCols, refPtr + offset + curOffset); in verify()
DglsRandomShaderCase.cpp205 int numQuads = m_gridWidth*m_gridHeight; in init() local
206 int numIndices = numQuads*6; in init()
208 for (int quadNdx = 0; quadNdx < numQuads; quadNdx++) in init()
/external/deqp/modules/gles31/functional/
Des31fAdvancedBlendTests.cpp402 const int numQuads = m_overdrawCount+1; in iterate() local
404 vector<Vec4> colors (numQuads*4); in iterate()
417 vector<Vec2> positions (numQuads*4); in iterate()
418 vector<deUint16> indices (numQuads*6); in iterate()
430 for (int quadNdx = 0; quadNdx < numQuads; quadNdx++) in iterate()
474 …gl.drawElements(GL_TRIANGLES, 6*(numQuads-1), GL_UNSIGNED_SHORT, (const void*)(deUintptr)(6*sizeof… in iterate()
478 for (int quadNdx = 1; quadNdx < numQuads; quadNdx++) in iterate()
508 for (int quadNdx = 0; quadNdx < numQuads; quadNdx++) in iterate()
/external/deqp/modules/gles3/functional/
Des3fDitheringTests.cpp476 …const int numQuads = m_testCtx.getCommandLine().getTestIterationCount() > 0 ? m_testCtx.getCommand… in iterate() local
478 DE_ASSERT(m_iteration < numQuads); in iterate()
480 const Vec4 quadColor = (float)m_iteration / (float)(numQuads-1) * m_color; in iterate()
489 if (m_iteration == numQuads - 1) in iterate()
Des3fFboMultisampleTests.cpp142 const int numQuads = 8; in render() local
150 for (int ndx = 0; ndx < numQuads; ndx++) in render()
Des3fShaderBuiltinVarTests.cpp774 const int numQuads = numVertices/6 + (numVertices%6 != 0 ? 1 : 0); in init() local
775 const int viewportW = de::min(numQuads, maxQuadsX)*quadWidth; in init()
776 const int viewportH = (numQuads/maxQuadsX + (numQuads%maxQuadsX != 0 ? 1 : 0))*quadHeight; in init()
Des3fFragmentOutputTests.cpp556 const int numQuads = (gridWidth-1)*(gridHeight-1); in iterate() local
557 const int numIndices = numQuads*6; in iterate()
595 for (int quadNdx = 0; quadNdx < numQuads; quadNdx++) in iterate()
/external/skqp/src/gpu/ops/
DGrDrawAtlasOp.cpp135 int numQuads = this->quadCount(); in onPrepareDraws() local
136 QuadHelper helper(target, vertexStride, numQuads); in onPrepareDraws()
/external/skia/src/gpu/ops/
DGrDrawAtlasOp.cpp195 int numQuads = this->quadCount(); in onPrepareDraws() local
196 QuadHelper helper(target, vertexStride, numQuads); in onPrepareDraws()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineDynamicOffsetTests.cpp76 vector<Vertex4RGBA> createQuads (deUint32 numQuads, float size) in createQuads() argument
80 for (deUint32 quadNdx = 0; quadNdx < numQuads; quadNdx++) in createQuads()
DvktPipelinePushDescriptorTests.cpp158 vector<Vertex4RGBA> createQuads (deUint32 numQuads, float size) in createQuads() argument
162 for (deUint32 quadNdx = 0; quadNdx < numQuads; quadNdx++) in createQuads()
182 vector<Vertex4Tex4> createTexQuads (deUint32 numQuads, float size) in createTexQuads() argument
186 for (deUint32 quadNdx = 0; quadNdx < numQuads; quadNdx++) in createTexQuads()