Home
last modified time | relevance | path

Searched refs:expectedPixels (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/tests/
DGifTest.cpp565 SkColor expectedPixels[2][4] = { in DEF_TEST() local
572 expectedPixels[0][0] = 0xFF840000; in DEF_TEST()
573 expectedPixels[0][1] = 0xFF940000; in DEF_TEST()
574 expectedPixels[0][2] = 0xFFA50000; in DEF_TEST()
575 expectedPixels[0][3] = 0xFFB50000; in DEF_TEST()
576 expectedPixels[1][0] = 0xFFC60000; in DEF_TEST()
577 expectedPixels[1][1] = 0xFFD60000; in DEF_TEST()
578 expectedPixels[1][2] = 0xFFE70000; in DEF_TEST()
579 expectedPixels[1][3] = 0xFFF70000; in DEF_TEST()
587 expectedPixels[1][1] = use565 ? 0xFF0000FF : 0xFF0000FF; in DEF_TEST()
[all …]
DRectangleTextureTest.cpp51 SkAutoTMalloc<uint32_t> expectedPixels(pixelCnt); in test_clear() local
61 expectedPixels.get()[i] = expectedColor0; in test_clear()
78 expectedPixels.get()[y * h + x] = expectedColor1; in test_clear()
82 TestReadPixels(reporter, dContext, sfc, expectedPixels.get(), "RectangleTexture-clear"); in test_clear()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DGetImageTest.cpp468 std::vector<GLColor> expectedPixels = { in TEST_P() local
478 GL_UNSIGNED_BYTE, expectedPixels.data()); in TEST_P()
481 std::vector<GLColor> actualPixels(expectedPixels.size(), GLColor::white); in TEST_P()
484 EXPECT_EQ(expectedPixels, actualPixels); in TEST_P()
495 std::vector<GLColor> expectedPixels = { in TEST_P() local
503 GL_UNSIGNED_BYTE, expectedPixels.data()); in TEST_P()
506 std::vector<GLColor> actualPixels(expectedPixels.size(), GLColor::white); in TEST_P()
509 EXPECT_EQ(expectedPixels, actualPixels); in TEST_P()
524 std::vector<GLColor> expectedPixels = { in TEST_P() local
530 ASSERT_EQ(expectedPixels.size(), in TEST_P()
[all …]
DCopyTextureTest.cpp1395 GLColor expectedPixels(50u, 50u, 50u, 255u); in TEST_P() local
1414 EXPECT_PIXEL_COLOR_EQ(0, 0, expectedPixels); in TEST_P()
1427 GLColor expectedPixels(39u, 39u, 39u, 255u); in TEST_P() local
1446 EXPECT_PIXEL_COLOR_EQ(0, 0, expectedPixels); in TEST_P()
1459 GLColor expectedPixels(64u, 64u, 64u, 255u); in TEST_P() local
1478 EXPECT_PIXEL_COLOR_EQ(0, 0, expectedPixels); in TEST_P()
1490 GLColor expectedPixels(50u, 50u, 50u, 200u); in TEST_P() local
1508 EXPECT_PIXEL_COLOR_EQ(0, 0, expectedPixels); in TEST_P()
1521 GLColor expectedPixels(39u, 39u, 39u, 200u); in TEST_P() local
1539 EXPECT_PIXEL_COLOR_EQ(0, 0, expectedPixels); in TEST_P()
[all …]
DLineLoopTest.cpp420 std::vector<GLColor> expectedPixels(getWindowWidth() * getWindowHeight()); in TEST_P() local
441 expectedPixels.data()); in TEST_P()
477 EXPECT_EQ(expectedPixels[idx], renderedPixels[idx]) in TEST_P()
478 << "Expected pixel at " << x << ", " << y << " to be " << expectedPixels[idx] in TEST_P()
DInstancingTest.cpp531 std::vector<GLColor> expectedPixels(getWindowWidth() * getWindowHeight()); in TEST_P() local
556 expectedPixels.data()); in TEST_P()
592 EXPECT_EQ(expectedPixels, actualPixels); in TEST_P()
600 EXPECT_EQ(expectedPixels, actualPixels); in TEST_P()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cShaderViewportLayerArrayTests.cpp389 std::vector<std::pair<tcu::Vec2, tcu::Vec4> > expectedPixels; in iterate() local
402 expectedPixels.push_back(std::make_pair(center, renderColor)); in iterate()
406 expectedPixels.push_back(std::make_pair(center, backgroundColor)); in iterate()
410 for (size_t i = 0; i < expectedPixels.size(); ++i) in iterate()
413 …gl.readPixels((glw::GLint)expectedPixels[i].first.x(), (glw::GLint)expectedPixels[i].first.y(), 1,… in iterate()
417 tcu::Vec4(rgba[0], rgba[1], rgba[2], rgba[3]), expectedPixels[i].second); in iterate()
Dgl4cShaderStorageBufferObjectTests.cpp5857 int expectedPixels = 6400; in Run() local
5861 glBufferData(GL_SHADER_STORAGE_BUFFER, expectedPixels * 32, NULL, GL_DYNAMIC_DRAW); in Run()
5892 glUniform1ui(glGetUniformLocation(m_program[0], "g_max_fragment_count"), expectedPixels); in Run()
5905 glDrawArrays(GL_POINTS, 0, expectedPixels); in Run()
Dgl4cES31CompatibilityShaderStorageBufferObjectTests.cpp5428 int expectedPixels = 6400; in Run() local
5432 glBufferData(GL_SHADER_STORAGE_BUFFER, expectedPixels * 32, NULL, GL_DYNAMIC_DRAW); in Run()
5463 glUniform1ui(glGetUniformLocation(m_program[0], "g_max_fragment_count"), expectedPixels); in Run()
5475 glDrawArrays(GL_POINTS, 0, expectedPixels); in Run()
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
Des31cShaderStorageBufferObjectTests.cpp5572 int expectedPixels = 6400; in Run() local
5576 glBufferData(GL_SHADER_STORAGE_BUFFER, expectedPixels * 32, NULL, GL_DYNAMIC_DRAW); in Run()
5607 glUniform1ui(glGetUniformLocation(m_program[0], "g_max_fragment_count"), expectedPixels); in Run()
5619 glDrawArrays(GL_POINTS, 0, expectedPixels); in Run()