| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 Google Inc. |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 #include "SkBlurMask.h" | 8 #include "SkBlurMask.h" |
| 9 #include "SkBlurMaskFilter.h" | 9 #include "SkBlurMaskFilter.h" |
| 10 #include "SkCanvas.h" | 10 #include "SkCanvas.h" |
| 11 #include "SkMath.h" | 11 #include "SkMath.h" |
| 12 #include "SkPaint.h" | 12 #include "SkPaint.h" |
| 13 #include "Test.h" | 13 #include "Test.h" |
| 14 #include "TestClassDef.h" | |
| 15 | 14 |
| 16 #if SK_SUPPORT_GPU | 15 #if SK_SUPPORT_GPU |
| 17 #include "GrContextFactory.h" | 16 #include "GrContextFactory.h" |
| 18 #include "SkGpuDevice.h" | 17 #include "SkGpuDevice.h" |
| 19 #endif | 18 #endif |
| 20 | 19 |
| 21 #define WRITE_CSV 0 | 20 #define WRITE_CSV 0 |
| 22 | 21 |
| 23 /////////////////////////////////////////////////////////////////////////////// | 22 /////////////////////////////////////////////////////////////////////////////// |
| 24 | 23 |
| (...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 write_as_csv("GroundTruth2D", sigma, groundTruthResult, kSize); | 381 write_as_csv("GroundTruth2D", sigma, groundTruthResult, kSize); |
| 383 write_as_csv("BruteForce1D", sigma, bruteForce1DResult, kSize); | 382 write_as_csv("BruteForce1D", sigma, bruteForce1DResult, kSize); |
| 384 #endif | 383 #endif |
| 385 } | 384 } |
| 386 } | 385 } |
| 387 | 386 |
| 388 DEF_GPUTEST(Blur, reporter, factory) { | 387 DEF_GPUTEST(Blur, reporter, factory) { |
| 389 test_blur_drawing(reporter); | 388 test_blur_drawing(reporter); |
| 390 test_sigma_range(reporter, factory); | 389 test_sigma_range(reporter, factory); |
| 391 } | 390 } |
| OLD | NEW |