Home
last modified time | relevance | path

Searched refs:actualColor (Results 1 – 22 of 22) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/gles1/
DLightsTest.cpp87 GLColor32F actualColor; in TEST_P() local
92 glGetLightfv(GL_LIGHT0 + i, GL_AMBIENT, &actualColor.R); in TEST_P()
94 EXPECT_EQ(kLightnAmbient, actualColor); in TEST_P()
96 glGetLightfv(GL_LIGHT0 + i, GL_DIFFUSE, &actualColor.R); in TEST_P()
98 EXPECT_EQ(i == 0 ? kLight0Diffuse : kLightnDiffuse, actualColor); in TEST_P()
100 glGetLightfv(GL_LIGHT0 + i, GL_SPECULAR, &actualColor.R); in TEST_P()
102 EXPECT_EQ(i == 0 ? kLight0Specular : kLightnSpecular, actualColor); in TEST_P()
221 GLColor32F actualColor; in TEST_P() local
235 glGetFloatv(GL_LIGHT_MODEL_AMBIENT, &actualColor.R); in TEST_P()
236 EXPECT_EQ(lightModelAmbient, actualColor); in TEST_P()
[all …]
DMaterialsTest.cpp44 GLColor32F actualColor; in TEST_P() local
63 glGetMaterialfv(GL_FRONT, pnames[i], &actualColor.R); in TEST_P()
65 EXPECT_EQ(colors[i], actualColor); in TEST_P()
112 GLColor32F actualColor; in TEST_P() local
119 glGetMaterialfv(GL_FRONT, pnames[i], &actualColor.R); in TEST_P()
121 EXPECT_EQ(colors[i], actualColor); in TEST_P()
DCurrentColorTest.cpp37 GLColor32F actualColor; in TEST_P() local
38 glGetFloatv(GL_CURRENT_COLOR, &actualColor.R); in TEST_P()
40 EXPECT_EQ(kFloatWhite, actualColor); in TEST_P()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/gles1/
DLightsTest.cpp87 GLColor32F actualColor; in TEST_P() local
92 glGetLightfv(GL_LIGHT0 + i, GL_AMBIENT, &actualColor.R); in TEST_P()
94 EXPECT_EQ(kLightnAmbient, actualColor); in TEST_P()
96 glGetLightfv(GL_LIGHT0 + i, GL_DIFFUSE, &actualColor.R); in TEST_P()
98 EXPECT_EQ(i == 0 ? kLight0Diffuse : kLightnDiffuse, actualColor); in TEST_P()
100 glGetLightfv(GL_LIGHT0 + i, GL_SPECULAR, &actualColor.R); in TEST_P()
102 EXPECT_EQ(i == 0 ? kLight0Specular : kLightnSpecular, actualColor); in TEST_P()
221 GLColor32F actualColor; in TEST_P() local
235 glGetFloatv(GL_LIGHT_MODEL_AMBIENT, &actualColor.R); in TEST_P()
236 EXPECT_EQ(lightModelAmbient, actualColor); in TEST_P()
[all …]
DMaterialsTest.cpp44 GLColor32F actualColor; in TEST_P() local
63 glGetMaterialfv(GL_FRONT, pnames[i], &actualColor.R); in TEST_P()
65 EXPECT_EQ(colors[i], actualColor); in TEST_P()
112 GLColor32F actualColor; in TEST_P() local
119 glGetMaterialfv(GL_FRONT, pnames[i], &actualColor.R); in TEST_P()
121 EXPECT_EQ(colors[i], actualColor); in TEST_P()
DCurrentColorTest.cpp37 GLColor32F actualColor; in TEST_P() local
38 glGetFloatv(GL_CURRENT_COLOR, &actualColor.R); in TEST_P()
40 EXPECT_EQ(kFloatWhite, actualColor); in TEST_P()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DDepthStencilTest.cpp118 GLColor actualColor = pixelData[i]; in ensureColor() local
119 EXPECT_NEAR(color.R, actualColor.R, 1); in ensureColor()
120 EXPECT_NEAR(color.G, actualColor.G, 1); in ensureColor()
121 EXPECT_NEAR(color.B, actualColor.B, 1); in ensureColor()
122 EXPECT_NEAR(color.A, actualColor.A, 1); in ensureColor()
DSixteenBppTextureTest.cpp374 GLColor actualColor = GLColor::black; in TEST_P() local
375 glReadPixels(0, 0, 1, 1, colorReadFormat, colorReadType, &actualColor); in TEST_P()
376 EXPECT_COLOR_NEAR(expectedColor, actualColor, 20); in TEST_P()
392 GLColor actualColor(r8 << 4, g8 << 4, b8 << 4, a8 << 4); in TEST_P() local
393 EXPECT_COLOR_NEAR(expectedColor, actualColor, 20); in TEST_P()
DReadPixelsTest.cpp520 angle::GLColor actualColor; in verifyPBO() local
521 memcpy(&actualColor, mapPointer, sizeof(angle::GLColor)); in verifyPBO()
524 EXPECT_EQ(expectedColor, actualColor); in verifyPBO()
DClearTest.cpp1215 GLColor actualColor = pixelData[testN]; in TEST_P() local
1216 EXPECT_NEAR(expectedColor.R, actualColor.R, 1); in TEST_P()
1217 EXPECT_NEAR(expectedColor.G, actualColor.G, 1); in TEST_P()
1218 EXPECT_NEAR(expectedColor.B, actualColor.B, 1); in TEST_P()
1219 EXPECT_NEAR(expectedColor.A, actualColor.A, 1); in TEST_P()
DRobustResourceInitTest.cpp1700 const GLColor actualColor = actualData[offset]; in TEST_P() local
1703 EXPECT_NEAR(expectedColor.R, actualColor.R, 1) << " at (" << x << ", " << y << ")"; in TEST_P()
1704 EXPECT_NEAR(expectedColor.G, actualColor.G, 1) << " at (" << x << ", " << y << ")"; in TEST_P()
1705 EXPECT_NEAR(expectedColor.B, actualColor.B, 1) << " at (" << x << ", " << y << ")"; in TEST_P()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DSixteenBppTextureTest.cpp374 GLColor actualColor = GLColor::black; in TEST_P() local
375 glReadPixels(0, 0, 1, 1, colorReadFormat, colorReadType, &actualColor); in TEST_P()
376 EXPECT_COLOR_NEAR(expectedColor, actualColor, 20); in TEST_P()
392 GLColor actualColor(r8 << 4, g8 << 4, b8 << 4, a8 << 4); in TEST_P() local
393 EXPECT_COLOR_NEAR(expectedColor, actualColor, 20); in TEST_P()
DDepthStencilTest.cpp126 GLColor actualColor = pixelData[i]; in ensureColor() local
127 EXPECT_NEAR(color.R, actualColor.R, 1); in ensureColor()
128 EXPECT_NEAR(color.G, actualColor.G, 1); in ensureColor()
129 EXPECT_NEAR(color.B, actualColor.B, 1); in ensureColor()
130 EXPECT_NEAR(color.A, actualColor.A, 1); in ensureColor()
DReadPixelsTest.cpp862 angle::GLColor actualColor; in verifyPBO() local
863 memcpy(&actualColor, mapPointer, sizeof(angle::GLColor)); in verifyPBO()
866 EXPECT_EQ(expectedColor, actualColor); in verifyPBO()
DClearTest.cpp1557 GLColor actualColor = pixelData[testN]; in TEST_P() local
1558 EXPECT_NEAR(expectedColor.R, actualColor.R, 1); in TEST_P()
1559 EXPECT_NEAR(expectedColor.G, actualColor.G, 1); in TEST_P()
1560 EXPECT_NEAR(expectedColor.B, actualColor.B, 1); in TEST_P()
1561 EXPECT_NEAR(expectedColor.A, actualColor.A, 1); in TEST_P()
DRobustResourceInitTest.cpp1968 const GLColor actualColor = actualData[offset]; in TEST_P() local
1971 EXPECT_NEAR(expectedColor.R, actualColor.R, 1) << " at (" << x << ", " << y << ")"; in TEST_P()
1972 EXPECT_NEAR(expectedColor.G, actualColor.G, 1) << " at (" << x << ", " << y << ")"; in TEST_P()
1973 EXPECT_NEAR(expectedColor.B, actualColor.B, 1) << " at (" << x << ", " << y << ")"; in TEST_P()
DStateChangeTest.cpp3377 GLColor actualColor = pixelData[testN]; in TEST_P() local
3378 EXPECT_COLOR_NEAR(expectedColor, actualColor, 1); in TEST_P()
/third_party/flutter/skia/tests/
DBackendAllocationTest.cpp269 SkColor actualColor = actual2.getColor(0, 0); in test_color_init() local
271 if (!colors_eq(actualColor, rasterColor.toSkColor(), 1)) { in test_color_init()
273 skColorType, i, rasterColor.toSkColor(), actualColor); in test_color_init()
DSkRemoteGlyphCacheTest.cpp145 SkColor actualColor = actual.getColor(i, j); in compare_blobs() local
147 REPORTER_ASSERT(reporter, expectedColor == actualColor); in compare_blobs()
151 int actualChannel = (actualColor >> (k*8)) & 0xff; in compare_blobs()
/third_party/skia/tests/
DTextBlobCacheTest.cpp214 SkColor actualColor = actual.getColor(i, j); in compare_bitmaps() local
215 if (expectedColor != actualColor) { in compare_bitmaps()
DSkRemoteGlyphCacheTest.cpp149 SkColor actualColor = actual.getColor(i, j); in compare_blobs() local
151 REPORTER_ASSERT(reporter, expectedColor == actualColor); in compare_blobs()
155 int actualChannel = (actualColor >> (k*8)) & 0xff; in compare_blobs()
/third_party/flutter/flutter/packages/flutter/test/rendering/
Dmock_canvas.dart1247 final Color actualColor = arguments[1];
1248 if (color != null && actualColor != color)
1249 …throw 'It called $methodName with a color, $actualColor, which was not exactly the expected color …