Lines Matching refs:glu

188 	return contextSupports(ctxType, glu::ApiType::es(3, 2)) ||
189 contextSupports(ctxType, glu::ApiType::core(4, 5));
399 const glu::Framebuffer& framebuffer,
400 const glu::RenderbufferVector& renderbuffers,
417 const deUint32 glFormat = glu::getInternalFormat(format);
561 glu::RenderContext& renderContext,
562 const glu::RenderbufferVector& renderbuffers,
563 const glu::Framebuffer& framebuffer,
582 glu::readPixels(renderContext, 0, 0, result.getAccess());
880 glu::VertexSource genVertexSource (glu::RenderContext& renderContext)
882 const bool supportsES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2));
895 args["GLSL_VERSION_DECL"] = supportsES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : getGLSLVersionDeclaration(glu::GLSL_VERSION_300_ES);
897 return glu::VertexSource(tcu::StringTemplate(vertexSource).specialize(args));
900 glu::FragmentSource genFragmentSource (const BlendState& preCommonBlendState, const BlendState& postCommonBlendState, const vector<DrawBufferInfo>& drawBuffers, glu::RenderContext& renderContext)
903 const bool supportsES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2));
995 args["GLSL_VERSION_DECL"] = supportsES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : getGLSLVersionDeclaration(glu::GLSL_VERSION_300_ES);
998 return glu::FragmentSource(tcu::StringTemplate(stream.str()).specialize(args));
1001 glu::ProgramSources genShaderSources (const BlendState& preCommonBlendState, const BlendState& postCommonBlendState, const vector<DrawBufferInfo>& drawBuffers, glu::RenderContext& renderContext)
1003 return glu::ProgramSources() << genVertexSource(renderContext) << genFragmentSource(preCommonBlendState, postCommonBlendState, drawBuffers, renderContext);
1006 void renderGLQuad (glu::RenderContext& renderContext,
1007 const glu::ShaderProgram& program)
1009 const glu::VertexArrayBinding vertexArrays[] =
1011 glu::VertexArrayBinding(glu::BindingPoint(0), glu::VertexArrayPointer(glu::VTX_COMP_FLOAT, glu::VTX_COMP_CONVERT_NONE, 2, 6, 0, s_quadCoords))
1014 glu::draw(renderContext, program.getProgram(), 1, vertexArrays, glu::pr::Triangles(6));
1018 glu::RenderContext& renderContext,
1022 const glu::Framebuffer& framebuffer,
1026 const glu::ShaderProgram program (gl, genShaderSources(preCommonBlendState, postCommonBlendState, drawBuffers, renderContext));
1095 log << TestLog::Message << "Set blend equation: " << glu::getBlendEquationStr(blendEq.get<BlendEq>()) << "." << TestLog::EndMessage;
1097 log << TestLog::Message << "Set blend equation rgb: " << glu::getBlendEquationStr(blendEq.get<SeparateBlendEq>().rgb) << ", alpha: " << glu::getBlendEquationStr(blendEq.get<SeparateBlendEq>().alpha) << "." << TestLog::EndMessage;
1107 log << TestLog::Message << "Set blend function source: " << glu::getBlendFactorStr(blendFunc.get<BlendFunc>().src) << ", destination: " << glu::getBlendFactorStr(blendFunc.get<BlendFunc>().dst) << "." << TestLog::EndMessage;
1110 log << TestLog::Message << "Set blend function rgb source: " << glu::getBlendFactorStr(blendFunc.get<SeparateBlendFunc>().rgb.src) << ", destination: " << glu::getBlendFactorStr(blendFunc.get<SeparateBlendFunc>().rgb.dst) << "." << TestLog::EndMessage;
1111 log << TestLog::Message << "Set blend function alpha source: " << glu::getBlendFactorStr(blendFunc.get<SeparateBlendFunc>().alpha.src) << ", destination: " << glu::getBlendFactorStr(blendFunc.get<SeparateBlendFunc>().alpha.dst) << "." << TestLog::EndMessage;
1162 glu::RenderContext& renderContext,
1169 glu::RenderbufferVector renderbuffers (gl, drawBuffers.size());
1170 glu::Framebuffer framebuffer (gl);
1364 return glu::mapGLInternalFormat(de::getArrayElement(glFormats, rng.getUint32() % DE_LENGTH_OF_ARRAY(glFormats)));
1368 return glu::mapGLInternalFormat(de::getArrayElement(glFormats, rng.getUint32() % (DE_LENGTH_OF_ARRAY(glFormats) - 5)));