OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #include "SkXfermode.h" | 8 #include "SkXfermode.h" |
9 #include "Test.h" | 9 #include "Test.h" |
10 | 10 |
11 #if SK_SUPPORT_GPU | 11 #if SK_SUPPORT_GPU |
12 | 12 |
13 #include "GrBatch.h" | |
14 #include "GrContextFactory.h" | 13 #include "GrContextFactory.h" |
15 #include "GrContextOptions.h" | 14 #include "GrContextOptions.h" |
16 #include "GrGpu.h" | 15 #include "GrGpu.h" |
17 #include "GrResourceProvider.h" | 16 #include "GrResourceProvider.h" |
18 #include "GrXferProcessor.h" | 17 #include "GrXferProcessor.h" |
| 18 #include "batches/GrBatch.h" |
19 #include "effects/GrPorterDuffXferProcessor.h" | 19 #include "effects/GrPorterDuffXferProcessor.h" |
20 #include "gl/GrGLCaps.h" | 20 #include "gl/GrGLCaps.h" |
21 | 21 |
22 //////////////////////////////////////////////////////////////////////////////// | 22 //////////////////////////////////////////////////////////////////////////////// |
23 | 23 |
24 static void test_color_unknown_with_coverage(skiatest::Reporter* reporter, const
GrCaps& 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 G
rCaps& caps); | 25 static void test_color_unknown_no_coverage(skiatest::Reporter* reporter, const G
rCaps& caps); |
26 static void test_color_opaque_with_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 Gr
Caps& caps); | 27 static void test_color_opaque_no_coverage(skiatest::Reporter* reporter, const Gr
Caps& caps); |
28 static void test_lcd_coverage(skiatest::Reporter* reporter, const GrCaps& caps); | 28 static void test_lcd_coverage(skiatest::Reporter* reporter, const GrCaps& caps); |
(...skipping 979 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1008 TEST_ASSERT(!xp->hasSecondaryOutput()); | 1008 TEST_ASSERT(!xp->hasSecondaryOutput()); |
1009 xp->getOptimizations(colorPOI, covPOI, false, 0, caps); | 1009 xp->getOptimizations(colorPOI, covPOI, false, 0, caps); |
1010 TEST_ASSERT(!xp->hasSecondaryOutput()); | 1010 TEST_ASSERT(!xp->hasSecondaryOutput()); |
1011 } | 1011 } |
1012 } | 1012 } |
1013 } | 1013 } |
1014 } | 1014 } |
1015 | 1015 |
1016 #endif | 1016 #endif |
1017 | 1017 |
OLD | NEW |