| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2012 Google Inc. | 2 * Copyright 2012 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" | |
| 9 #include "SkBitmap.h" | 8 #include "SkBitmap.h" |
| 10 #include "SkCanvas.h" | 9 #include "SkCanvas.h" |
| 11 #include "SkDashPathEffect.h" | 10 #include "SkDashPathEffect.h" |
| 12 #include "SkSurface.h" | 11 #include "SkSurface.h" |
| 12 #include "Test.h" |
| 13 | 13 |
| 14 static SkCanvas* create(SkBitmap::Config config, int w, int h, int rb, | 14 static SkCanvas* create(SkBitmap::Config config, int w, int h, int rb, |
| 15 void* addr = NULL) { | 15 void* addr = NULL) { |
| 16 SkBitmap bm; | 16 SkBitmap bm; |
| 17 bm.setConfig(config, w, h, rb); | 17 bm.setConfig(config, w, h, rb); |
| 18 if (addr) { | 18 if (addr) { |
| 19 bm.setPixels(addr); | 19 bm.setPixels(addr); |
| 20 } else { | 20 } else { |
| 21 bm.allocPixels(); | 21 bm.allocPixels(); |
| 22 } | 22 } |
| (...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 test_crbug_124652(); | 304 test_crbug_124652(); |
| 305 test_crbug_140642(); | 305 test_crbug_140642(); |
| 306 test_crbug_140803(); | 306 test_crbug_140803(); |
| 307 test_inversepathwithclip(); | 307 test_inversepathwithclip(); |
| 308 // why? | 308 // why? |
| 309 if (false) test_crbug131181(); | 309 if (false) test_crbug131181(); |
| 310 test_infinite_dash(reporter); | 310 test_infinite_dash(reporter); |
| 311 test_crbug_165432(reporter); | 311 test_crbug_165432(reporter); |
| 312 test_big_aa_rect(reporter); | 312 test_big_aa_rect(reporter); |
| 313 } | 313 } |
| OLD | NEW |