Lines Matching refs:m_shader
101 glu::ShaderProgram* m_shader;
111 , m_shader (DE_NULL)
167 m_shader = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(vertexSource.specialize(params)) << glu::FragmentSource(fragmentSource.specialize(params)));
168 if (!m_shader->isOk())
175 if (m_shader)
177 delete m_shader;
178 m_shader = DE_NULL;
193 const glw::GLint positionLoc = gl.getAttribLocation(m_shader->getProgram(), "a_position");
194 const glw::GLint colorLoc = gl.getAttribLocation(m_shader->getProgram(), "a_color");
195 const glw::GLint pointSizeLoc = gl.getUniformLocation(m_shader->getProgram(), "u_pointSize");
200 gl.useProgram (m_shader->getProgram());