OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2016 Google Inc. | 2 * Copyright 2016 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 "GrMSAAPathRenderer.h" | 8 #include "GrMSAAPathRenderer.h" |
9 | 9 |
10 #include "GrAuditTrail.h" | 10 #include "GrAuditTrail.h" |
11 #include "GrBatchFlushState.h" | 11 #include "GrBatchFlushState.h" |
12 #include "GrClip.h" | 12 #include "GrClip.h" |
13 #include "GrDefaultGeoProcFactory.h" | 13 #include "GrDefaultGeoProcFactory.h" |
| 14 #include "GrFixedClip.h" |
14 #include "GrPathStencilSettings.h" | 15 #include "GrPathStencilSettings.h" |
15 #include "GrPathUtils.h" | 16 #include "GrPathUtils.h" |
16 #include "GrPipelineBuilder.h" | 17 #include "GrPipelineBuilder.h" |
17 #include "GrMesh.h" | 18 #include "GrMesh.h" |
18 #include "SkGeometry.h" | 19 #include "SkGeometry.h" |
19 #include "SkTraceEvent.h" | 20 #include "SkTraceEvent.h" |
20 #include "glsl/GrGLSLGeometryProcessor.h" | 21 #include "glsl/GrGLSLGeometryProcessor.h" |
21 #include "glsl/GrGLSLFragmentShaderBuilder.h" | 22 #include "glsl/GrGLSLFragmentShaderBuilder.h" |
22 #include "glsl/GrGLSLVertexShaderBuilder.h" | 23 #include "glsl/GrGLSLVertexShaderBuilder.h" |
23 #include "glsl/GrGLSLProgramDataManager.h" | 24 #include "glsl/GrGLSLProgramDataManager.h" |
(...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
705 | 706 |
706 GrPaint paint; | 707 GrPaint paint; |
707 paint.setXPFactory(GrDisableColorXPFactory::Make()); | 708 paint.setXPFactory(GrDisableColorXPFactory::Make()); |
708 paint.setAntiAlias(args.fIsAA); | 709 paint.setAntiAlias(args.fIsAA); |
709 | 710 |
710 this->internalDrawPath(args.fDrawContext, paint, GrUserStencilSettings::kUnu
sed, *args.fClip, | 711 this->internalDrawPath(args.fDrawContext, paint, GrUserStencilSettings::kUnu
sed, *args.fClip, |
711 *args.fViewMatrix, *args.fShape, true); | 712 *args.fViewMatrix, *args.fShape, true); |
712 } | 713 } |
713 | 714 |
714 ////////////////////////////////////////////////////////////////////////////////
/////////////////// | 715 ////////////////////////////////////////////////////////////////////////////////
/////////////////// |
OLD | NEW |