| OLD | NEW |
| 1 | |
| 2 /* | 1 /* |
| 3 * Copyright 2012 Google Inc. | 2 * Copyright 2012 Google Inc. |
| 4 * | 3 * |
| 5 * 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 |
| 6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 7 */ | 6 */ |
| 8 | 7 |
| 9 #include "GrSoftwarePathRenderer.h" | 8 #include "GrSoftwarePathRenderer.h" |
| 10 #include "GrContext.h" | 9 #include "GrContext.h" |
| 11 #include "GrSWMaskHelper.h" | 10 #include "GrSWMaskHelper.h" |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 GrSWMaskHelper::DrawToTargetWithPathMask(texture, args.fTarget, args.fPipeli
neBuilder, | 140 GrSWMaskHelper::DrawToTargetWithPathMask(texture, args.fTarget, args.fPipeli
neBuilder, |
| 142 args.fColor, *args.fViewMatrix, dev
PathBounds); | 141 args.fColor, *args.fViewMatrix, dev
PathBounds); |
| 143 | 142 |
| 144 if (args.fPath->isInverseFillType()) { | 143 if (args.fPath->isInverseFillType()) { |
| 145 draw_around_inv_path(args.fTarget, args.fPipelineBuilder, args.fColor, *
args.fViewMatrix, | 144 draw_around_inv_path(args.fTarget, args.fPipelineBuilder, args.fColor, *
args.fViewMatrix, |
| 146 devClipBounds, devPathBounds); | 145 devClipBounds, devPathBounds); |
| 147 } | 146 } |
| 148 | 147 |
| 149 return true; | 148 return true; |
| 150 } | 149 } |
| OLD | NEW |