Lines Matching defs:m_context

817 	Context&								m_context;
847 : m_context (context)
853 TextureSp textureLinear(new TestTexture2D(m_context, GL_RGBA8, GL_RGBA, GL_UNSIGNED_BYTE, getTestColorLinear()));
856 TextureSp textureSRGB(new TestTexture2D(m_context, GL_SRGB8_ALPHA8, GL_RGBA, GL_UNSIGNED_BYTE, getTestColorLinear()));
882 m_shaderProgram = new TestShaderProgram(m_context, m_samplersRequired, m_renderPassConfig.testFunction);
938 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
999 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1048 tcu::TestLog& log = m_context.getTestContext().getLog();
1059 TextureSp texture(new TestTexture2D(m_context, fboConfigList[idx].textureInternalFormat, GL_RGBA, GL_UNSIGNED_BYTE, fboConfigList[idx].textureColor));
1068 FboSp framebuffer(new TestFramebuffer(m_context, fboConfigList[idx].fboTargetType, fboConfigList[idx].fboColorAttachment, texture->getHandle(), isSRGB, fboConfigList[idx].fboType, idx));
1075 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1084 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1103 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1128 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1175 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1185 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1186 tcu::TestLog& log = m_context.getTestContext().getLog();
1226 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1252 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1256 DE_ASSERT((px >= 0) && (px < m_context.getRenderTarget().getWidth()));
1257 DE_ASSERT((py >= 0) && (py < m_context.getRenderTarget().getHeight()));
1261 glu::readPixels(m_context.getRenderContext(), px, py, textureRead.getAccess());
1268 tcu::TestLog& log = m_context.getTestContext().getLog();
1282 logColor(m_context, message.str(), m_resultsListPreDraw[m_renderPass]);
1286 logColor(m_context, message.str(), m_resultsListPostDraw[m_renderPass]);
1355 if (glu::isContextTypeES(m_context.getRenderContext().getType()))
1358 if (!glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)))
1361 if (!m_context.getContextInfo().isExtensionSupported("GL_EXT_sRGB_write_control"))
1364 if (!m_context.getContextInfo().isExtensionSupported("GL_EXT_texture_sRGB_decode"))
1379 Renderer renderer(m_context);
1488 if (!m_context.getContextInfo().isExtensionSupported("GL_EXT_sRGB_write_control"))
1501 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1502 tcu::TestLog& log = m_context.getTestContext().getLog();
1740 logColor(m_context, "pre-copy source fbo color values", m_resultsPreDraw[0]);
1741 logColor(m_context, "pre-copy destination fbo color values", m_resultsPreDraw[1]);
1742 logColor(m_context, "post-copy source fbo color values", m_resultsPostDraw[0]);
1743 logColor(m_context, "post-copy destination fbo color values", m_resultsPostDraw[1]);
1775 if(!glu::isContextTypeES(m_context.getRenderContext().getType()))
1779 if (m_context.getContextInfo().isExtensionSupported("GL_EXT_sRGB_write_control"))
1789 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1790 tcu::TestLog& log = m_context.getTestContext().getLog();
1812 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1819 m_context.getTestContext().getLog() << tcu::TestLog::Message
1865 this->addChild(new FboSRGBQueryCase (m_context, "framebuffer_srgb_enabled", "srgb enable framebuffer"));
1866 this->addChild(new FboSRGBColAttachCase (m_context, "framebuffer_srgb_enabled_col_attach", "srgb enable color attachment and framebuffer"));
1867 this->addChild(new FboSRGBToggleBlendCase (m_context, "framebuffer_srgb_enabled_blend", "toggle framebuffer srgb settings with blend disabled"));
1868 this->addChild(new FboSRGBRenderTargetIgnoreCase (m_context, "framebuffer_srgb_enabled_render_target_ignore", "enable framebuffer srgb, non-srgb render target should ignore"));
1869 this->addChild(new FboSRGBCopyToLinearCase (m_context, "framebuffer_srgb_enabled_copy_to_linear", "no conversion when blittering between framebuffer srgb and linear"));
1872 this->addChild(new FboSRGBUnsupportedEnumCase (m_context, "framebuffer_srgb_unsupported_enum", "check error codes for query functions when extension is not supported"));