Lines Matching refs:uniLoc

827 		int uniLoc = gl.getUniformLocation(programID, s_boolUniforms[i].name);  in setupDefaultUniforms()  local
828 if (uniLoc != -1) in setupDefaultUniforms()
829 gl.uniform1i(uniLoc, s_boolUniforms[i].value); in setupDefaultUniforms()
848 int uniLoc = gl.getUniformLocation(programID, uni.name); in setupDefaultUniforms() local
849 if (uniLoc != -1) in setupDefaultUniforms()
850 gl.uniform4iv(uniLoc, 1, &arr[0]); in setupDefaultUniforms()
872 int uniLoc = gl.getUniformLocation(programID, s_intUniforms[i].name); in setupDefaultUniforms() local
873 if (uniLoc != -1) in setupDefaultUniforms()
874 gl.uniform1i(uniLoc, s_intUniforms[i].value); in setupDefaultUniforms()
891 int uniLoc = gl.getUniformLocation(programID, s_ivec2Uniforms[i].name); in setupDefaultUniforms() local
892 if (uniLoc != -1) in setupDefaultUniforms()
893 gl.uniform2iv(uniLoc, 1, s_ivec2Uniforms[i].value.getPtr()); in setupDefaultUniforms()
910 int uniLoc = gl.getUniformLocation(programID, s_ivec3Uniforms[i].name); in setupDefaultUniforms() local
911 if (uniLoc != -1) in setupDefaultUniforms()
912 gl.uniform3iv(uniLoc, 1, s_ivec3Uniforms[i].value.getPtr()); in setupDefaultUniforms()
929 int uniLoc = gl.getUniformLocation(programID, s_ivec4Uniforms[i].name); in setupDefaultUniforms() local
930 if (uniLoc != -1) in setupDefaultUniforms()
931 gl.uniform4iv(uniLoc, 1, s_ivec4Uniforms[i].value.getPtr()); in setupDefaultUniforms()
958 int uniLoc = gl.getUniformLocation(programID, s_floatUniforms[i].name); in setupDefaultUniforms() local
959 if (uniLoc != -1) in setupDefaultUniforms()
960 gl.uniform1f(uniLoc, s_floatUniforms[i].value); in setupDefaultUniforms()
976 int uniLoc = gl.getUniformLocation(programID, s_vec2Uniforms[i].name); in setupDefaultUniforms() local
977 if (uniLoc != -1) in setupDefaultUniforms()
978 gl.uniform2fv(uniLoc, 1, s_vec2Uniforms[i].value.getPtr()); in setupDefaultUniforms()
994 int uniLoc = gl.getUniformLocation(programID, s_vec3Uniforms[i].name); in setupDefaultUniforms() local
995 if (uniLoc != -1) in setupDefaultUniforms()
996 gl.uniform3fv(uniLoc, 1, s_vec3Uniforms[i].value.getPtr()); in setupDefaultUniforms()
1015 int uniLoc = gl.getUniformLocation(programID, s_vec4Uniforms[i].name); in setupDefaultUniforms() local
1016 if (uniLoc != -1) in setupDefaultUniforms()
1017 gl.uniform4fv(uniLoc, 1, s_vec4Uniforms[i].value.getPtr()); in setupDefaultUniforms()