| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2012 Google Inc. | 3 * Copyright 2012 Google Inc. |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 | 9 |
| 10 #include "GrStencilAndCoverPathRenderer.h" | 10 #include "GrStencilAndCoverPathRenderer.h" |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 | 149 |
| 150 pipelineBuilder->setStencil(kStencilPass); | 150 pipelineBuilder->setStencil(kStencilPass); |
| 151 SkAutoTUnref<GrPathProcessor> pp(GrPathProcessor::Create(args.fColor, vi
ewMatrix)); | 151 SkAutoTUnref<GrPathProcessor> pp(GrPathProcessor::Create(args.fColor, vi
ewMatrix)); |
| 152 args.fTarget->drawPath(*pipelineBuilder, pp, p, | 152 args.fTarget->drawPath(*pipelineBuilder, pp, p, |
| 153 convert_skpath_filltype(path.getFillType())); | 153 convert_skpath_filltype(path.getFillType())); |
| 154 } | 154 } |
| 155 | 155 |
| 156 pipelineBuilder->stencil()->setDisabled(); | 156 pipelineBuilder->stencil()->setDisabled(); |
| 157 return true; | 157 return true; |
| 158 } | 158 } |
| OLD | NEW |