Lines Matching defs:progVF
742 glu::ShaderProgram progVF(m_context.getRenderContext(), glu::makeVtxFragSources(vtx.c_str(), frag.c_str()));
745 gl.programParameteri(progVF.getProgram(), GL_PROGRAM_SEPARABLE, GL_TRUE);
746 gl.linkProgram(progVF.getProgram());
747 gl.getProgramiv(progVF.getProgram(), GL_LINK_STATUS, &linkStatus);
754 gl.useProgramStages(pipeline, GL_VERTEX_SHADER_BIT | GL_FRAGMENT_SHADER_BIT, progVF.getProgram());
757 if ((progIdV != progVF.getProgram()) || (progIdV != progIdF))
794 gl.programParameteri(progVF.getProgram(), GL_PROGRAM_SEPARABLE, GL_FALSE);
795 gl.linkProgram(progVF.getProgram());
796 gl.getProgramiv(progVF.getProgram(), GL_LINK_STATUS, &linkStatus);
802 gl.useProgramStages(pipeline, GL_VERTEX_SHADER_BIT | GL_FRAGMENT_SHADER_BIT, progVF.getProgram());
923 glu::ShaderProgram progVF(m_context.getRenderContext(), glu::makeVtxFragSources(vtx.c_str(), frag.c_str()));
926 gl.programParameteri(progVF.getProgram(), GL_PROGRAM_SEPARABLE, GL_TRUE);
927 gl.linkProgram(progVF.getProgram());
928 gl.getProgramiv(progVF.getProgram(), GL_LINK_STATUS, &linkStatus);
937 gl.activeShaderProgram(pipelines[0], progVF.getProgram());
943 gl.activeShaderProgram(pipelines[0], progVF.getProgram() + 100);
950 if (value != progVF.getProgram())
957 gl.activeShaderProgram(pipelines[0], progVF.getProgram());
1080 gl.programParameteri(progVF.getProgram(), GL_PROGRAM_SEPARABLE, 501);
1152 gl.useProgramStages(pipelines[0], GL_VERTEX_SHADER_BIT | GL_FRAGMENT_SHADER_BIT, progVF.getProgram());
1165 gl.programParameteri(progVF.getProgram(), GL_PROGRAM_SEPARABLE, GL_FALSE);
1166 gl.linkProgram(progVF.getProgram());
2210 glu::ShaderProgram progVF(m_context.getRenderContext(), glu::makeVtxFragSources(vtx.c_str(), frag.c_str()));
2212 gl.useProgram(progVF.getProgram());
2214 gl.uniform4f(gl.getUniformLocation(progVF.getProgram(), "u_color"), 0.0f, 1.0f, 0.0f, 1.0f);
2251 glu::draw(m_context.getRenderContext(), progVF.getProgram(), 1, &posArray,
2264 int posLoc = gl.getAttribLocation(progVF.getProgram(), "a_position");
2335 gl.programParameteri(progVF.getProgram(), GL_PROGRAM_SEPARABLE, GL_TRUE);
2336 gl.linkProgram(progVF.getProgram());
2337 gl.useProgramStages(pipeline, GL_VERTEX_SHADER_BIT, progVF.getProgram());
2357 gl.useProgramStages(pipeline, GL_FRAGMENT_SHADER_BIT, progVF.getProgram());
2822 glu::ShaderProgram progVF(m_context.getRenderContext(),
2825 gl.useProgram(progVF.getProgram());
2826 gl.uniform4f(gl.getUniformLocation(progVF.getProgram(), "u_color"), 1.0f, 1.0f, 1.0f, 1.0f);
2827 if (!progVF.getProgramInfo().linkOk)
2829 log << progVF;
2835 int posLoc = gl.getAttribLocation(progVF.getProgram(), "a_position");