| 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 "SkGpuDevice.h" | 8 #include "SkGpuDevice.h" |
| 9 | 9 |
| 10 #include "GrBlurUtils.h" | 10 #include "GrBlurUtils.h" |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 fDrawContext, | 226 fDrawContext, |
| 227 &grPaint, | 227 &grPaint, |
| 228 clip, | 228 clip, |
| 229 viewMatrix, | 229 viewMatrix, |
| 230 rec, | 230 rec, |
| 231 rrect)) { | 231 rrect)) { |
| 232 return; | 232 return; |
| 233 } | 233 } |
| 234 SkPath rectPath; | 234 SkPath rectPath; |
| 235 rectPath.addRect(clippedDstRect); | 235 rectPath.addRect(clippedDstRect); |
| 236 rectPath.setIsVolatile(true); |
| 236 GrBlurUtils::drawPathWithMaskFilter(this->context(), fDrawContext, fRenderTa
rget, fClip, | 237 GrBlurUtils::drawPathWithMaskFilter(this->context(), fDrawContext, fRenderTa
rget, fClip, |
| 237 rectPath, &grPaint, viewMatrix, mf, pain
t.getPathEffect(), | 238 rectPath, &grPaint, viewMatrix, mf, pain
t.getPathEffect(), |
| 238 GrStrokeInfo::FillInfo()); | 239 GrStrokeInfo::FillInfo(), true); |
| 239 } | 240 } |
| OLD | NEW |