Home
last modified time | relevance | path

Searched refs:expectedColor (Results 1 – 25 of 46) sorted by relevance

12

/external/skqp/tests/
DColorFilterTest.cpp80 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()
DApplyGammaTest.cpp54 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/
DColorFilterTest.cpp62 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()
DApplyGammaTest.cpp54 uint32_t expectedColor = src & 0xff000000; in check_gamma() local
89 expectedColor |= expectedComponent << (c * 8); in check_gamma()
92 *expected = expectedColor; in check_gamma()
DBackendAllocationTest.cpp254 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()
DCompressedBackendAllocationTest.cpp115 const SkColor4f& expectedColor, in check_readback() argument
136 check_solid_pixmap(reporter, expectedColor, actual, in check_readback()
/external/angle/src/tests/gl_tests/
DPointSpritesTest.cpp358 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()
DS3TCTextureSizesTest.cpp146 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()
DCopyTextureTest.cpp1801 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 …]
DVulkanUniformUpdatesTest.cpp547 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()
DCopyTexture3DTest.cpp75 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()
DSixteenBppTextureTest.cpp352 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/
Des2fShaderFragDataTests.cpp64 …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/
DglcLayoutLocationTests.cpp516 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/external/vulkancts/modules/vulkan/image/
DvktImageMisalignedCubeTests.cpp256 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/vulkancts/modules/vulkan/pipeline/
DvktPipelineLogicOpTests.cpp442 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()
DvktPipelineColorWriteEnableTests.cpp165 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/modules/gles3/functional/
Des3fShaderFragDataTests.cpp82 …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/angle/src/tests/egl_tests/
DEGLBufferAgeTest.cpp192 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/glesext/draw_buffers_indexed/
DesextcDrawBuffersIndexedColorMasks.hpp60 bool VerifyImg(const tcu::TextureLevel& textureLevel, tcu::RGBA expectedColor, tcu::RGBA epsilon);
DesextcDrawBuffersIndexedBlending.hpp63 bool VerifyImg(const tcu::TextureLevel& textureLevel, tcu::RGBA expectedColor, tcu::RGBA epsilon);
DesextcDrawBuffersIndexedBlending.cpp387 …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()
DesextcDrawBuffersIndexedColorMasks.cpp421 …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/deqp/external/openglcts/modules/glesext/texture_border_clamp/
DesextcTextureBorderClampSamplingTexture.cpp538 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()
/external/deqp/external/openglcts/modules/gles3/
Des3cNumberParsingTests.cpp402 const auto expectedColor = tcu::RGBA::green().toVec(); in iterate() local
406 if (fbAccess.getPixel(x,y) != expectedColor) in iterate()

12