Home
last modified time | relevance | path

Searched refs:uniLoc (Results 1 – 17 of 17) sorted by relevance

/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DProgramGL.cpp496 mFunctions->programUniform1fv(mProgramID, uniLoc(location), count, v); in setUniform1fv()
501 mFunctions->uniform1fv(uniLoc(location), count, v); in setUniform1fv()
509 mFunctions->programUniform2fv(mProgramID, uniLoc(location), count, v); in setUniform2fv()
514 mFunctions->uniform2fv(uniLoc(location), count, v); in setUniform2fv()
522 mFunctions->programUniform3fv(mProgramID, uniLoc(location), count, v); in setUniform3fv()
527 mFunctions->uniform3fv(uniLoc(location), count, v); in setUniform3fv()
535 mFunctions->programUniform4fv(mProgramID, uniLoc(location), count, v); in setUniform4fv()
540 mFunctions->uniform4fv(uniLoc(location), count, v); in setUniform4fv()
548 mFunctions->programUniform1iv(mProgramID, uniLoc(location), count, v); in setUniform1iv()
553 mFunctions->uniform1iv(uniLoc(location), count, v); in setUniform1iv()
[all …]
DProgramGL.h151 GLint uniLoc(GLint glLocation) const { return mUniformRealLocationMap[glLocation]; } in uniLoc() function
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DProgramGL.cpp504 mFunctions->programUniform1fv(mProgramID, uniLoc(location), count, v); in setUniform1fv()
509 mFunctions->uniform1fv(uniLoc(location), count, v); in setUniform1fv()
517 mFunctions->programUniform2fv(mProgramID, uniLoc(location), count, v); in setUniform2fv()
522 mFunctions->uniform2fv(uniLoc(location), count, v); in setUniform2fv()
530 mFunctions->programUniform3fv(mProgramID, uniLoc(location), count, v); in setUniform3fv()
535 mFunctions->uniform3fv(uniLoc(location), count, v); in setUniform3fv()
543 mFunctions->programUniform4fv(mProgramID, uniLoc(location), count, v); in setUniform4fv()
548 mFunctions->uniform4fv(uniLoc(location), count, v); in setUniform4fv()
556 mFunctions->programUniform1iv(mProgramID, uniLoc(location), count, v); in setUniform1iv()
561 mFunctions->uniform1iv(uniLoc(location), count, v); in setUniform1iv()
[all …]
DProgramGL.h146 GLint uniLoc(GLint glLocation) const { return mUniformRealLocationMap[glLocation]; } in uniLoc() function
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcShaderRenderCase.cpp937 int uniLoc = gl.getUniformLocation(programID, s_boolUniforms[i].name); in setupDefaultUniforms() local
938 if (uniLoc != -1) in setupDefaultUniforms()
939 gl.uniform1i(uniLoc, s_boolUniforms[i].value); in setupDefaultUniforms()
960 int uniLoc = gl.getUniformLocation(programID, uni.name); in setupDefaultUniforms() local
961 if (uniLoc != -1) in setupDefaultUniforms()
962 gl.uniform4iv(uniLoc, 1, &arr[0]); in setupDefaultUniforms()
979 int uniLoc = gl.getUniformLocation(programID, s_intUniforms[i].name); in setupDefaultUniforms() local
980 if (uniLoc != -1) in setupDefaultUniforms()
981 gl.uniform1i(uniLoc, s_intUniforms[i].value); in setupDefaultUniforms()
996 int uniLoc = gl.getUniformLocation(programID, s_ivec2Uniforms[i].name); in setupDefaultUniforms() local
[all …]
/third_party/vk-gl-cts/modules/glshared/
DglsShaderRenderCase.cpp827 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
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DRobustBufferAccessBehaviorTest.cpp402 GLint uniLoc = glGetUniformLocation(program, "comparison"); in TEST_P() local
403 ASSERT_NE(-1, uniLoc); in TEST_P()
404 glUniform2f(uniLoc, kDefaultFloat, kDefaultFloat); in TEST_P()
465 GLint uniLoc = glGetUniformLocation(program, "comparison"); in TEST_P() local
466 ASSERT_NE(-1, uniLoc); in TEST_P()
467 glUniform2f(uniLoc, 0, 0); in TEST_P()
539 GLint uniLoc = glGetUniformLocation(program, "comparison"); in TEST_P() local
540 ASSERT_NE(-1, uniLoc); in TEST_P()
541 glUniform2f(uniLoc, kDefaultFloat, kDefaultFloat); in TEST_P()
DClearTest.cpp578 GLint uniLoc = glGetUniformLocation(program, essl1_shaders::ColorUniform()); in TEST_P() local
579 ASSERT_NE(-1, uniLoc); in TEST_P()
580 glUniform4f(uniLoc, 0.0f, 1.0f, 0.0f, 1.0f); in TEST_P()
1172 GLint uniLoc = glGetUniformLocation(program, "tex"); in TEST_P() local
1173 ASSERT_NE(-1, uniLoc); in TEST_P()
1174 glUniform1i(uniLoc, 0); in TEST_P()
DGLSLTest.cpp3358 GLint uniLoc = glGetUniformLocation(program, "b.q"); in TEST_P() local
3359 ASSERT_NE(-1, uniLoc); in TEST_P()
3360 glUniform1f(uniLoc, 0.5f); in TEST_P()
5332 GLint uniLoc = glGetUniformLocation(program, "viewportSize"); in TEST_P() local
5333 ASSERT_NE(-1, uniLoc); in TEST_P()
5334 glUniform2f(uniLoc, static_cast<GLfloat>(getWindowWidth()), in TEST_P()
5401 GLint uniLoc = glGetUniformLocation(program, "viewportSize"); in TEST_P() local
5402 ASSERT_NE(-1, uniLoc); in TEST_P()
5403 glUniform2f(uniLoc, static_cast<GLfloat>(getWindowWidth()), in TEST_P()
DVertexAttributeTest.cpp1809 GLint uniLoc = glGetUniformLocation(program, "expectedValue"); in TEST_P() local
1810 ASSERT_NE(-1, uniLoc); in TEST_P()
1822 glUniform1f(uniLoc, testValue); in TEST_P()
1856 GLint uniLoc = glGetUniformLocation(program, "expectedValue"); in TEST_P() local
1857 ASSERT_NE(-1, uniLoc); in TEST_P()
1870 glUniform1f(uniLoc, testValue); in TEST_P()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DRobustBufferAccessBehaviorTest.cpp399 GLint uniLoc = glGetUniformLocation(program, "comparison"); in TEST_P() local
400 ASSERT_NE(-1, uniLoc); in TEST_P()
401 glUniform2f(uniLoc, kDefaultFloat, kDefaultFloat); in TEST_P()
462 GLint uniLoc = glGetUniformLocation(program, "comparison"); in TEST_P() local
463 ASSERT_NE(-1, uniLoc); in TEST_P()
464 glUniform2f(uniLoc, 0, 0); in TEST_P()
536 GLint uniLoc = glGetUniformLocation(program, "comparison"); in TEST_P() local
537 ASSERT_NE(-1, uniLoc); in TEST_P()
538 glUniform2f(uniLoc, kDefaultFloat, kDefaultFloat); in TEST_P()
DGeometryShaderTest.cpp1659 GLint uniLoc = glGetUniformLocation(vertProg, "uniVec"); in TEST_P() local
1660 ASSERT_NE(-1, uniLoc); in TEST_P()
1661 glUniform4f(uniLoc, 0, 1, 0, 1); in TEST_P()
1702 uniLoc = glGetUniformLocation(vertProg, "uniVec"); in TEST_P()
1703 ASSERT_NE(-1, uniLoc); in TEST_P()
1704 glUniform4f(uniLoc, 0, 1, 0, 1); in TEST_P()
1840 GLint uniLoc = glGetUniformLocation(program, "uniOne"); in TEST_P() local
1841 ASSERT_NE(-1, uniLoc); in TEST_P()
1842 glUniform4f(uniLoc, 1.0f, 1.0f, 1.0f, 1.0f); in TEST_P()
DClearTest.cpp648 GLint uniLoc = glGetUniformLocation(program, essl1_shaders::ColorUniform()); in TEST_P() local
649 ASSERT_NE(-1, uniLoc); in TEST_P()
650 glUniform4f(uniLoc, 0.0f, 1.0f, 0.0f, 1.0f); in TEST_P()
699 GLint uniLoc = glGetUniformLocation(program, essl1_shaders::ColorUniform()); in TEST_P() local
700 ASSERT_NE(-1, uniLoc); in TEST_P()
701 glUniform4f(uniLoc, 0.0f, 1.0f, 0.0f, 1.0f); in TEST_P()
743 glUniform4f(uniLoc, 1.0f, 0.25f, 1.0f, 1.0f); in TEST_P()
1514 GLint uniLoc = glGetUniformLocation(program, "tex"); in TEST_P() local
1515 ASSERT_NE(-1, uniLoc); in TEST_P()
1516 glUniform1i(uniLoc, 0); in TEST_P()
DVertexAttributeTest.cpp2906 GLint uniLoc = glGetUniformLocation(program, "expectedValue"); in TEST_P() local
2907 ASSERT_NE(-1, uniLoc); in TEST_P()
2919 glUniform1f(uniLoc, testValue); in TEST_P()
2953 GLint uniLoc = glGetUniformLocation(program, "expectedValue"); in TEST_P() local
2954 ASSERT_NE(-1, uniLoc); in TEST_P()
2967 glUniform1f(uniLoc, testValue); in TEST_P()
3156 GLint uniLoc = glGetUniformLocation(program, "expectedValue"); in TEST_P() local
3157 ASSERT_NE(-1, uniLoc); in TEST_P()
3168 glUniform1i(uniLoc, testValue); in TEST_P()
3207 GLint uniLoc = glGetUniformLocation(program, "expectedValue"); in TEST_P() local
[all …]
DGLSLTest.cpp6045 GLint uniLoc = glGetUniformLocation(program, "b.q"); in TEST_P() local
6046 ASSERT_NE(-1, uniLoc); in TEST_P()
6047 glUniform1f(uniLoc, 0.5f); in TEST_P()
6069 GLint uniLoc = glGetUniformLocation(program, "b[0].q"); in TEST_P() local
6070 ASSERT_NE(-1, uniLoc); in TEST_P()
6071 glUniform1f(uniLoc, 0.5f); in TEST_P()
8827 GLint uniLoc = glGetUniformLocation(program, "viewportSize"); in TEST_P() local
8828 ASSERT_NE(-1, uniLoc); in TEST_P()
8829 glUniform2f(uniLoc, static_cast<GLfloat>(getWindowWidth()), in TEST_P()
8898 GLint uniLoc = glGetUniformLocation(program, "viewportSize"); in TEST_P() local
[all …]
DVulkanPerformanceCounterTest.cpp2973 GLint uniLoc = glGetUniformLocation(program, "checkValue"); in TEST_P() local
2974 ASSERT_NE(-1, uniLoc); in TEST_P()
3009 glUniform1i(uniLoc, 1); in TEST_P()
3015 glUniform1i(uniLoc, 2); in TEST_P()
DStateChangeTest.cpp3333 GLint uniLoc = glGetUniformLocation(program, essl1_shaders::Texture2DUniform()); in TEST_P() local
3334 ASSERT_NE(-1, uniLoc); in TEST_P()
3335 glUniform1i(uniLoc, 0); in TEST_P()