/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
D | GlRectDrawer.java | 127 this.texMatrixLocation = glShader.getUniformLocation("texMatrix"); in Shader() 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()
|
D | SurfaceTextureHelper.java | 175 texMatrixLoc = shader.getUniformLocation("texMatrix"); 176 xUnitLoc = shader.getUniformLocation("xUnit"); 177 coeffsLoc = shader.getUniformLocation("coeffs"); 178 GLES20.glUniform1i(shader.getUniformLocation("oesTex"), 0);
|
D | GlShader.java | 108 public int getUniformLocation(String label) { in getUniformLocation() method in GlShader
|
/external/deqp/modules/gles3/performance/ |
D | es3pRedundantStateChangeTests.cpp | 152 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() 191 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() 231 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() 280 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() 320 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() 357 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() 400 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() 437 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() 474 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() 515 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() [all …]
|
D | es3pStateChangeTests.cpp | 161 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() 205 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() 250 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() 304 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() 349 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() 391 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() 439 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() 481 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() 523 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() 569 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() [all …]
|
/external/deqp/modules/gles2/performance/ |
D | es2pRedundantStateChangeTests.cpp | 152 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() 191 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() 231 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() 280 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() 320 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() 357 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() 400 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() 441 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() 484 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() 521 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() [all …]
|
D | es2pStateChangeTests.cpp | 161 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() 205 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() 250 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() 304 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() 349 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() 391 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() 439 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() 485 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() 533 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() 575 GLint samplerLoc = gl.getUniformLocation(m_programs[0]->getProgram(), "u_sampler"); in init() [all …]
|
D | es2pTextureCases.cpp | 200 …int samplerLoc = gl.getUniformLocation(program, (string("u_sampler") + de::toString(texNdx)).c_str… in setupProgram()
|
/external/deqp/modules/gles3/functional/ |
D | es3fFboTestUtil.cpp | 105 deInt32 location = context.getUniformLocation(program, "u_color"); in setColor() 192 ctx.uniform4fv(ctx.getUniformLocation(program, "u_gradientMin"), 1, gradientMin.getPtr()); in setGradient() 193 ctx.uniform4fv(ctx.getUniformLocation(program, "u_gradientMax"), 1, gradientMax.getPtr()); in setGradient() 351 gl.uniform1i(gl.getUniformLocation(program, samplerName.c_str()), m_inputs[texNdx].unitNdx); in setUniforms() 352 …gl.uniform4fv(gl.getUniformLocation(program, scaleName.c_str()), 1, m_inputs[texNdx].scale.getPtr(… in setUniforms() 353 …gl.uniform4fv(gl.getUniformLocation(program, biasName.c_str()), 1, m_inputs[texNdx].bias.getPtr()); in setUniforms() 356 gl.uniform4fv(gl.getUniformLocation(program, "u_outScale0"), 1, m_outScale.getPtr()); in setUniforms() 357 gl.uniform4fv(gl.getUniformLocation(program, "u_outBias0"), 1, m_outBias.getPtr()); in setUniforms() 504 gl.uniform1i(gl.getUniformLocation(program, "u_sampler0"), 0); in setUniforms() 505 …gl.uniformMatrix3fv(gl.getUniformLocation(program, "u_coordMat"), 1, GL_FALSE, m_coordMat.getColum… in setUniforms() [all …]
|
D | es3fFragDepthTests.cpp | 172 …gl.uniform4f(gl.getUniformLocation(basicQuadProgram.getProgram(), "u_color"), 0.0f, 0.0f, 1.0f, 1.… in iterate() 215 gl.uniform4f(gl.getUniformLocation(program.getProgram(), "u_color"), 0.0f, 1.0f, 0.0f, 1.0f); in iterate() 343 gl.uniform4f(gl.getUniformLocation(program.getProgram(), "u_color"), 0.0f, 1.0f, 0.0f, 1.0f); in iterate() 371 int colorLoc = gl.getUniformLocation(program.getProgram(), "u_color"); in iterate()
|
D | es3fShaderStructTests.cpp | 1148 int loc = gl.getUniformLocation(programID, name); \ 1157 int loc = gl.getUniformLocation(programID, name); \ 1169 int loc = gl.getUniformLocation(programID, name); in setUniform() 1176 int loc = gl.getUniformLocation(programID, name); in setUniform() 1183 int loc = gl.getUniformLocation(programID, name); in setUniform()
|
D | es3fShaderFragDataTests.cpp | 193 gl.uniform1i (gl.getUniformLocation(program.getProgram(), "u_index"), 0); in iterate() 251 …const int indexLoc = program.isOk() ? gl.getUniformLocation(program.getProgram(), "u_index")… in iterate()
|
D | es3fShaderDiscardTests.cpp | 114 gl.uniform1i(gl.getUniformLocation(programID, "ut_brick"), 0); in setupUniforms()
|
D | es3fShaderInvarianceTests.cpp | 277 const glw::GLint colorLoc = gl.getUniformLocation(shader.getProgram(), "u_color"); in iterate() 319 const glw::GLint colorLoc = gl.getUniformLocation(shader.getProgram(), "u_color"); in iterate()
|
/external/deqp/modules/gles31/functional/ |
D | es31fFboTestUtil.cpp | 194 gl.uniform1i(gl.getUniformLocation(program, samplerName.c_str()), m_inputs[texNdx].unitNdx); in setUniforms() 195 …gl.uniform4fv(gl.getUniformLocation(program, scaleName.c_str()), 1, m_inputs[texNdx].scale.getPtr(… in setUniforms() 196 …gl.uniform4fv(gl.getUniformLocation(program, biasName.c_str()), 1, m_inputs[texNdx].bias.getPtr()); in setUniforms() 199 gl.uniform4fv(gl.getUniformLocation(program, "u_outScale0"), 1, m_outScale.getPtr()); in setUniforms() 200 gl.uniform4fv(gl.getUniformLocation(program, "u_outBias0"), 1, m_outBias.getPtr()); in setUniforms() 357 gl.uniform1i(gl.getUniformLocation(program, "u_sampler0"), 0); in setUniforms() 358 …gl.uniformMatrix3fv(gl.getUniformLocation(program, "u_coordMat"), 1, GL_FALSE, m_coordMat.getColum… in setUniforms() 359 gl.uniform1i(gl.getUniformLocation(program, "u_layer"), m_layer); in setUniforms() 360 gl.uniform4fv(gl.getUniformLocation(program, "u_scale"), 1, m_texScale.getPtr()); in setUniforms() 361 gl.uniform4fv(gl.getUniformLocation(program, "u_bias"), 1, m_texBias.getPtr()); in setUniforms()
|
D | es31fShaderSharedVarTests.cpp | 188 const int valLoc = gl.getUniformLocation(program, "u_val[0]"); in iterate() 189 const int refLoc = gl.getUniformLocation(program, "u_ref[0]"); in iterate() 190 const int iterCountLoc = gl.getUniformLocation(program, "u_numIters"); in iterate()
|
D | es31fTextureMultisampleTests.cpp | 435 m_samplerProgramSamplerLoc = gl.getUniformLocation(m_samplerProgram->getProgram(), "u_sampler"); in genSamplerProgram() 436 m_samplerProgramSampleNdxLoc = gl.getUniformLocation(m_samplerProgram->getProgram(), "u_sample"); in genSamplerProgram() 795 m_samplerProgramSamplerLoc = gl.getUniformLocation(m_samplerProgram->getProgram(), "u_sampler"); in genSamplerProgram() 796 m_samplerProgramSampleNdxLoc = gl.getUniformLocation(m_samplerProgram->getProgram(), "u_sample"); in genSamplerProgram() 1369 const int valueLocation = gl.getUniformLocation(m_drawShader->getProgram(), "u_writeValue"); in renderToTexture() 1450 const int samplerLocation = gl.getUniformLocation(m_samplerShader->getProgram(), "u_sampler"); in sampleTexture() 1451 …const int maxSamplesLocation = gl.getUniformLocation(m_samplerShader->getProgram(), "u_maxSampl… in sampleTexture() 1452 const int layerLocation = gl.getUniformLocation(m_samplerShader->getProgram(), "u_layer"); in sampleTexture() 1453 const int valueLocation = gl.getUniformLocation(m_samplerShader->getProgram(), "u_cmpValue"); in sampleTexture()
|
D | es31fSampleVariableTests.cpp | 378 const int maxSampleLoc = gl.getUniformLocation(m_program->getProgram(), "u_maxSamples"); in preDraw() 1180 const int maskLoc = gl.getUniformLocation(m_program->getProgram(), "u_sampleMask"); in preDraw() 1319 const int maxLoc = gl.getUniformLocation(m_program->getProgram(), "u_maxBitCount"); in preDraw() 1320 const int minLoc = gl.getUniformLocation(m_program->getProgram(), "u_minBitCount"); in preDraw() 1337 const int maxLoc = gl.getUniformLocation(m_program->getProgram(), "u_maxBitCount"); in preDraw() 1338 const int minLoc = gl.getUniformLocation(m_program->getProgram(), "u_minBitCount"); in preDraw() 1694 const int selectorLoc = gl.getUniformLocation(m_program->getProgram(), "u_bitSelector"); in preDraw() 2043 const int maskLoc = gl.getUniformLocation(m_program->getProgram(), "u_mask"); in preDraw()
|
D | es31fMultisampleShaderRenderCase.cpp | 558 …const deInt32 samplerLocation = gl.getUniformLocation(m_textureSamplerProgram->getProgram(), "u_sa… in drawOneIteration() 609 …const deInt32 samplerLocation = gl.getUniformLocation(m_textureSamplerProgram->getProgram(), "u… in drawOneIteration() 610 …const deInt32 sampleLocation = gl.getUniformLocation(m_textureSamplerProgram->getProgram(), "u_… in drawOneIteration()
|
D | es31fShaderTextureSizeTests.cpp | 415 const int shaderSamplerLoc = gl.getUniformLocation(m_shader->getProgram(), "u_sampler"); in runShader() 416 const int shaderSizeLoc = gl.getUniformLocation(m_shader->getProgram(), "u_size"); in runShader()
|
/external/deqp/modules/glshared/ |
D | glsShaderRenderCase.cpp | 827 int uniLoc = gl.getUniformLocation(programID, s_boolUniforms[i].name); in setupDefaultUniforms() 848 int uniLoc = gl.getUniformLocation(programID, uni.name); in setupDefaultUniforms() 872 int uniLoc = gl.getUniformLocation(programID, s_intUniforms[i].name); in setupDefaultUniforms() 891 int uniLoc = gl.getUniformLocation(programID, s_ivec2Uniforms[i].name); in setupDefaultUniforms() 910 int uniLoc = gl.getUniformLocation(programID, s_ivec3Uniforms[i].name); in setupDefaultUniforms() 929 int uniLoc = gl.getUniformLocation(programID, s_ivec4Uniforms[i].name); in setupDefaultUniforms() 958 int uniLoc = gl.getUniformLocation(programID, s_floatUniforms[i].name); in setupDefaultUniforms() 976 int uniLoc = gl.getUniformLocation(programID, s_vec2Uniforms[i].name); in setupDefaultUniforms() 994 int uniLoc = gl.getUniformLocation(programID, s_vec3Uniforms[i].name); in setupDefaultUniforms() 1015 int uniLoc = gl.getUniformLocation(programID, s_vec4Uniforms[i].name); in setupDefaultUniforms()
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderStructTests.cpp | 1174 int loc = gl.getUniformLocation(programID, name); \ 1183 int loc = gl.getUniformLocation(programID, name); \ 1195 int loc = gl.getUniformLocation(programID, name); in setUniform() 1202 int loc = gl.getUniformLocation(programID, name); in setUniform() 1209 int loc = gl.getUniformLocation(programID, name); in setUniform()
|
D | es2fShaderFragDataTests.cpp | 193 gl.uniform1i (gl.getUniformLocation(program.getProgram(), "u_index"), 0); in iterate()
|
D | es2fShaderDiscardTests.cpp | 134 gl.uniform1i(gl.getUniformLocation(programID, "ut_brick"), 0); in setupUniforms()
|
D | es2fShaderInvarianceTests.cpp | 277 const glw::GLint colorLoc = gl.getUniformLocation(shader.getProgram(), "u_color"); in iterate() 319 const glw::GLint colorLoc = gl.getUniformLocation(shader.getProgram(), "u_color"); in iterate()
|