| 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" | 11 #include "SkCanvas.h" |
| 12 #include "SkColorFilter.h" |
| 12 #include "SkEmbossMaskFilter.h" | 13 #include "SkEmbossMaskFilter.h" |
| 13 #include "SkLayerDrawLooper.h" | 14 #include "SkLayerDrawLooper.h" |
| 14 #include "SkMath.h" | 15 #include "SkMath.h" |
| 15 #include "SkPaint.h" | 16 #include "SkPaint.h" |
| 16 #include "SkPath.h" | 17 #include "SkPath.h" |
| 17 #include "Test.h" | 18 #include "Test.h" |
| 18 | 19 |
| 19 #if SK_SUPPORT_GPU | 20 #if SK_SUPPORT_GPU |
| 20 #include "GrContextFactory.h" | 21 #include "GrContextFactory.h" |
| 21 #include "SkGpuDevice.h" | 22 #include "SkGpuDevice.h" |
| (...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 567 | 568 |
| 568 SkPaint p; | 569 SkPaint p; |
| 569 p.setMaskFilter(SkBlurMaskFilter::Make(kNormal_SkBlurStyle, 0.01f)); | 570 p.setMaskFilter(SkBlurMaskFilter::Make(kNormal_SkBlurStyle, 0.01f)); |
| 570 | 571 |
| 571 canvas->drawRRect(rr, p); | 572 canvas->drawRRect(rr, p); |
| 572 } | 573 } |
| 573 | 574 |
| 574 #endif | 575 #endif |
| 575 | 576 |
| 576 ////////////////////////////////////////////////////////////////////////////////
/////////// | 577 ////////////////////////////////////////////////////////////////////////////////
/////////// |
| OLD | NEW |