Home
last modified time | relevance | path

Searched refs:testProgram (Results 1 – 11 of 11) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DRobustFragmentShaderOutputTest.cpp42 ANGLE_GL_PROGRAM(testProgram, essl3_shaders::vs::Simple(), kFS); in TEST_P()
74 glUseProgram(testProgram); in TEST_P()
78 drawQuad(testProgram, essl3_shaders::PositionAttrib(), 0.5f, 1.0f, true); in TEST_P()
DGLSLTest.cpp14296 ANGLE_GL_PROGRAM(testProgram, kVS, kFS); in TEST_P()
14297 drawQuad(testProgram, "position", 0.5f, 1.0f, true); in TEST_P()
14336 ANGLE_GL_PROGRAM(testProgram, kVS, kFS); in TEST_P()
14337 drawQuad(testProgram, "position", 0.5f, 1.0f, true); in TEST_P()
14377 ANGLE_GL_PROGRAM(testProgram, kVS, kFS); in TEST_P()
14378 drawQuad(testProgram, "position", 0.5f, 1.0f, true); in TEST_P()
14418 ANGLE_GL_PROGRAM(testProgram, kVS, kFS); in TEST_P()
14419 drawQuad(testProgram, "position", 0.5f, 1.0f, true); in TEST_P()
14467 ANGLE_GL_PROGRAM(testProgram, kVS, kFS); in TEST_P()
14468 drawQuad(testProgram, "position", 0.5f, 1.0f, true); in TEST_P()
[all …]
DStateChangeTest.cpp7064 ANGLE_GL_PROGRAM(testProgram, kVS, kFS); in TEST_P()
7065 glUseProgram(testProgram); in TEST_P()
7067 GLint posLoc = glGetAttribLocation(testProgram, "position"); in TEST_P()
7069 GLint colorLoc = glGetAttribLocation(testProgram, "color"); in TEST_P()
7133 ANGLE_GL_PROGRAM(testProgram, essl1_shaders::vs::Zero(), essl1_shaders::fs::Red()); in TEST_P()
7134 glUseProgram(testProgram); in TEST_P()
7180 ANGLE_GL_PROGRAM(testProgram, kVS, kFS); in TEST_P()
7181 glUseProgram(testProgram); in TEST_P()
7187 GLint uniformloc = glGetUniformLocation(testProgram, "u_Cube1"); in TEST_P()
7195 glLinkProgram(testProgram); in TEST_P()
[all …]
DVulkanPerformanceCounterTest.cpp3152 ANGLE_GL_PROGRAM(testProgram, essl1_shaders::vs::Simple(), essl1_shaders::fs::Green()); in TEST_P()
3153 glUseProgram(testProgram); in TEST_P()
3155 GLint posLoc = glGetAttribLocation(testProgram, essl1_shaders::PositionAttrib()); in TEST_P()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcAggressiveShaderOptimizationsTests.cpp432 glu::ShaderProgram testProgram(renderContext, sources); in renderAndGrabSurface() local
433 if (!testProgram.isOk()) in renderAndGrabSurface()
435 m_testCtx.getLog() << testProgram; in renderAndGrabSurface()
440 gl.useProgram(testProgram.getProgram()); in renderAndGrabSurface()
443 glu::draw(renderContext, testProgram.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), vertexArrays, in renderAndGrabSurface()
DglcPolygonOffsetClampTests.cpp277 ShaderProgram testProgram(gl, testSources); in test() local
279 if (!testProgram.isOk()) in test()
282 << "Vertex: " << testProgram.getShaderInfo(SHADERTYPE_VERTEX).infoLog << "\n" in test()
283 << "Fragment: " << testProgram.getShaderInfo(SHADERTYPE_FRAGMENT).infoLog << "\n" in test()
284 << "Program: " << testProgram.getProgramInfo().infoLog << tcu::TestLog::EndMessage; in test()
317 gl.useProgram(testProgram.getProgram()); in test()
DglcMultipleContextsTests.cpp86 bool testProgram(Utils::program** programs, bool is_separable, const glw::GLuint test_cases[][5],
248 if (false == testProgram(program_pointers, false, test_cases, n_test_cases)) in iterate()
276 if (false == testProgram(program_pointers, true, test_cases, n_test_cases)) in iterate()
775 bool UniformPreservationTest::testProgram(Utils::program** programs, bool is_separable, in testProgram() function in glcts::UniformPreservationTest
DglcInternalformatTests.cpp873 glu::ShaderProgram testProgram( in iterate() local
876 if (!testProgram.isOk()) in iterate()
878 m_testCtx.getLog() << testProgram; in iterate()
881 gl.useProgram(testProgram.getProgram()); in iterate()
882 gl.uniform1i(gl.getUniformLocation(testProgram.getProgram(), "sampler"), 0); in iterate()
886 renderTexturedQuad(testProgram.getProgram()); in iterate()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cVertexAttrib64BitTest.cpp1406 bool testProgram(_iteration iteration, GLuint program_id, bool use_arrays) const;
2756 if (false == testProgram(iteration, _no_array__no_location______regular.m_program_id, false)) in testIteration()
2763 if (false == testProgram(iteration, use_array__no_location______regular.m_program_id, true)) in testIteration()
2770 if (false == testProgram(iteration, _no_array_use_location______regular.m_program_id, false)) in testIteration()
2777 if (false == testProgram(iteration, use_array_use_location______regular.m_program_id, true)) in testIteration()
2854 bool LimitTest::testProgram(_iteration iteration, GLuint program_id, bool use_arrays) const in testProgram() function in VertexAttrib64Bit::LimitTest
/third_party/vk-gl-cts/external/openglcts/modules/gles2/
Des2cTexture3DTests.cpp332 glu::ShaderProgram testProgram(renderContext, programSources); in renderQuad() local
333 if (!testProgram.isOk()) in renderQuad()
335 m_testCtx.getLog() << testProgram; in renderQuad()
340 deUint32 programId = testProgram.getProgram(); in renderQuad()
/third_party/chromium/patch/
D0001-cve.patch3451 + ANGLE_GL_PROGRAM_TRANSFORM_FEEDBACK(testProgram, essl1_shaders::vs::Simple(),
3454 + glUseProgram(testProgram);
3460 + GLint loc = glGetAttribLocation(testProgram, essl1_shaders::PositionAttrib());
3492 + ANGLE_GL_PROGRAM_TRANSFORM_FEEDBACK(testProgram, essl1_shaders::vs::Simple(),
3495 + glUseProgram(testProgram);