Lines Matching refs:glu
134 std::shared_ptr<glu::ShaderProgram> m_program;
215 tcu::TextureFormat refTexFormat (glu::mapGLInternalFormat(m_testParams.internalFormat));
216 glu::TransferFormat refTransferFormat = glu::getTransferFormat(refTexFormat);
223 tcu::TextureFormat refTexFormatSub = glu::mapGLInternalFormat(m_testParams.internalFormat);
232 GLU_EXPECT_NO_ERROR(gl.getError(), ("gltexImage2D() failed" + glu::getTextureFormatStr(m_testParams.internalFormat).toString()).c_str());
237 GLU_EXPECT_NO_ERROR(gl.getError(), ("gltexSubImage2D() failed" + glu::getTextureFormatStr(m_testParams.internalFormat).toString()).c_str());
247 glu::readPixels(m_context.getRenderContext(), 0, 0, refSurface.getAccess());
250 tcu::TextureFormat testTexFormatSub = glu::mapGLTransferFormat(m_testParams.format, m_testParams.testType);
259 GLU_EXPECT_NO_ERROR(gl.getError(), ("gltexImage2D() failed" + glu::getTextureFormatStr(m_testParams.internalFormat).toString()).c_str());
263 GLU_EXPECT_NO_ERROR(gl.getError(), ("gltexSubImage2D() failed" + glu::getTextureFormatStr(m_testParams.internalFormat).toString()).c_str());
400 const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2));
401 const auto glslVersion = glu::getGLSLVersionDeclaration(supportsES32 ? glu::GLSLVersion::GLSL_VERSION_320_ES : glu::GLSLVersion::GLSL_VERSION_310_ES);
406 m_program = std::make_shared<glu::ShaderProgram>(m_context.getRenderContext(),
407 glu::ProgramSources() << glu::VertexSource(vs) << glu::FragmentSource(fs));