Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Side by Side Diff: tests/GrPorterDuffTest.cpp

Issue 1277233002: Make folder for batches (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tests/GLProgramsTest.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « tests/GLProgramsTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698