Home
last modified time | relevance | path

Searched refs:assert_color (Results 1 – 2 of 2) sorted by relevance

/external/skqp/tests/
DColorMatrixTest.cpp20 static inline void assert_color(skiatest::Reporter* reporter, in assert_color() function
28 static inline void assert_color(skiatest::Reporter* reporter, SkColor expected, SkColor actual) { in assert_color() function
30 assert_color(reporter, expected, actual, TOLERANCE); in assert_color()
54 assert_color(reporter, SK_ColorCYAN, bitmap.getColor(0, 0)); in test_colorMatrixCTS()
58 assert_color(reporter, SK_ColorGREEN, bitmap.getColor(0, 0)); in test_colorMatrixCTS()
62 assert_color(reporter, SK_ColorRED, bitmap.getColor(0, 0)); in test_colorMatrixCTS()
67 assert_color(reporter, SK_ColorWHITE, bitmap.getColor(0, 0)); in test_colorMatrixCTS()
80 assert_color(reporter, SkColorSetARGB(128, 255, 0, 64), bitmap.getColor(0, 0), 2); in test_colorMatrixCTS()
85 assert_color(reporter, SK_ColorCYAN, bitmap.getColor(0, 0)); in test_colorMatrixCTS()
93 assert_color(reporter, SK_ColorCYAN, bitmap.getColor(0, 0)); in test_colorMatrixCTS()
[all …]
/external/skia/tests/
DColorMatrixTest.cpp20 static inline void assert_color(skiatest::Reporter* reporter, in assert_color() function
28 static inline void assert_color(skiatest::Reporter* reporter, SkColor expected, SkColor actual) { in assert_color() function
30 assert_color(reporter, expected, actual, TOLERANCE); in assert_color()
54 assert_color(reporter, SK_ColorCYAN, bitmap.getColor(0, 0)); in test_colorMatrixCTS()
58 assert_color(reporter, SK_ColorGREEN, bitmap.getColor(0, 0)); in test_colorMatrixCTS()
62 assert_color(reporter, SK_ColorRED, bitmap.getColor(0, 0)); in test_colorMatrixCTS()
67 assert_color(reporter, SK_ColorWHITE, bitmap.getColor(0, 0)); in test_colorMatrixCTS()
80 assert_color(reporter, SkColorSetARGB(128, 255, 0, 64), bitmap.getColor(0, 0), 2); in test_colorMatrixCTS()
85 assert_color(reporter, SK_ColorCYAN, bitmap.getColor(0, 0)); in test_colorMatrixCTS()
93 assert_color(reporter, SK_ColorCYAN, bitmap.getColor(0, 0)); in test_colorMatrixCTS()
[all …]