Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fAdvancedBlendTests.cpp409 const int numQuads = m_overdrawCount+1; in iterate() local
411 vector<Vec4> colors (numQuads*4); in iterate()
425 vector<Vec2> positions (numQuads*4); in iterate()
426 vector<deUint16> indices (numQuads*6); in iterate()
438 for (int quadNdx = 0; quadNdx < numQuads; quadNdx++) in iterate()
488 …gl.drawElements(GL_TRIANGLES, 6*(numQuads-1), GL_UNSIGNED_SHORT, (const void*)(deUintptr)(6*sizeof… in iterate()
492 for (int quadNdx = 1; quadNdx < numQuads; quadNdx++) in iterate()
525 for (int quadNdx = 0; quadNdx < numQuads; quadNdx++) in iterate()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fDitheringTests.cpp483 …const int numQuads = m_testCtx.getCommandLine().getTestIterationCount() > 0 ? m_testCtx.getCommand… in iterate() local
485 DE_ASSERT(m_iteration < numQuads); in iterate()
487 const Vec4 quadColor = (float)m_iteration / (float)(numQuads-1) * m_color; in iterate()
496 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()
/third_party/skia/src/gpu/ops/
DGrDrawOp.h91 virtual int numQuads() const { return -1; } in numQuads() function
DFillRectOp.cpp187 int numQuads() const final { return fQuads.count(); } in numQuads() function in __anonb736c9500111::FillRectOpImpl
385 bool canAddQuads(int numQuads, GrAAType aaType) { in canAddQuads() argument
389 int quadCount = fQuads.count() + numQuads; in canAddQuads()
DDrawAtlasOp.cpp229 int numQuads = this->quadCount(); in onPrepareDraws() local
230 QuadHelper helper(target, vertexStride, numQuads); in onPrepareDraws()
DQuadPerEdgeAA.h44 IndexBufferOption CalcIndexBufferOption(GrAAType aa, int numQuads);
DQuadPerEdgeAA.cpp304 IndexBufferOption CalcIndexBufferOption(GrAAType aa, int numQuads) { in CalcIndexBufferOption() argument
307 } else if (numQuads > 1) { in CalcIndexBufferOption()
DTextureOp.cpp801 int numQuads() const final { return this->totNumQuads(); } in numQuads() function in __anon3b55fc0c0111::TextureOpImpl
/third_party/skia/tests/
DBulkRectTest.cpp85 actualTotNumQuads += ((GrDrawOp*) tmp)->numQuads(); in fillrectop_creation_test()
200 actualTotNumQuads += ((GrDrawOp*) tmp)->numQuads(); in textureop_creation_test()
/third_party/flutter/skia/src/gpu/ops/
DGrDrawAtlasOp.cpp195 int numQuads = this->quadCount(); in onPrepareDraws() local
196 QuadHelper helper(target, vertexStride, numQuads); in onPrepareDraws()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelinePushDescriptorTests.cpp180 vector<Vertex4RGBA> createQuads (deUint32 numQuads, float size) in createQuads() argument
184 for (deUint32 quadNdx = 0; quadNdx < numQuads; quadNdx++) in createQuads()
204 vector<Vertex4Tex4> createTexQuads (deUint32 numQuads, float size) in createTexQuads() argument
208 for (deUint32 quadNdx = 0; quadNdx < numQuads; quadNdx++) in createTexQuads()
DvktPipelineDynamicOffsetTests.cpp88 vector<Vertex4RGBA> createQuads (deUint32 numQuads, float size) in createQuads() argument
92 for (deUint32 quadNdx = 0; quadNdx < numQuads; quadNdx++) in createQuads()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelinePushDescriptorTests.cpp180 vector<Vertex4RGBA> createQuads (deUint32 numQuads, float size) in createQuads() argument
184 for (deUint32 quadNdx = 0; quadNdx < numQuads; quadNdx++) in createQuads()
204 vector<Vertex4Tex4> createTexQuads (deUint32 numQuads, float size) in createTexQuads() argument
208 for (deUint32 quadNdx = 0; quadNdx < numQuads; quadNdx++) in createTexQuads()
DvktPipelineDynamicOffsetTests.cpp88 vector<Vertex4RGBA> createQuads (deUint32 numQuads, float size) in createQuads() argument
92 for (deUint32 quadNdx = 0; quadNdx < numQuads; quadNdx++) in createQuads()