Home
last modified time | relevance | path

Searched refs:getUniformLocation (Results 1 – 25 of 212) sorted by relevance

123456789

/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DGlRectDrawer.java127 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()
DSurfaceTextureHelper.java175 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/
Des3pRedundantStateChangeTests.cpp152 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 …]
Des3pStateChangeTests.cpp161 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/
Des2pRedundantStateChangeTests.cpp152 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 …]
Des2pStateChangeTests.cpp161 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/
Des3fFboTestUtil.cpp105 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 …]
Des3fShaderMetamorphicTests.cpp137 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()
Des3fFragDepthTests.cpp172 …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()
Des3fShaderStructTests.cpp1295 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()
Des3fShaderFragDataTests.cpp211 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/
Des31fFboTestUtil.cpp194 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()
Des31fShaderSharedVarTests.cpp188 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/
Dgl4cES31CompatibilitySampleVariablesTests.cpp367 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 …]
Dgl4cGPUShaderFP64Tests.cpp2019 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/
DglcSampleVariablesTests.cpp369 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 …]
DglcShaderRenderCase.cpp918 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()
DglcFragDepthTests.cpp182 …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()
DglcShaderStructTests.cpp982 …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/
DglsShaderRenderCase.cpp827 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()
DglsTextureTestUtil.cpp444 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/
DesextcGeometryShaderRendering.cpp969 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/
DesextcTessellationShaderPrimitiveCoverage.cpp592 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/
Des31cSeparateShaderObjsTests.cpp1422 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 …]
Des31cTextureStorageMultisampleFunctionalTests.cpp942 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()

123456789