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

Side by Side Diff: tests/AAClipTest.cpp

Issue 1265033002: IWYU: 'core' target, files starting A-C. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase (a file was deleted). 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 | « src/utils/debugger/SkObjectParser.cpp ('k') | tests/BlurTest.cpp » ('j') | 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 2011 Google Inc. 2 * Copyright 2011 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 "SkAAClip.h" 8 #include "SkAAClip.h"
9 #include "SkCanvas.h" 9 #include "SkCanvas.h"
10 #include "SkMask.h" 10 #include "SkMask.h"
11 #include "SkPath.h" 11 #include "SkPath.h"
12 #include "SkRandom.h" 12 #include "SkRandom.h"
13 #include "SkRRect.h"
13 #include "Test.h" 14 #include "Test.h"
14 15
15 static bool operator==(const SkMask& a, const SkMask& b) { 16 static bool operator==(const SkMask& a, const SkMask& b) {
16 if (a.fFormat != b.fFormat || a.fBounds != b.fBounds) { 17 if (a.fFormat != b.fFormat || a.fBounds != b.fBounds) {
17 return false; 18 return false;
18 } 19 }
19 if (!a.fImage && !b.fImage) { 20 if (!a.fImage && !b.fImage) {
20 return true; 21 return true;
21 } 22 }
22 if (!a.fImage || !b.fImage) { 23 if (!a.fImage || !b.fImage) {
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 test_empty(reporter); 439 test_empty(reporter);
439 test_path_bounds(reporter); 440 test_path_bounds(reporter);
440 test_irect(reporter); 441 test_irect(reporter);
441 test_rgn(reporter); 442 test_rgn(reporter);
442 test_path_with_hole(reporter); 443 test_path_with_hole(reporter);
443 test_regressions(); 444 test_regressions();
444 test_nearly_integral(reporter); 445 test_nearly_integral(reporter);
445 test_really_a_rect(reporter); 446 test_really_a_rect(reporter);
446 test_crbug_422693(reporter); 447 test_crbug_422693(reporter);
447 } 448 }
OLDNEW
« no previous file with comments | « src/utils/debugger/SkObjectParser.cpp ('k') | tests/BlurTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698