/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fShaderMetamorphicTests.cpp | 137 int uniformLoc = gl.getUniformLocation(program.getProgram(), "injectionSwitch"); in render() local 138 if (uniformLoc != -1) in render() 139 gl.uniform2f(uniformLoc, 0.0f, 1.0f); in render() 141 uniformLoc = gl.getUniformLocation(program.getProgram(), "resolution"); in render() 142 if (uniformLoc != -1) in render() 143 gl.uniform2f(uniformLoc, glw::GLfloat(img.getWidth()), glw::GLfloat(img.getHeight())); in render() 145 uniformLoc = gl.getUniformLocation(program.getProgram(), "mouse"); in render() 146 if (uniformLoc != -1) in render() 147 gl.uniform2f(uniformLoc, 0.0f, 0.0f); in render() 149 uniformLoc = gl.getUniformLocation(program.getProgram(), "time"); in render() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | WebGLFramebufferTest.cpp | 31 void drawUByteColorQuad(GLuint program, GLint uniformLoc, const GLColor &color); 215 GLint uniformLoc, in drawUByteColorQuad() argument 220 glUniform4fv(uniformLoc, 1, vecColor.data()); in drawUByteColorQuad() 232 GLint uniformLoc = glGetUniformLocation(program.get(), essl1_shaders::ColorUniform()); in testDepthStencilDepthStencil() local 233 ASSERT_NE(-1, uniformLoc); in testDepthStencilDepthStencil() 276 drawUByteColorQuad(program.get(), uniformLoc, GLColor::green); in testDepthStencilDepthStencil() 278 drawUByteColorQuad(program.get(), uniformLoc, GLColor::red); in testDepthStencilDepthStencil() 308 drawUByteColorQuad(program.get(), uniformLoc, GLColor::green); in testDepthStencilDepthStencil() 310 drawUByteColorQuad(program.get(), uniformLoc, GLColor::red); in testDepthStencilDepthStencil()
|
D | WebGLReadOutsideFramebufferTest.cpp | 253 GLint uniformLoc = glGetUniformLocation(mProgram, "u_texture"); in testSetUp() local 254 ASSERT_NE(-1, uniformLoc); in testSetUp() 255 glUniform1i(uniformLoc, 0); in testSetUp()
|
D | SimpleOperationTest.cpp | 244 const GLint uniformLoc = glGetUniformLocation(program, "u_input"); in TEST_P() local 245 EXPECT_NE(-1, uniformLoc); in TEST_P()
|
D | ComputeShaderTest.cpp | 171 GLint uniformLoc = glGetUniformLocation(program.get(), "myUniformInt"); in TEST_P() local 172 EXPECT_NE(-1, uniformLoc); in TEST_P() 174 uniformLoc = glGetUniformLocation(program.get(), "myUniformSampler"); in TEST_P() 175 EXPECT_NE(-1, uniformLoc); in TEST_P()
|
D | StateChangeTest.cpp | 2832 const GLint uniformLoc = glGetUniformLocation(program, essl1_shaders::ColorUniform()); in TEST_P() local 2833 EXPECT_NE(-1, uniformLoc); in TEST_P() 2836 glUniform4f(uniformLoc, 1.0f, 0.0f, 0.0f, 1.0f); in TEST_P() 2856 glUniform4f(uniformLoc, 1.0f, 0.0f, 0.0f, 1.0f); in TEST_P()
|
D | WebGLCompatibilityTest.cpp | 2213 GLint uniformLoc = glGetUniformLocation(program.get(), "u_texture"); in TEST_P() local 2214 ASSERT_NE(-1, uniformLoc); in TEST_P() 2217 glUniform1i(uniformLoc, 0); in TEST_P()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | WebGLFramebufferTest.cpp | 31 void drawUByteColorQuad(GLuint program, GLint uniformLoc, const GLColor &color); 215 GLint uniformLoc, in drawUByteColorQuad() argument 220 glUniform4fv(uniformLoc, 1, vecColor.data()); in drawUByteColorQuad() 232 GLint uniformLoc = glGetUniformLocation(program.get(), essl1_shaders::ColorUniform()); in testDepthStencilDepthStencil() local 233 ASSERT_NE(-1, uniformLoc); in testDepthStencilDepthStencil() 276 drawUByteColorQuad(program.get(), uniformLoc, GLColor::green); in testDepthStencilDepthStencil() 278 drawUByteColorQuad(program.get(), uniformLoc, GLColor::red); in testDepthStencilDepthStencil() 308 drawUByteColorQuad(program.get(), uniformLoc, GLColor::green); in testDepthStencilDepthStencil() 310 drawUByteColorQuad(program.get(), uniformLoc, GLColor::red); in testDepthStencilDepthStencil()
|
D | WebGLReadOutsideFramebufferTest.cpp | 253 GLint uniformLoc = glGetUniformLocation(mProgram, "u_texture"); in testSetUp() local 254 ASSERT_NE(-1, uniformLoc); in testSetUp() 255 glUniform1i(uniformLoc, 0); in testSetUp()
|
D | ComputeShaderTest.cpp | 178 GLint uniformLoc = glGetUniformLocation(program.get(), "myUniformInt"); in TEST_P() local 179 EXPECT_NE(-1, uniformLoc); in TEST_P() 181 uniformLoc = glGetUniformLocation(program.get(), "myUniformSampler"); in TEST_P() 182 EXPECT_NE(-1, uniformLoc); in TEST_P() 4330 GLint uniformLoc = glGetUniformLocation(programCS, "data"); in TEST_P() local 4331 ASSERT_NE(uniformLoc, -1); in TEST_P() 4333 glUniform4f(uniformLoc, 0.0f, 0.0f, 1.0f, 1.0f); in TEST_P() 4354 glUniform4f(uniformLoc, 0.0f, 1.0f, 0.0f, 1.0f); in TEST_P() 4412 GLint uniformLoc = glGetUniformLocation(programCS, "data"); in TEST_P() local 4413 ASSERT_NE(uniformLoc, -1); in TEST_P() [all …]
|
D | WebGLCompatibilityTest.cpp | 2431 GLint uniformLoc = glGetUniformLocation(program.get(), "u_texture"); in TEST_P() local 2432 ASSERT_NE(-1, uniformLoc); in TEST_P() 2435 glUniform1i(uniformLoc, 0); in TEST_P() 2485 GLint uniformLoc = glGetUniformLocation(unusedProgram.get(), "u_texture"); in TEST_P() local 2486 ASSERT_NE(-1, uniformLoc); in TEST_P() 2487 glUniform1i(uniformLoc, 0); in TEST_P() 4155 GLint uniformLoc = glGetUniformLocation(program.get(), "tex"); in TEST_P() local 4156 ASSERT_NE(-1, uniformLoc); in TEST_P() 4159 glUniform1i(uniformLoc, 0); in TEST_P()
|
D | SimpleOperationTest.cpp | 242 const GLint uniformLoc = glGetUniformLocation(program, "u_input"); in TEST_P() local 243 EXPECT_NE(-1, uniformLoc); in TEST_P()
|
D | StateChangeTest.cpp | 3862 const GLint uniformLoc = glGetUniformLocation(program, essl1_shaders::ColorUniform()); in TEST_P() local 3863 EXPECT_NE(-1, uniformLoc); in TEST_P() 3866 glUniform4f(uniformLoc, 1.0f, 0.0f, 0.0f, 1.0f); in TEST_P() 3886 glUniform4f(uniformLoc, 1.0f, 0.0f, 0.0f, 1.0f); in TEST_P() 6281 GLint uniformLoc = glGetUniformLocation(programs[i], "u_value"); in TEST_P() local 6282 ASSERT_NE(uniformLoc, -1); in TEST_P() 6284 glUniform1f(uniformLoc, static_cast<float>(i + 1) / static_cast<float>(kProgramCount)); in TEST_P()
|
D | TextureTest.cpp | 2300 GLint uniformLoc = glGetUniformLocation(otherProgram, getTextureUniformName()); in TEST_P() local 2301 ASSERT_NE(-1, uniformLoc); in TEST_P() 2337 glUniform1i(uniformLoc, 0); in TEST_P() 2344 glUniform1i(uniformLoc, 0); in TEST_P() 2351 glUniform1i(uniformLoc, 0); in TEST_P() 2358 glUniform1i(uniformLoc, 0); in TEST_P()
|
D | FramebufferTest.cpp | 3737 GLint uniformLoc = glGetUniformLocation(textureProgram.get(), "u_texture"); in TEST_P() local 3738 ASSERT_NE(-1, uniformLoc); in TEST_P() 3739 glUniform1i(uniformLoc, 0); in TEST_P()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/ |
D | FrameCapture.cpp | 1742 gl::UniformLocation uniformLoc = program->getUniformLocation(uniformName); in CaptureUpdateUniformValues() local 1748 gl::UniformLocation readLoc = uniformLoc; in CaptureUpdateUniformValues() 1772 Capture(callsOut, CaptureUniform1iv(replayState, true, uniformLoc, uniformCount, in CaptureUpdateUniformValues() 1792 Capture(callsOut, CaptureUniformMatrix4x3fv(replayState, true, uniformLoc, in CaptureUpdateUniformValues() 1797 Capture(callsOut, CaptureUniformMatrix4x2fv(replayState, true, uniformLoc, in CaptureUpdateUniformValues() 1803 CaptureUniformMatrix4fv(replayState, true, uniformLoc, uniformCount, in CaptureUpdateUniformValues() 1807 Capture(callsOut, CaptureUniformMatrix3x4fv(replayState, true, uniformLoc, in CaptureUpdateUniformValues() 1812 Capture(callsOut, CaptureUniformMatrix3x2fv(replayState, true, uniformLoc, in CaptureUpdateUniformValues() 1818 CaptureUniformMatrix3fv(replayState, true, uniformLoc, uniformCount, in CaptureUpdateUniformValues() 1822 Capture(callsOut, CaptureUniformMatrix2x4fv(replayState, true, uniformLoc, in CaptureUpdateUniformValues() [all …]
|