Lines Matching defs:context
200 void logColor (Context& context, const std::string& colorLogMessage, const tcu::Vec4 resultColor)
202 tcu::TestLog& log = context.getTestContext().getLog();
401 TestVertexData (Context& context);
416 TestVertexData::TestVertexData (Context& context)
417 : m_gl (&context.getRenderContext().getFunctions())
472 TestTexture2D (Context& context, const deUint32 internalFormatValue, const deUint32 transferFormatValue, const deUint32 transferTypeValue, const tcu::Vec4 imageColorValue);
492 TestTexture2D::TestTexture2D (Context& context, const deUint32 internalFormat, const deUint32 transferFormat, const deUint32 transferType, const tcu::Vec4 imageColor)
493 : m_gl (&context.getRenderContext().getFunctions())
552 TestFramebuffer (Context& context, const deUint32 targetType, const deUint32 colorAttachment, glw::GLuint textureAttachmentHandle, const bool isSRGB, const FboType fboType, const int idx);
577 TestFramebuffer::TestFramebuffer (Context& context, const deUint32 targetType, const deUint32 colorAttachment, glw::GLuint textureAttachmentHandle, const bool isSRGB, const FboType fboType, const int idx)
578 : m_gl (&context.getRenderContext().getFunctions())
579 , m_referenceSource (new glu::Framebuffer(context.getRenderContext()))
654 TestShaderProgram (Context& context, const int samplerTotal, TestFunction testFunction);
671 TestShaderProgram::TestShaderProgram (Context& context, const int samplerTotal, TestFunction testFunction)
672 : m_gl (&context.getRenderContext().getFunctions())
729 m_referenceSource = de::MovePtr<glu::ShaderProgram>(new glu::ShaderProgram(context.getRenderContext(), glu::makeVtxFragSources(shaderVertex, shaderFragment.str())));
732 tcu::TestLog& log = context.getTestContext().getLog();
776 Renderer (Context& context);
846 Renderer::Renderer (Context& context)
847 : m_context (context)
848 , m_vertexData (context)
1317 FboSRGBTestCase (Context& context, const char* const name, const char* const desc);
1341 FboSRGBTestCase::FboSRGBTestCase (Context& context, const char* const name, const char* const desc)
1342 : TestCase (context, name, desc)
1359 TCU_THROW(NotSupportedError, "Test requires a context version equal or higher than 3.2");
1467 FboSRGBQueryCase (Context& context, const char* const name, const char* const description);
1475 FboSRGBQueryCase::FboSRGBQueryCase (Context& context, const char* const name, const char* const description)
1476 : TestCase (context, name, description)
1591 FboSRGBColAttachCase (Context& context, const char* const name, const char* const description)
1592 : FboSRGBTestCase (context, name, description) {}
1634 FboSRGBToggleBlendCase (Context& context, const char* const name, const char* const description)
1635 : FboSRGBTestCase (context, name, description) {}
1671 FboSRGBRenderTargetIgnoreCase (Context& context, const char* const name, const char* const description)
1672 : FboSRGBTestCase (context, name, description) {}
1708 FboSRGBCopyToLinearCase (Context& context, const char* const name, const char* const description)
1709 : FboSRGBTestCase (context, name, description) {}
1754 FboSRGBUnsupportedEnumCase (Context& context, const char* const name, const char* const description);
1763 FboSRGBUnsupportedEnumCase::FboSRGBUnsupportedEnumCase (Context& context, const char* const name, const char* const description)
1764 : TestCase (context, name, description)
1776 TCU_THROW(NotSupportedError, "The test is not supported in a non-GLES context");
1854 FboSRGBWriteControlTests::FboSRGBWriteControlTests (Context& context)
1855 : TestCaseGroup (context, "srgb_write_control", "Colorbuffer tests")