OLD | NEW |
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 "SkBlurMask.h" | 8 #include "SkBlurMask.h" |
9 #include "SkBlurMaskFilter.h" | 9 #include "SkBlurMaskFilter.h" |
10 #include "SkBlurDrawLooper.h" | 10 #include "SkBlurDrawLooper.h" |
| 11 #include "SkCanvas.h" |
| 12 #include "SkEmbossMaskFilter.h" |
11 #include "SkLayerDrawLooper.h" | 13 #include "SkLayerDrawLooper.h" |
12 #include "SkEmbossMaskFilter.h" | |
13 #include "SkCanvas.h" | |
14 #include "SkMath.h" | 14 #include "SkMath.h" |
15 #include "SkPaint.h" | 15 #include "SkPaint.h" |
| 16 #include "SkPath.h" |
16 #include "Test.h" | 17 #include "Test.h" |
17 | 18 |
18 #if SK_SUPPORT_GPU | 19 #if SK_SUPPORT_GPU |
19 #include "GrContextFactory.h" | 20 #include "GrContextFactory.h" |
20 #include "SkGpuDevice.h" | 21 #include "SkGpuDevice.h" |
21 #endif | 22 #endif |
22 | 23 |
23 #define WRITE_CSV 0 | 24 #define WRITE_CSV 0 |
24 | 25 |
25 /////////////////////////////////////////////////////////////////////////////// | 26 /////////////////////////////////////////////////////////////////////////////// |
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
564 } | 565 } |
565 } | 566 } |
566 | 567 |
567 ////////////////////////////////////////////////////////////////////////////////
/////////// | 568 ////////////////////////////////////////////////////////////////////////////////
/////////// |
568 | 569 |
569 DEF_GPUTEST(Blur, reporter, factory) { | 570 DEF_GPUTEST(Blur, reporter, factory) { |
570 test_blur_drawing(reporter); | 571 test_blur_drawing(reporter); |
571 test_sigma_range(reporter, factory); | 572 test_sigma_range(reporter, factory); |
572 test_asABlur(reporter); | 573 test_asABlur(reporter); |
573 } | 574 } |
OLD | NEW |