Lines Matching refs:drawBuffers
398 const vector<DrawBufferInfo>& drawBuffers, in genRenderbuffers() argument
405 bufs.resize(drawBuffers.size()); in genRenderbuffers()
407 DE_ASSERT(drawBuffers.size() == renderbuffers.size()); in genRenderbuffers()
408 DE_ASSERT(drawBuffers.size() == refRenderbuffers.size()); in genRenderbuffers()
412 for (int renderbufferNdx = 0; renderbufferNdx < (int)drawBuffers.size(); renderbufferNdx++) in genRenderbuffers()
414 const DrawBufferInfo& drawBuffer = drawBuffers[renderbufferNdx]; in genRenderbuffers()
428 gl.drawBuffers((glw::GLsizei)bufs.size(), &(bufs[0])); in genRenderbuffers()
430 for (int renderbufferNdx = 0; renderbufferNdx < (int)drawBuffers.size(); renderbufferNdx++) in genRenderbuffers()
432 const DrawBufferInfo& drawBuffer = drawBuffers[renderbufferNdx]; in genRenderbuffers()
820 const vector<DrawBufferInfo>& drawBuffers, in renderRefQuad() argument
831 for (int drawBufferNdx = 0; drawBufferNdx < (int)drawBuffers.size(); drawBufferNdx++) in renderRefQuad()
833 if (drawBuffers[drawBufferNdx].getRender()) in renderRefQuad()
835 …erState (createRenderState(preCommonBlendState, postCommonBlendState, drawBuffers[drawBufferNdx],… in renderRefQuad()
838 const FragmentShader fragmentShader (drawBufferNdx, drawBuffers[drawBufferNdx]); in renderRefQuad()
847 …edBlendEq (const BlendState& pre, const BlendState post, const vector<DrawBufferInfo>& drawBuffers) in requiresAdvancedBlendEq() argument
857 for (int drawBufferNdx = 0; drawBufferNdx < (int)drawBuffers.size(); drawBufferNdx++) in requiresAdvancedBlendEq()
859 const BlendState& drawBufferBlendState = drawBuffers[drawBufferNdx].getBlendState(); in requiresAdvancedBlendEq()
888 … const BlendState& postCommonBlendState, const vector<DrawBufferInfo>& drawBuffers, glu::RenderCon… in genFragmentSource() argument
895 if (requiresAdvancedBlendEq(preCommonBlendState, postCommonBlendState, drawBuffers)) in genFragmentSource()
903 for (int drawBufferNdx = 0; drawBufferNdx < (int)drawBuffers.size(); drawBufferNdx++) in genFragmentSource()
905 const DrawBufferInfo& drawBuffer = drawBuffers[drawBufferNdx]; in genFragmentSource()
936 for (int drawBufferNdx = 0; drawBufferNdx < (int)drawBuffers.size(); drawBufferNdx++) in genFragmentSource()
938 const DrawBufferInfo& drawBuffer = drawBuffers[drawBufferNdx]; in genFragmentSource()
989 … const BlendState& postCommonBlendState, const vector<DrawBufferInfo>& drawBuffers, glu::RenderCon… in genShaderSources() argument
991 …ntext) << genFragmentSource(preCommonBlendState, postCommonBlendState, drawBuffers, renderContext); in genShaderSources()
1009 const vector<DrawBufferInfo>& drawBuffers, in renderQuad() argument
1014 …m (gl, genShaderSources(preCommonBlendState, postCommonBlendState, drawBuffers, renderContext)… in renderQuad()
1015 const IVec2 size = drawBuffers[0].getSize(); in renderQuad()
1016 …resBlendBarriers = requiresAdvancedBlendEq(preCommonBlendState, postCommonBlendState, drawBuffers); in renderQuad()
1020 bufs.resize(drawBuffers.size()); in renderQuad()
1023 bufs[bufNdx] = (drawBuffers[bufNdx].getRender() ? GL_COLOR_ATTACHMENT0 + bufNdx : GL_NONE); in renderQuad()
1033 for (int renderbufferNdx = 0; renderbufferNdx < (int)drawBuffers.size(); renderbufferNdx++) in renderQuad()
1034 setIndexedBlendState(gl, drawBuffers[renderbufferNdx].getBlendState(), renderbufferNdx); in renderQuad()
1038 gl.drawBuffers((glw::GLsizei)bufs.size(), &(bufs[0])); in renderQuad()
1048 gl.drawBuffers(0, 0); in renderQuad()
1057 …renderRefQuad(preCommonBlendState, postCommonBlendState, drawBuffers, subpixelBits, refRenderbuffe… in renderQuad()
1109 const vector<DrawBufferInfo>& drawBuffers) in logTestCaseInfo() argument
1114 for (int drawBufferNdx = 0; drawBufferNdx < (int)drawBuffers.size(); drawBufferNdx++) in logTestCaseInfo()
1117 const DrawBufferInfo& drawBuffer = drawBuffers[drawBufferNdx]; in logTestCaseInfo()
1131 for (int drawBufferNdx = 0; drawBufferNdx < (int)drawBuffers.size(); drawBufferNdx++) in logTestCaseInfo()
1133 if (!drawBuffers[drawBufferNdx].getBlendState().isEmpty()) in logTestCaseInfo()
1137 logBlendState(log, drawBuffers[drawBufferNdx].getBlendState()); in logTestCaseInfo()
1154 const vector<DrawBufferInfo>& drawBuffers) in runTest() argument
1157 glu::RenderbufferVector renderbuffers (gl, drawBuffers.size()); in runTest()
1159 vector<TextureLevel> refRenderbuffers (drawBuffers.size()); in runTest()
1161 logTestCaseInfo(log, preCommonBlendState, postCommonBlendState, drawBuffers); in runTest()
1163 genRenderbuffers(gl, drawBuffers, framebuffer, renderbuffers, refRenderbuffers); in runTest()
1165 …renderQuad(log, renderContext, preCommonBlendState, postCommonBlendState, drawBuffers, framebuffer… in runTest()
1176 const vector<DrawBufferInfo>& drawBuffers,
1192 const vector<DrawBufferInfo>& drawBuffers, in DrawBuffersIndexedTest() argument
1198 , m_drawBuffers (drawBuffers) in DrawBuffersIndexedTest()
1360 …BlendState& preCommon, BlendState& postCommon, vector<DrawBufferInfo>& drawBuffers, int maxDrawBuf… in genRandomTest() argument
1399 drawBuffers.push_back(DrawBufferInfo(render, size, blendState, format)); in genRandomTest()
1436 vector<DrawBufferInfo> drawBuffers; in iterate() local
1438 genRandomTest(rng, preCommonBlendState, postCommonBlendState, drawBuffers, 4, m_context); in iterate()
1440 …og, results, m_context.getRenderContext(), preCommonBlendState, postCommonBlendState, drawBuffers); in iterate()
1482 vector<DrawBufferInfo> drawBuffers; in iterate() local
1489 …genRandomTest(rng, preCommonBlendState, postCommonBlendState, drawBuffers, maxDrawBuffers, m_conte… in iterate()
1491 …og, results, m_context.getRenderContext(), preCommonBlendState, postCommonBlendState, drawBuffers); in iterate()
1514 vector<DrawBufferInfo> drawBuffers; in createDiffTest() local
1516 …drawBuffers.push_back(DrawBufferInfo(true, IVec2(64, 64), emptyState, TextureFormat(tcu::TextureFo… in createDiffTest()
1517 …drawBuffers.push_back(DrawBufferInfo(true, IVec2(64, 64), drawBufferState, TextureFormat(tcu::Text… in createDiffTest()
1519 return new DrawBuffersIndexedTest(context, preState, emptyState, drawBuffers, name, name); in createDiffTest()
1527 vector<DrawBufferInfo> drawBuffers; in createDiffTest() local
1529 …drawBuffers.push_back(DrawBufferInfo(true, IVec2(64, 64), emptyState, TextureFormat(tcu::TextureFo… in createDiffTest()
1530 …drawBuffers.push_back(DrawBufferInfo(true, IVec2(64, 64), drawBufferState, TextureFormat(tcu::Text… in createDiffTest()
1532 return new DrawBuffersIndexedTest(context, preState, commonState, drawBuffers, name, name); in createDiffTest()
1551 vector<DrawBufferInfo> drawBuffers; in createAdvancedEqDiffTest() local
1553 …drawBuffers.push_back(DrawBufferInfo(true, IVec2(64, 64), drawBufferState, TextureFormat(tcu::Text… in createAdvancedEqDiffTest()
1555 return new DrawBuffersIndexedTest(context, preState, emptyState, drawBuffers, name, name); in createAdvancedEqDiffTest()
1563 vector<DrawBufferInfo> drawBuffers; in createAdvancedEqDiffTest() local
1565 …drawBuffers.push_back(DrawBufferInfo(true, IVec2(64, 64), drawBufferState, TextureFormat(tcu::Text… in createAdvancedEqDiffTest()
1567 return new DrawBuffersIndexedTest(context, preState, commonState, drawBuffers, name, name); in createAdvancedEqDiffTest()