/external/skqp/tests/ |
D | ColorFilterTest.cpp | 80 SkColor expectedColor = color; in DEF_TEST() local 88 if (c != expectedColor) { in DEF_TEST() 89 expectedColor = 0; in DEF_TEST() 98 REPORTER_ASSERT(reporter, c == expectedColor); in DEF_TEST() 108 REPORTER_ASSERT(reporter, c2 == expectedColor); in DEF_TEST()
|
D | ApplyGammaTest.cpp | 54 uint32_t expectedColor = src & 0xff000000; in check_gamma() local 89 expectedColor |= expectedComponent << (c * 8); in check_gamma() 92 *expected = expectedColor; in check_gamma()
|
/external/skia/tests/ |
D | ColorFilterTest.cpp | 62 SkColor expectedColor = color; in DEF_TEST() local 70 if (c != expectedColor) { in DEF_TEST() 71 expectedColor = 0; in DEF_TEST() 80 REPORTER_ASSERT(reporter, c == expectedColor); in DEF_TEST() 90 REPORTER_ASSERT(reporter, c2 == expectedColor); in DEF_TEST()
|
D | ApplyGammaTest.cpp | 54 uint32_t expectedColor = src & 0xff000000; in check_gamma() local 89 expectedColor |= expectedComponent << (c * 8); in check_gamma() 92 *expected = expectedColor; in check_gamma()
|
D | BackendAllocationTest.cpp | 254 SkColor4f expectedColor = get_expected_color(color, colorType); in check_base_readbacks() local 301 check_solid_pixmap(reporter, expectedColor, actual, colorType, label, name.c_str()); in check_base_readbacks() 325 SkColor4f expectedColor = get_expected_color(testColor, colorType); in test_color_init() local 326 SkColor4f expectedColors[6] = {expectedColor, expectedColor, expectedColor, in test_color_init() 327 expectedColor, expectedColor, expectedColor}; in test_color_init()
|
D | CompressedBackendAllocationTest.cpp | 115 const SkColor4f& expectedColor, in check_readback() argument 136 check_solid_pixmap(reporter, expectedColor, actual, in check_readback()
|
/external/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 | S3TCTextureSizesTest.cpp | 146 GLColor expectedColor; in TEST_P() member 169 EXPECT_PIXEL_COLOR_EQ(0, 0, level.expectedColor) << " failed on level " << i; in TEST_P() 195 GLColor expectedColor; in TEST_P() member 217 EXPECT_PIXEL_COLOR_EQ(0, 0, level.expectedColor) << " failed on level " << i; in TEST_P()
|
D | CopyTextureTest.cpp | 1801 auto testOutput = [this](GLuint texture, const GLColor &expectedColor) { in TEST_P() argument 1842 EXPECT_PIXEL_COLOR_NEAR(0, 0, expectedColor, 1.0); in TEST_P() 1849 const GLColor &expectedColor) { in TEST_P() argument 1862 testOutput(destTexture, expectedColor); in TEST_P() 1869 bool unmultiplyAlpha, const GLColor &expectedColor) { in TEST_P() argument 1883 testOutput(destTexture, expectedColor); in TEST_P() 1938 auto testOutput = [this](GLuint texture, const GLColor32F &expectedColor) { in TEST_P() argument 1979 EXPECT_PIXEL_COLOR32F_NEAR(0, 0, expectedColor, 0.05); in TEST_P() 1986 const GLColor32F &expectedColor) { in TEST_P() argument 1999 testOutput(destTexture, expectedColor); in TEST_P() [all …]
|
D | VulkanUniformUpdatesTest.cpp | 547 GLColor expectedColor = vsUniformValue > 11.0f ? GLColor::red : GLColor::green; in TEST_P() local 551 EXPECT_PIXEL_RECT_EQ(xoffset, yoffset, kHalfX, kHalfY, expectedColor); in TEST_P() 686 GLColor expectedColor = vsUniformValue > 11.0f ? GLColor::red : GLColor::green; in TEST_P() local 689 EXPECT_PIXEL_RECT_EQ(xoffset, yoffset, kHalfX, kHalfY, expectedColor); in TEST_P()
|
D | CopyTexture3DTest.cpp | 75 const GLColor &expectedColor) in testCopy() argument 236 EXPECT_COLOR_NEAR(expectedColor, actual, tolerance); in testCopy() 241 float expectedColorFloat[4] = {static_cast<float>(expectedColor.R) / 255, in testCopy() 242 static_cast<float>(expectedColor.G) / 255, in testCopy() 243 static_cast<float>(expectedColor.B) / 255, in testCopy() 244 static_cast<float>(expectedColor.A) / 255}; in testCopy() 256 expectedColor, in testCopy() 266 expectedColor, in testCopy()
|
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()
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderFragDataTests.cpp | 64 …ingleColor (tcu::TestLog& log, const tcu::Surface& surface, tcu::RGBA expectedColor, tcu::RGBA thr… in compareSingleColor() argument 69 …log << TestLog::Message << "Expecting " << expectedColor << " with threshold " << threshold << Tes… in compareSingleColor() 76 const bool isOk = compareThreshold(resultColor, expectedColor, threshold); in compareSingleColor()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcLayoutLocationTests.cpp | 516 const tcu::RGBA expectedColor(255, 0, 0, 0); in iterate() local 518 if (pixel != expectedColor) in iterate() 521 << expectedColor.getRed() << ", " << expectedColor.getGreen() << ", " in iterate() 522 << expectedColor.getBlue() << ", " << expectedColor.getAlpha() << "], got [" in iterate()
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderFragDataTests.cpp | 82 …ingleColor (tcu::TestLog& log, const tcu::Surface& surface, tcu::RGBA expectedColor, tcu::RGBA thr… in compareSingleColor() argument 87 …log << TestLog::Message << "Expecting " << expectedColor << " with threshold " << threshold << Tes… in compareSingleColor() 94 const bool isOk = compareThreshold(resultColor, expectedColor, threshold); in compareSingleColor()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineLogicOpTests.cpp | 442 tcu::UVec4 expectedColor (0u, 0u, 0u, 0u); // Overwritten below. in verifyImage() local 450 expectedColor[c] = calcOpResult(m_params.logicOp, m_params.quadColor[c], m_params.fbColor[c]); in verifyImage() 451 expectedColor[c] &= m_channelMask; in verifyImage() 456 referenceAccess.setPixel(expectedColor, x, y); in verifyImage()
|
D | vktPipelineColorWriteEnableTests.cpp | 165 std::vector<tcu::Vec4> expectedColor; member 176 , expectedColor (kNumColorAttachments, kDefaultTriangleColor) in TestConfig() 979 …bool match = tcu::boolAll(tcu::lessThan(tcu::absDiff(colorPixel, m_testConfig.expectedColor[attach… in iterate() 1073 …config.expectedColor = MaskVector(clearColorsPerAttachment, meshColorsPerAttachment, mask, inverse… in AddSingleTestCaseStatic() 1112 …config.expectedColor = MaskVector(clearColorsPerAttachment, meshColorsPerAttachment, mask, inverse… in AddSingleTestCaseDynamic()
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageMisalignedCubeTests.cpp | 256 const tcu::Vec4 expectedColor = tcu::Vec4(componentValue, componentValue, componentValue, 1.0f);; in iterate() local 258 const tcu::Vec4 delta = expectedColor - resultColor; in iterate() 269 const tcu::Vec4 expectedColor = tcu::Vec4(componentValue, componentValue, componentValue, 1.0f);; in iterate() local 271 const tcu::Vec4 delta = expectedColor - resultColor; in iterate()
|
/external/deqp/external/openglcts/modules/glesext/draw_buffers_indexed/ |
D | esextcDrawBuffersIndexedColorMasks.hpp | 60 bool VerifyImg(const tcu::TextureLevel& textureLevel, tcu::RGBA expectedColor, tcu::RGBA epsilon);
|
D | esextcDrawBuffersIndexedBlending.hpp | 63 bool VerifyImg(const tcu::TextureLevel& textureLevel, tcu::RGBA expectedColor, tcu::RGBA epsilon);
|
D | esextcDrawBuffersIndexedBlending.cpp | 387 …awBuffersIndexedBlending::VerifyImg(const tcu::TextureLevel& textureLevel, tcu::RGBA expectedColor, in VerifyImg() argument 395 if (!tcu::compareThreshold(pixel, expectedColor, epsilon)) in VerifyImg() 397 m_testCtx.getLog() << tcu::TestLog::Message << "Expected value: " << expectedColor << "\n" in VerifyImg()
|
D | esextcDrawBuffersIndexedColorMasks.cpp | 421 …BuffersIndexedColorMasks::VerifyImg(const tcu::TextureLevel& textureLevel, tcu::RGBA expectedColor, in VerifyImg() argument 431 if (!tcu::compareThreshold(pixel, expectedColor, epsilon)) in VerifyImg() 433 m_testCtx.getLog() << tcu::TestLog::Message << "Expected value: " << expectedColor << "\n" in VerifyImg()
|
/external/angle/src/tests/egl_tests/ |
D | EGLBufferAgeTest.cpp | 192 angle::GLColor expectedColor = GLColor::black; in TEST_P() local 200 expectedColor = kColorSet[i - age]; in TEST_P() 201 EXPECT_PIXEL_COLOR_EQ(1, 1, expectedColor); in TEST_P()
|
/external/deqp/external/openglcts/modules/gles3/ |
D | es3cNumberParsingTests.cpp | 402 const auto expectedColor = tcu::RGBA::green().toVec(); in iterate() local 406 if (fbAccess.getPixel(x,y) != expectedColor) in iterate()
|
/external/deqp/external/openglcts/modules/glesext/texture_border_clamp/ |
D | esextcTextureBorderClampSamplingTexture.cpp | 538 OutputType expectedColor; in iterate() local 544 expectedColor = m_test_configuration.get_expected_value(); in iterate() 549 expectedColor = m_test_configuration.get_expected_value(); in iterate() 551 expectedColor = m_test_configuration.get_expected_border_color(); in iterate() 557 if (!checkResult(expectedColor, m_test_configuration.get_expected_border_color(), i)) in iterate()
|