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

Side by Side Diff: tests/PathTest.cpp

Issue 27222005: account for inverse-paths when we prealloc storage in the rgn-builder (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « src/core/SkRegion_path.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 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 "Test.h" 8 #include "Test.h"
9 #include "SkCanvas.h" 9 #include "SkCanvas.h"
10 #include "SkPaint.h" 10 #include "SkPaint.h"
(...skipping 2581 matching lines...) Expand 10 before | Expand all | Expand 10 after
2592 test_arb_round_rect_is_convex(reporter); 2592 test_arb_round_rect_is_convex(reporter);
2593 test_arb_zero_rad_round_rect_is_rect(reporter); 2593 test_arb_zero_rad_round_rect_is_rect(reporter);
2594 test_addrect_isfinite(reporter); 2594 test_addrect_isfinite(reporter);
2595 test_tricky_cubic(); 2595 test_tricky_cubic();
2596 test_clipped_cubic(); 2596 test_clipped_cubic();
2597 test_crbug_170666(); 2597 test_crbug_170666();
2598 test_bad_cubic_crbug229478(); 2598 test_bad_cubic_crbug229478();
2599 test_bad_cubic_crbug234190(); 2599 test_bad_cubic_crbug234190();
2600 test_android_specific_behavior(reporter); 2600 test_android_specific_behavior(reporter);
2601 test_path_close_issue1474(reporter); 2601 test_path_close_issue1474(reporter);
2602 2602 test_path_to_region(reporter);
2603 if (false) { // will remove when fix lands
2604 test_path_to_region(reporter);
2605 }
2606 } 2603 }
2607 2604
2608 #include "TestClassDef.h" 2605 #include "TestClassDef.h"
2609 DEFINE_TESTCLASS("Path", PathTestClass, TestPath) 2606 DEFINE_TESTCLASS("Path", PathTestClass, TestPath)
OLDNEW
« no previous file with comments | « src/core/SkRegion_path.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698