Home
last modified time | relevance | path

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

/external/angle/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()
/external/proguard/src/proguard/gui/splash/
DShadowedSprite.java84 Color actualColor = graphics.getColor(); in paint() local
104 graphics.setColor(actualColor); in paint()
/external/angle/src/tests/gl_tests/
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()
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.cpp811 angle::GLColor actualColor; in verifyPBO() local
812 memcpy(&actualColor, mapPointer, sizeof(angle::GLColor)); in verifyPBO()
815 EXPECT_EQ(expectedColor, actualColor); in verifyPBO()
DClearTest.cpp1516 GLColor actualColor = pixelData[testN]; in TEST_P() local
1517 EXPECT_NEAR(expectedColor.R, actualColor.R, 1); in TEST_P()
1518 EXPECT_NEAR(expectedColor.G, actualColor.G, 1); in TEST_P()
1519 EXPECT_NEAR(expectedColor.B, actualColor.B, 1); in TEST_P()
1520 EXPECT_NEAR(expectedColor.A, actualColor.A, 1); in TEST_P()
DRobustResourceInitTest.cpp1975 const GLColor actualColor = actualData[offset]; in TEST_P() local
1978 EXPECT_NEAR(expectedColor.R, actualColor.R, 1) << " at (" << x << ", " << y << ")"; in TEST_P()
1979 EXPECT_NEAR(expectedColor.G, actualColor.G, 1) << " at (" << x << ", " << y << ")"; in TEST_P()
1980 EXPECT_NEAR(expectedColor.B, actualColor.B, 1) << " at (" << x << ", " << y << ")"; in TEST_P()
DStateChangeTest.cpp3289 GLColor actualColor = pixelData[testN]; in TEST_P() local
3290 EXPECT_COLOR_NEAR(expectedColor, actualColor, 1); in TEST_P()
/external/skia/tests/
DTextBlobCacheTest.cpp214 SkColor actualColor = actual.getColor(i, j); in compare_bitmaps() local
215 if (expectedColor != actualColor) { in compare_bitmaps()
DSkRemoteGlyphCacheTest.cpp148 SkColor actualColor = actual.getColor(i, j); in compare_blobs() local
150 REPORTER_ASSERT(reporter, expectedColor == actualColor); in compare_blobs()
154 int actualChannel = (actualColor >> (k*8)) & 0xff; in compare_blobs()
/external/skqp/tests/
DSkRemoteGlyphCacheTest.cpp98 SkColor actualColor = actual.getColor(i, j); in compare_blobs() local
100 REPORTER_ASSERT(reporter, expectedColor == actualColor); in compare_blobs()
104 int actualChannel = (actualColor >> (k*8)) & 0xff; in compare_blobs()