Home | History | Annotate | Download | only in tests

Lines Matching refs:caps

24 static void test_color_unknown_with_coverage(skiatest::Reporter* reporter, const GrCaps& caps);
25 static void test_color_unknown_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);
32 const GrCaps& caps = *context->getGpu()->caps();
33 if (!caps.shaderCaps()->dualSourceBlendingSupport()) {
38 test_color_unknown_with_coverage(reporter, caps);
39 test_color_unknown_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);
70 XPInfo(skiatest::Reporter* reporter, SkXfermode::Mode xfermode, const GrCaps& caps,
74 xpf->createXferProcessor(optimizations, false, nullptr, caps));
75 TEST_ASSERT(!xpf->willNeedDstTexture(caps, optimizations, false));
77 fOptFlags = xp->getOptimizations(optimizations, false, nullptr, caps);
96 static void test_lcd_coverage(skiatest::Reporter* reporter, const GrCaps& caps) {
109 const GrPorterDuffTest::XPInfo xpi(reporter, xfermode, caps, opt);
287 static void test_color_unknown_with_coverage(skiatest::Reporter* reporter, const GrCaps& caps) {
301 const GrPorterDuffTest::XPInfo xpi(reporter, xfermode, caps, optimizations);
481 static void test_color_unknown_no_coverage(skiatest::Reporter* reporter, const GrCaps& caps) {
495 const GrPorterDuffTest::XPInfo xpi(reporter, xfermode, caps, optimizations);
685 static void test_color_opaque_with_coverage(skiatest::Reporter* reporter, const GrCaps& caps) {
699 const GrPorterDuffTest::XPInfo xpi(reporter, xfermode, caps, optimizations);
884 static void test_color_opaque_no_coverage(skiatest::Reporter* reporter, const GrCaps& caps) {
898 const GrPorterDuffTest::XPInfo xpi(reporter, xfermode, caps, optimizations);
1093 static void test_lcd_coverage_fallback_case(skiatest::Reporter* reporter, const GrCaps& caps) {
1125 TEST_ASSERT(!xpf->willNeedDstTexture(caps, opts, false));
1128 xpf->createXferProcessor(opts, false, nullptr, caps));
1140 xp->getOptimizations(opts, false, &overrideColor, caps);
1157 const GrCaps& caps = *ctx->caps();
1158 if (caps.shaderCaps()->dualSourceBlendingSupport()) {
1203 xpf->willNeedDstTexture(caps, optimizations, false) ? &fakeDstTexture : 0;
1205 xpf->createXferProcessor(optimizations, false, dstTexture, caps));
1211 xp->getOptimizations(optimizations, false, 0, caps);