Home
last modified time | relevance | path

Searched refs:testColor (Results 1 - 12 of 12) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DMaxTextureSizeTest.cpp296 constexpr GLColor testColor(0, 255, 128, 255); in TEST_P()
297 std::vector<GLColor> data(testSize, testColor); in TEST_P()
310 EXPECT_PIXEL_RECT_EQ(0, 0, getWindowWidth(), getWindowHeight(), testColor); in TEST_P()
325 EXPECT_PIXEL_RECT_EQ(0, 0, getWindowWidth(), getWindowHeight(), testColor); in TEST_P()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/gles1/
H A DFogTest.cpp122 const GLColor32F testColor(0.1f, 0.2f, 0.3f, 0.4f); in TEST_P()
123 glFogfv(GL_FOG_COLOR, &testColor.R); in TEST_P()
/third_party/skia/tests/
H A DFontHostStreamTest.cpp46 SkColor testColor = test.getColor(x, y); in compare() local
57 if (refColor != testColor) { in compare()
H A DFontMgrFontConfigTest.cpp22 SkColor testColor = test.getColor(x, y); in bitmap_compare() local
24 if (refColor != testColor) { in bitmap_compare()
H A DDrawTextTest.cpp47 SkColor testColor = test.getColor(x, y); in compare() local
58 if (refColor != testColor) { in compare()
H A DWritePixelsTest.cpp252 SkPMColor testColor = get_canvas_color(cx, cy); in check_write() local
253 if (canvasPixel != testColor) { in check_write()
255 " Should be 0x%08x, got 0x%08x. ", cx, cy, testColor, canvasPixel); in check_write()
H A DFontMgrAndroidParserTest.cpp264 SkColor testColor = test.getColor(x, y); in bitmap_compare() local
266 if (refColor != testColor) { in bitmap_compare()
H A DBlurTest.cpp104 SkColor testColor = test.getColor(x, y); in compare() local
115 if (refColor != testColor) { in compare()
H A DBackendAllocationTest.cpp324 auto checkBackendTexture = [&](const SkColor4f& testColor) { in test_color_init()
326 SkColor4f expectedColor = get_expected_color(testColor, colorType); in test_color_init()
334 check_base_readbacks(dContext, mbet->texture(), colorType, renderable, testColor, reporter, in test_color_init()
H A DSurfaceTest.cpp428 const SkColor testColor = 0x01020304; in test_copy_on_write() local
456 EXPECT_COPY_ON_WRITE(clear(testColor)) in test_copy_on_write()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fSampleVariableTests.cpp56 virtual bool verify (const tcu::RGBA& testColor, const tcu::IVec2& position) const = 0;
75 bool verify (const tcu::RGBA& testColor, const tcu::IVec2& position) const in verify() argument
78 return !tcu::boolAny(tcu::greaterThan(tcu::abs(m_color.toIVec().swizzle(0, 1, 2) - testColor.toIVec().swizzle(0, 1, 2)), tcu::IVec3(m_threshold))); in verify()
103 bool verify (const tcu::RGBA& testColor, const tcu::IVec2& position) const in verify() argument
109 if (testColor.getRed() != 0) in verify()
111 if (testColor.getGreen() == 0) in verify()
113 if (testColor.getBlue() != 255) in verify()
131 bool verify (const tcu::RGBA& testColor, const tcu::IVec2& position) const in verify() argument
134 return testColor.getRed() == 0; in verify()
148 bool verify (const tcu::RGBA& testColor, cons
171 verify(const tcu::RGBA& testColor, const tcu::IVec2& position) const verify() argument
194 verify(const tcu::RGBA& testColor, const tcu::IVec2& position) const verify() argument
[all...]
H A Des31fGeometryShaderTests.cpp1995 const tcu::RGBA testColor = m_glResult->getPixel(x + dx, y + dy); in compare() local
1996 const tcu::IVec4 colDiff = tcu::abs(testColor.toIVec() - refcolor.toIVec()); in compare()

Completed in 18 milliseconds