/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);
|
/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 …]
|
/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 | es3fShaderMetamorphicTests.cpp | 137 int uniformLoc = gl.getUniformLocation(program.getProgram(), "injectionSwitch"); in render() 141 uniformLoc = gl.getUniformLocation(program.getProgram(), "resolution"); in render() 145 uniformLoc = gl.getUniformLocation(program.getProgram(), "mouse"); in render() 149 uniformLoc = gl.getUniformLocation(program.getProgram(), "time"); in render()
|
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 | 1295 int loc = gl.getUniformLocation(programID, name); \ 1304 int loc = gl.getUniformLocation(programID, name); \ 1316 int loc = gl.getUniformLocation(programID, name); in setUniform() 1323 int loc = gl.getUniformLocation(programID, name); in setUniform() 1330 int loc = gl.getUniformLocation(programID, name); in setUniform()
|
D | es3fShaderFragDataTests.cpp | 211 gl.uniform1i (gl.getUniformLocation(program.getProgram(), "u_index"), 0); in iterate() 274 …const int indexLoc = program.isOk() ? gl.getUniformLocation(program.getProgram(), "u_index")… 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() 363 gl.uniform1i(gl.getUniformLocation(program, "u_sampler0"), 0); in setUniforms() 364 …gl.uniformMatrix3fv(gl.getUniformLocation(program, "u_coordMat"), 1, GL_FALSE, m_coordMat.getColum… in setUniforms() 365 gl.uniform1i(gl.getUniformLocation(program, "u_layer"), m_layer); in setUniforms() 366 gl.uniform4fv(gl.getUniformLocation(program, "u_scale"), 1, m_texScale.getPtr()); in setUniforms() 367 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()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cES31CompatibilitySampleVariablesTests.cpp | 367 gl.uniform1i(gl.getUniformLocation(program.getProgram(), "u_sampleMask"), m_sampleMask); in iterate() 436 gl.uniform1i(gl.getUniformLocation(program.getProgram(), "u_samples"), m_samples); in iterate() 440 gl.uniform1i(gl.getUniformLocation(program.getProgram(), "u_tex"), 1); in iterate() 441 gl.uniform1i(gl.getUniformLocation(program.getProgram(), "u_texMS"), 0); in iterate() 446 gl.uniform1i(gl.getUniformLocation(program.getProgram(), "u_tex"), 0); in iterate() 447 gl.uniform1i(gl.getUniformLocation(program.getProgram(), "u_texMS"), 1); in iterate() 743 gl.uniform1i(gl.getUniformLocation(program.getProgram(), "u_samples"), m_samples); in iterate() 747 gl.uniform1i(gl.getUniformLocation(program.getProgram(), "u_tex"), 1); in iterate() 748 gl.uniform1i(gl.getUniformLocation(program.getProgram(), "u_texMS"), 0); in iterate() 753 gl.uniform1i(gl.getUniformLocation(program.getProgram(), "u_tex"), 0); in iterate() [all …]
|
D | gl4cGPUShaderFP64Tests.cpp | 2019 m_po_bool_arr_uniform_location = gl.getUniformLocation(m_po_id, "uniform_bool_arr[0]"); in initTest() 2020 m_po_bool_uniform_location = gl.getUniformLocation(m_po_id, "uniform_bool"); in initTest() 2021 m_po_bvec2_arr_uniform_location = gl.getUniformLocation(m_po_id, "uniform_bvec2_arr[0]"); in initTest() 2022 m_po_bvec2_uniform_location = gl.getUniformLocation(m_po_id, "uniform_bvec2"); in initTest() 2023 m_po_bvec3_arr_uniform_location = gl.getUniformLocation(m_po_id, "uniform_bvec3_arr[0]"); in initTest() 2024 m_po_bvec3_uniform_location = gl.getUniformLocation(m_po_id, "uniform_bvec3"); in initTest() 2025 m_po_bvec4_arr_uniform_location = gl.getUniformLocation(m_po_id, "uniform_bvec4_arr[0]"); in initTest() 2026 m_po_bvec4_uniform_location = gl.getUniformLocation(m_po_id, "uniform_bvec4"); in initTest() 2027 m_po_dmat2_arr_uniform_location = gl.getUniformLocation(m_po_id, "uniform_dmat2_arr[0]"); in initTest() 2028 m_po_dmat2_uniform_location = gl.getUniformLocation(m_po_id, "uniform_dmat2"); in initTest() [all …]
|
/external/deqp/external/openglcts/modules/common/ |
D | glcSampleVariablesTests.cpp | 369 gl.uniform1i(gl.getUniformLocation(program.getProgram(), "u_sampleMask"), m_sampleMask); in iterate() 438 gl.uniform1i(gl.getUniformLocation(program.getProgram(), "u_samples"), m_samples); in iterate() 442 gl.uniform1i(gl.getUniformLocation(program.getProgram(), "u_tex"), 1); in iterate() 443 gl.uniform1i(gl.getUniformLocation(program.getProgram(), "u_texMS"), 0); in iterate() 448 gl.uniform1i(gl.getUniformLocation(program.getProgram(), "u_tex"), 0); in iterate() 449 gl.uniform1i(gl.getUniformLocation(program.getProgram(), "u_texMS"), 1); in iterate() 742 gl.uniform1i(gl.getUniformLocation(program.getProgram(), "u_samples"), m_samples); in iterate() 746 gl.uniform1i(gl.getUniformLocation(program.getProgram(), "u_tex"), 1); in iterate() 747 gl.uniform1i(gl.getUniformLocation(program.getProgram(), "u_texMS"), 0); in iterate() 752 gl.uniform1i(gl.getUniformLocation(program.getProgram(), "u_tex"), 0); in iterate() [all …]
|
D | glcShaderRenderCase.cpp | 918 int uniLoc = gl.getUniformLocation(programID, s_boolUniforms[i].name); in setupDefaultUniforms() 941 int uniLoc = gl.getUniformLocation(programID, uni.name); in setupDefaultUniforms() 960 int uniLoc = gl.getUniformLocation(programID, s_intUniforms[i].name); in setupDefaultUniforms() 977 int uniLoc = gl.getUniformLocation(programID, s_ivec2Uniforms[i].name); in setupDefaultUniforms() 994 int uniLoc = gl.getUniformLocation(programID, s_ivec3Uniforms[i].name); in setupDefaultUniforms() 1011 int uniLoc = gl.getUniformLocation(programID, s_ivec4Uniforms[i].name); in setupDefaultUniforms() 1033 int uniLoc = gl.getUniformLocation(programID, s_floatUniforms[i].name); in setupDefaultUniforms() 1051 int uniLoc = gl.getUniformLocation(programID, s_vec2Uniforms[i].name); in setupDefaultUniforms() 1069 int uniLoc = gl.getUniformLocation(programID, s_vec3Uniforms[i].name); in setupDefaultUniforms() 1093 int uniLoc = gl.getUniformLocation(programID, s_vec4Uniforms[i].name); in setupDefaultUniforms()
|
D | glcFragDepthTests.cpp | 182 …gl.uniform4f(gl.getUniformLocation(basicQuadProgram.getProgram(), "u_color"), 0.0f, 0.0f, 1.0f, 1.… in iterate() 216 gl.uniform4f(gl.getUniformLocation(program.getProgram(), "u_color"), 0.0f, 1.0f, 0.0f, 1.0f); in iterate() 333 gl.uniform4f(gl.getUniformLocation(program.getProgram(), "u_color"), 0.0f, 1.0f, 0.0f, 1.0f); in iterate() 361 int colorLoc = gl.getUniformLocation(program.getProgram(), "u_color"); in iterate()
|
D | glcShaderStructTests.cpp | 982 …int loc = gl.getUniformLocation(programID, name); … 995 …int loc = gl.getUniformLocation(programID, name); … 1010 int loc = gl.getUniformLocation(programID, name); in setUniform() 1017 int loc = gl.getUniformLocation(programID, name); in setUniform() 1024 int loc = gl.getUniformLocation(programID, name); in setUniform()
|
/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()
|
D | glsTextureTestUtil.cpp | 444 gl.uniform1i(gl.getUniformLocation(prog, "u_sampler"), texUnit); in renderQuad() 450 gl.uniform1f(gl.getUniformLocation(prog, "u_bias"), params.bias); in renderQuad() 457 gl.uniform1f(gl.getUniformLocation(prog, "u_ref"), params.ref); in renderQuad() 462 gl.uniform4fv(gl.getUniformLocation(prog, "u_colorScale"), 1, params.colorScale.getPtr()); in renderQuad() 463 gl.uniform4fv(gl.getUniformLocation(prog, "u_colorBias"), 1, params.colorBias.getPtr()); in renderQuad()
|
/external/deqp/external/openglcts/modules/glesext/geometry_shader/ |
D | esextcGeometryShaderRendering.cpp | 969 m_renderingTargetSize_uniform_location = gl.getUniformLocation(m_po_id, "renderingTargetSize"); in initTest() 970 …m_singleRenderingTargetSize_uniform_location = gl.getUniformLocation(m_po_id, "singleRenderingTarg… in initTest() 3345 …glw::GLint is_gl_line_loop_draw_call_uniform_location = gl.getUniformLocation(m_po_id, "is_gl_line… in setUniformsBeforeDrawCall() 3347 gl.getUniformLocation(m_po_id, "is_gl_line_strip_adjacency_draw_call"); in setUniformsBeforeDrawCall() 3349 gl.getUniformLocation(m_po_id, "is_gl_lines_adjacency_draw_call"); in setUniformsBeforeDrawCall() 3350 …glw::GLint is_gl_lines_draw_call_uniform_location = gl.getUniformLocation(m_po_id, "is_gl_lines_dr… in setUniformsBeforeDrawCall() 3351 …glw::GLint is_indexed_draw_call_uniform_location = gl.getUniformLocation(m_po_id, "is_indexed_dra… in setUniformsBeforeDrawCall() 5334 glw::GLint is_lines_output_uniform_location = gl.getUniformLocation(m_po_id, "is_lines_output"); in setUniformsBeforeDrawCall() 5335 …glw::GLint is_indexed_draw_call_uniform_location = gl.getUniformLocation(m_po_id, "is_indexed_draw… in setUniformsBeforeDrawCall() 5336 …glw::GLint is_instanced_draw_call_uniform_location = gl.getUniformLocation(m_po_id, "is_instanced… in setUniformsBeforeDrawCall() [all …]
|
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/ |
D | esextcTessellationShaderPrimitiveCoverage.cpp | 592 innerLevelUniformLocation = gl.getUniformLocation(po_id, "innerLevel"); in drawPatch() 595 outerLevelUniformLocation = gl.getUniformLocation(po_id, "outerLevel"); in drawPatch() 617 stencilPassColorUniformLocation = gl.getUniformLocation(po_id, "stencil_fail_color"); in drawPatch() 649 …stencilPassColorUniformLocation = gl.getUniformLocation(m_stencil_verification_po_id, "stencil_fai… in drawPatch()
|
/external/deqp/external/openglcts/modules/gles31/ |
D | es31cSeparateShaderObjsTests.cpp | 1422 locationA[i] = gl.getUniformLocation(programA, name.c_str()); in setAndCompareUniforms() 1423 locationB[i] = gl.getUniformLocation(programB, name.c_str()); in setAndCompareUniforms() 1431 locationA[i] = gl.getUniformLocation(programA, name.c_str()); in setAndCompareUniforms() 1432 locationB[i] = gl.getUniformLocation(programB, name.c_str()); in setAndCompareUniforms() 1687 locationA[numUniforms] = gl.getUniformLocation(programA, name.c_str()); in setAndCompareMatrixUniforms() 1688 locationB[numUniforms] = gl.getUniformLocation(programB, name.c_str()); in setAndCompareMatrixUniforms() 1695 locationA[numUniforms] = gl.getUniformLocation(programA, name.c_str()); in setAndCompareMatrixUniforms() 1696 locationB[numUniforms] = gl.getUniformLocation(programB, name.c_str()); in setAndCompareMatrixUniforms() 1963 int unifLocation = gl.getUniformLocation(progNoLink.getProgram(), "u_color"); in iterate() 2214 gl.uniform4f(gl.getUniformLocation(progVF.getProgram(), "u_color"), 0.0f, 1.0f, 0.0f, 1.0f); in iterate() [all …]
|
D | es31cTextureStorageMultisampleFunctionalTests.cpp | 942 glw::GLint n_max_samples_uniform_location = gl.getUniformLocation(po_id, "n_max_samples"); in iterate() 943 glw::GLint n_sample_uniform_location = gl.getUniformLocation(po_id, "n_sample"); in iterate() 944 glw::GLint x1y1_uniform_location = gl.getUniformLocation(po_id, "x1y1"); in iterate() 1552 glw::GLuint n_bits_location = gl.getUniformLocation(po_verify_id, "n_bits"); in iterate() 1553 glw::GLuint n_bit_on_location = gl.getUniformLocation(po_verify_id, "n_bit_on"); in iterate() 2110 glw::GLuint n_bits_location = gl.getUniformLocation(po_verify_id, "n_bits"); in iterate() 2111 glw::GLuint n_bit_on_location = gl.getUniformLocation(po_verify_id, "n_bit_on"); in iterate() 2604 glw::GLint sampler_2d_array_location = gl.getUniformLocation(po_id, "sampler_2d_array"); in iterate() 2605 glw::GLint sampler_2d_location = gl.getUniformLocation(po_id, "sampler_2d"); in iterate()
|