Searched refs:patternProgram (Results 1 – 2 of 2) sorted by relevance
257 …const glu::ShaderProgram patternProgram (m_context.getRenderContext(), glu::ProgramSources() << gl… in drawTestPattern() local258 const GLint positionLoc = gl.getAttribLocation(patternProgram.getProgram(), "a_pos"); in drawTestPattern()286 gl.useProgram(patternProgram.getProgram()); in drawTestPattern()289 gl.uniform1i(gl.getUniformLocation(patternProgram.getProgram(), "u_sampler"), 0); in drawTestPattern()
265 …const glu::ShaderProgram patternProgram (m_context.getRenderContext(), glu::ProgramSources() << gl… in drawTestPattern() local266 const GLint positionLoc = gl.getAttribLocation(patternProgram.getProgram(), "a_pos"); in drawTestPattern()294 gl.useProgram(patternProgram.getProgram()); in drawTestPattern()297 gl.uniform1i(gl.getUniformLocation(patternProgram.getProgram(), "u_sampler"), 0); in drawTestPattern()