/device/generic/vulkan-cereal/third-party/angle/src/tests/gl_tests/ |
D | PointSpritesTest.cpp | 358 GLubyte expectedColor[4] = {0, 0, 0, 0}; in TEST_P() local 361 expectedColor[0] = 255; in TEST_P() 362 expectedColor[3] = 255; in TEST_P() 364 EXPECT_PIXEL_EQ(x, y, expectedColor[0], expectedColor[1], expectedColor[2], in TEST_P() 365 expectedColor[3]); in TEST_P()
|
D | CopyTextureTest.cpp | 1687 auto testOutput = [this](GLuint texture, const GLColor &expectedColor) { in TEST_P() argument 1728 EXPECT_PIXEL_COLOR_NEAR(0, 0, expectedColor, 1.0); in TEST_P() 1735 const GLColor &expectedColor) { in TEST_P() argument 1748 testOutput(destTexture, expectedColor); in TEST_P() 1755 bool unmultiplyAlpha, const GLColor &expectedColor) { in TEST_P() argument 1769 testOutput(destTexture, expectedColor); in TEST_P() 1824 auto testOutput = [this](GLuint texture, const GLColor32F &expectedColor) { in TEST_P() argument 1865 EXPECT_PIXEL_COLOR32F_NEAR(0, 0, expectedColor, 0.05); in TEST_P() 1872 const GLColor32F &expectedColor) { in TEST_P() argument 1885 testOutput(destTexture, expectedColor); in TEST_P() [all …]
|
D | SixteenBppTextureTest.cpp | 352 GLColor expectedColor(rawColor); in TEST_P() local 376 EXPECT_COLOR_NEAR(expectedColor, actualColor, 20); in TEST_P() 393 EXPECT_COLOR_NEAR(expectedColor, actualColor, 20); in TEST_P()
|
D | CopyTexture3DTest.cpp | 75 const GLColor &expectedColor) in testCopy() argument 188 EXPECT_COLOR_NEAR(expectedColor, actual, 1); in testCopy() 193 float expectedColorFloat[4] = {static_cast<float>(expectedColor.R) / 255, in testCopy() 194 static_cast<float>(expectedColor.G) / 255, in testCopy() 195 static_cast<float>(expectedColor.B) / 255, in testCopy() 196 static_cast<float>(expectedColor.A) / 255}; in testCopy() 208 expectedColor, in testCopy() 218 expectedColor, in testCopy()
|
D | RobustResourceInitTest.cpp | 1314 GLColor expectedColor = GLColor::transparentBlack; in TEST_P() local 1317 expectedColor = GLColor::yellow; in TEST_P() 1321 EXPECT_EQ(expectedColor, pixels[loc]) << " at [" << jj << ", " << ii << "]"; in TEST_P() 1793 const GLColor expectedColor = expectedData[offset]; in TEST_P() local 1797 EXPECT_NEAR(expectedColor.R, actualColor.R, 1) << " at (" << x << ", " << y << ")"; in TEST_P() 1798 EXPECT_NEAR(expectedColor.G, actualColor.G, 1) << " at (" << x << ", " << y << ")"; in TEST_P() 1799 EXPECT_NEAR(expectedColor.B, actualColor.B, 1) << " at (" << x << ", " << y << ")"; in TEST_P()
|
D | ClearTest.cpp | 1267 GLColor expectedColor(color); in TEST_P() local 1271 EXPECT_NEAR(expectedColor.R, actualColor.R, 1); in TEST_P() 1272 EXPECT_NEAR(expectedColor.G, actualColor.G, 1); in TEST_P() 1273 EXPECT_NEAR(expectedColor.B, actualColor.B, 1); in TEST_P() 1274 EXPECT_NEAR(expectedColor.A, actualColor.A, 1); in TEST_P()
|
D | ReadPixelsTest.cpp | 516 angle::GLColor expectedColor(getColorValue(level, layer)); in verifyPBO() local 524 EXPECT_EQ(expectedColor, actualColor); in verifyPBO()
|
D | TextureTest.cpp | 4796 void testRGTexture(GLColor expectedColor) in testRGTexture() argument 4801 EXPECT_PIXEL_COLOR_NEAR(0, 0, expectedColor, kPixelTolerance); in testRGTexture() 4861 GLColor expectedColor = GLColor(expectedValue, expectedValue, expectedValue, expectedValue); in TEST_P() local 4864 testRGTexture(SliceFormatColor(GL_RED_EXT, expectedColor)); in TEST_P() 4867 testRGTexture(SliceFormatColor(GL_RG_EXT, expectedColor)); in TEST_P() 4881 GLColor expectedColor = GLColor(expectedValue, expectedValue, expectedValue, expectedValue); in TEST_P() local 4884 testRGTexture(SliceFormatColor(GL_RED_EXT, expectedColor)); in TEST_P() 4887 testRGTexture(SliceFormatColor(GL_RG_EXT, expectedColor)); in TEST_P()
|
D | StateChangeTest.cpp | 2661 GLColor expectedColor(color); in TEST_P() local 2666 EXPECT_COLOR_NEAR(expectedColor, actualColor, 1); in TEST_P()
|
/device/generic/vulkan-cereal/third-party/angle/src/tests/egl_tests/ |
D | EGLIOSurfaceClientBufferTest.cpp | 272 GLColor expectedColor((mask & R) ? 1 : 0, (mask & G) ? 2 : 0, (mask & B) ? 3 : 0, in doSampleTest() local 274 EXPECT_PIXEL_COLOR_EQ(0, 0, expectedColor); in doSampleTest() 333 GLColor expectedColor(1, 2, 3, 4); in doBlitTest() local 334 EXPECT_PIXEL_COLOR_EQ(0, 0, expectedColor); in doBlitTest()
|