| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 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 "GrBlurUtils.h" | 8 #include "GrBlurUtils.h" |
| 9 #include "GrDrawContext.h" | 9 #include "GrDrawContext.h" |
| 10 #include "GrCaps.h" | 10 #include "GrCaps.h" |
| 11 #include "GrContext.h" | 11 #include "GrContext.h" |
| 12 #include "GrFixedClip.h" |
| 12 #include "effects/GrSimpleTextureEffect.h" | 13 #include "effects/GrSimpleTextureEffect.h" |
| 13 #include "GrStyle.h" | 14 #include "GrStyle.h" |
| 14 #include "GrTexture.h" | 15 #include "GrTexture.h" |
| 15 #include "GrTextureProvider.h" | 16 #include "GrTextureProvider.h" |
| 16 #include "SkDraw.h" | 17 #include "SkDraw.h" |
| 17 #include "SkGrPriv.h" | 18 #include "SkGrPriv.h" |
| 18 #include "SkMaskFilter.h" | 19 #include "SkMaskFilter.h" |
| 19 #include "SkPaint.h" | 20 #include "SkPaint.h" |
| 20 #include "SkTLazy.h" | 21 #include "SkTLazy.h" |
| 21 | 22 |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 } | 294 } |
| 294 | 295 |
| 295 if (paint.getMaskFilter()) { | 296 if (paint.getMaskFilter()) { |
| 296 draw_path_with_mask_filter(context, drawContext, clip, &grPaint, viewMat
rix, | 297 draw_path_with_mask_filter(context, drawContext, clip, &grPaint, viewMat
rix, |
| 297 paint.getMaskFilter(), style, | 298 paint.getMaskFilter(), style, |
| 298 path, pathIsMutable); | 299 path, pathIsMutable); |
| 299 } else { | 300 } else { |
| 300 drawContext->drawPath(clip, grPaint, viewMatrix, *path, style); | 301 drawContext->drawPath(clip, grPaint, viewMatrix, *path, style); |
| 301 } | 302 } |
| 302 } | 303 } |
| OLD | NEW |