Home
last modified time | relevance | path

Searched refs:glShader (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DGlRectDrawer.java122 public final GlShader glShader; field in GlRectDrawer.Shader
126 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 …]
/external/skia/src/gpu/gl/
DGrGLCaps.cpp1366 GrGLenum glShader = shader_type_to_gl_shader(shaderType); in initShaderPrecisionTable() local
1374 GR_GL_GetShaderPrecisionFormat(intf, glShader, glPrecision, range, &bits); in initShaderPrecisionTable()