| 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 "GrDashLinePathRenderer.h" | 8 #include "GrDashLinePathRenderer.h" |
| 9 | 9 |
| 10 #include "GrGpu.h" | 10 #include "GrGpu.h" |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 *args.f
ViewMatrix, | 29 *args.f
ViewMatrix, |
| 30 pts, | 30 pts, |
| 31 args.fA
ntiAlias, | 31 args.fA
ntiAlias, |
| 32 msaaIsE
nabled, | 32 msaaIsE
nabled, |
| 33 *args.f
Style)); | 33 *args.f
Style)); |
| 34 if (!batch) { | 34 if (!batch) { |
| 35 return false; | 35 return false; |
| 36 } | 36 } |
| 37 | 37 |
| 38 GrPipelineBuilder pipelineBuilder(*args.fPaint, msaaIsEnabled); | 38 GrPipelineBuilder pipelineBuilder(*args.fPaint, msaaIsEnabled); |
| 39 pipelineBuilder.setRenderTarget(args.fDrawContext->accessRenderTarget()); | |
| 40 pipelineBuilder.setUserStencil(args.fUserStencilSettings); | 39 pipelineBuilder.setUserStencil(args.fUserStencilSettings); |
| 41 | 40 |
| 42 args.fDrawContext->drawBatch(pipelineBuilder, *args.fClip, batch); | 41 args.fDrawContext->drawBatch(pipelineBuilder, *args.fClip, batch); |
| 43 return true; | 42 return true; |
| 44 } | 43 } |
| OLD | NEW |