Lines Matching refs:Reporter
24 static void test_color_unknown_with_coverage(skiatest::Reporter* reporter, const GrCaps& caps);
25 static void test_color_not_opaque_no_coverage(skiatest::Reporter* reporter, const GrCaps& caps);
26 static void test_color_opaque_with_coverage(skiatest::Reporter* reporter, const GrCaps& caps);
27 static void test_color_opaque_no_coverage(skiatest::Reporter* reporter, const GrCaps& caps);
28 static void test_lcd_coverage(skiatest::Reporter* reporter, const GrCaps& caps);
29 static void test_lcd_coverage_fallback_case(skiatest::Reporter* reporter, const GrCaps& caps);
31 DEF_GPUTEST_FOR_NULLGL_CONTEXT(GrPorterDuff, reporter, ctxInfo) {
38 test_color_unknown_with_coverage(reporter, caps);
39 test_color_not_opaque_no_coverage(reporter, caps);
40 test_color_opaque_with_coverage(reporter, caps);
41 test_color_opaque_no_coverage(reporter, caps);
42 test_lcd_coverage(reporter, caps);
43 test_lcd_coverage_fallback_case(reporter, caps);
48 #define TEST_ASSERT(...) REPORTER_ASSERT(reporter, __VA_ARGS__)
76 XPInfo(skiatest::Reporter* reporter, SkBlendMode xfermode, const GrCaps& caps,
114 static void test_lcd_coverage(skiatest::Reporter* reporter, const GrCaps& caps) {
120 const GrPorterDuffTest::XPInfo xpi(reporter, xfermode, caps, inputColor, inputCoverage);
288 ERRORF(reporter, "Invalid xfermode.");
293 static void test_color_unknown_with_coverage(skiatest::Reporter* reporter, const GrCaps& caps) {
299 const GrPorterDuffTest::XPInfo xpi(reporter, xfermode, caps, inputColor, inputCoverage);
467 ERRORF(reporter, "Invalid xfermode.");
473 static void test_color_not_opaque_no_coverage(skiatest::Reporter* reporter, const GrCaps& caps) {
479 const GrPorterDuffTest::XPInfo xpi(reporter, xfermode, caps, inputColor, inputCoverage);
647 ERRORF(reporter, "Invalid xfermode.");
653 static void test_color_opaque_with_coverage(skiatest::Reporter* reporter, const GrCaps& caps) {
659 const GrPorterDuffTest::XPInfo xpi(reporter, xfermode, caps, inputColor, inputCoverage);
826 ERRORF(reporter, "Invalid xfermode.");
832 static void test_color_opaque_no_coverage(skiatest::Reporter* reporter, const GrCaps& caps) {
838 const GrPorterDuffTest::XPInfo xpi(reporter, xfermode, caps, inputColor, inputCoverage);
1008 ERRORF(reporter, "Invalid xfermode.");
1014 static void test_lcd_coverage_fallback_case(skiatest::Reporter* reporter, const GrCaps& caps) {
1023 ERRORF(reporter, "Failed to create an XP with LCD coverage.");
1039 ERRORF(reporter, "Failed to create an XP with LCD coverage.");
1047 DEF_GPUTEST(PorterDuffNoDualSourceBlending, reporter, /*factory*/) {
1092 ERRORF(reporter, "Failed to create an XP without dual source blending.");