Searched refs:glShader (Results 1 – 1 of 1) sorted by relevance
122 public final GlShader glShader; field in GlRectDrawer.Shader126 this.glShader = new GlShader(VERTEX_SHADER_STRING, fragmentShader); in Shader()127 this.texMatrixLocation = glShader.getUniformLocation("texMatrix"); in Shader()197 shader.glShader.useProgram(); in prepareShader()200 GLES20.glUniform1i(shader.glShader.getUniformLocation("y_tex"), 0); in prepareShader()201 GLES20.glUniform1i(shader.glShader.getUniformLocation("u_tex"), 1); in prepareShader()202 GLES20.glUniform1i(shader.glShader.getUniformLocation("v_tex"), 2); in prepareShader()204 GLES20.glUniform1i(shader.glShader.getUniformLocation("rgb_tex"), 0); in prepareShader()206 GLES20.glUniform1i(shader.glShader.getUniformLocation("oes_tex"), 0); in prepareShader()212 shader.glShader.setVertexAttribArray("in_pos", 2, FULL_RECTANGLE_BUF); in prepareShader()[all …]