Searched refs:kPixelTolerance (Results 1 – 4 of 4) sorted by relevance
/external/angle/src/tests/gl_tests/ |
D | BPTCCompressedTextureTest.cpp | 17 const unsigned int kPixelTolerance = 1u; variable 120 EXPECT_PIXEL_COLOR_NEAR(0, 0, GLColor::red, kPixelTolerance); in TEST_P() 121 EXPECT_PIXEL_COLOR_NEAR(0, getWindowHeight() - 1, GLColor::red, kPixelTolerance); in TEST_P() 122 EXPECT_PIXEL_COLOR_NEAR(getWindowWidth() - 1, 0, GLColor::green, kPixelTolerance); in TEST_P() 124 kPixelTolerance); in TEST_P() 142 EXPECT_PIXEL_COLOR_NEAR(0, 0, GLColor::red, kPixelTolerance); in TEST_P() 143 EXPECT_PIXEL_COLOR_NEAR(0, getWindowHeight() - 1, GLColor::red, kPixelTolerance); in TEST_P() 144 EXPECT_PIXEL_COLOR_NEAR(getWindowWidth() - 1, 0, GLColor::green, kPixelTolerance); in TEST_P() 146 kPixelTolerance); in TEST_P() 191 EXPECT_PIXEL_COLOR_NEAR(0, 0, GLColor::red, kPixelTolerance); in TEST_P() [all …]
|
D | StateChangeTest.cpp | 402 constexpr unsigned int kPixelTolerance = 5u; in TEST_P() local 403 EXPECT_PIXEL_COLOR_NEAR(0, 0, GLColor::black, kPixelTolerance); in TEST_P() 404 EXPECT_PIXEL_COLOR_NEAR(w - 1, 0, GLColor::green, kPixelTolerance); in TEST_P() 405 EXPECT_PIXEL_COLOR_NEAR(0, h - 1, GLColor::blue, kPixelTolerance); in TEST_P() 406 EXPECT_PIXEL_COLOR_NEAR(w - 1, h - 1, GLColor::black, kPixelTolerance); in TEST_P()
|
D | TextureTest.cpp | 16 constexpr GLuint kPixelTolerance = 1u; variable 7304 EXPECT_PIXEL_COLOR_NEAR(0, 0, expectedColor, kPixelTolerance); in testRGTexture() 7479 EXPECT_PIXEL_COLOR_NEAR(0, 0, SliceFormatColor(format, expectedValue), kPixelTolerance); in testFloatTextureSample() 7547 kPixelTolerance); in testFloatTextureLinear()
|
/external/angle/src/tests/gl_tests/gles1/ |
D | DrawTextureTest.cpp | 155 constexpr unsigned int kPixelTolerance = 10u; in TEST_P() local 176 EXPECT_PIXEL_COLOR_NEAR(kCheckedPixelX, kCheckedPixelY, GLColor::red, kPixelTolerance); in TEST_P() 182 EXPECT_PIXEL_COLOR_NEAR(kCheckedPixelX, kCheckedPixelY, GLColor::red, kPixelTolerance); in TEST_P() 188 EXPECT_PIXEL_COLOR_NEAR(kCheckedPixelX, kCheckedPixelY, GLColor::red, kPixelTolerance); in TEST_P()
|