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 #include "GrAAConvexPathRenderer.h" | 9 #include "GrAAConvexPathRenderer.h" |
10 | 10 |
11 #include "GrContext.h" | 11 #include "GrContext.h" |
12 #include "GrDrawState.h" | 12 #include "GrDrawState.h" |
13 #include "GrDrawTargetCaps.h" | 13 #include "GrDrawTargetCaps.h" |
14 #include "GrEffect.h" | 14 #include "GrEffect.h" |
15 #include "GrPathUtils.h" | 15 #include "GrPathUtils.h" |
16 #include "GrTBackendEffectFactory.h" | 16 #include "GrTBackendEffectFactory.h" |
17 #include "SkString.h" | 17 #include "SkString.h" |
18 #include "SkStrokeRec.h" | 18 #include "SkStrokeRec.h" |
19 #include "SkTrace.h" | 19 #include "SkTraceEvent.h" |
20 | 20 |
21 #include "gl/GrGLEffect.h" | 21 #include "gl/GrGLEffect.h" |
22 #include "gl/GrGLSL.h" | 22 #include "gl/GrGLSL.h" |
23 #include "gl/GrGLVertexEffect.h" | 23 #include "gl/GrGLVertexEffect.h" |
24 | 24 |
25 #include "effects/GrVertexEffect.h" | 25 #include "effects/GrVertexEffect.h" |
26 | 26 |
27 GrAAConvexPathRenderer::GrAAConvexPathRenderer() { | 27 GrAAConvexPathRenderer::GrAAConvexPathRenderer() { |
28 } | 28 } |
29 | 29 |
(...skipping 678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
708 vOffset, // start vertex | 708 vOffset, // start vertex |
709 0, // start index | 709 0, // start index |
710 draw.fVertexCnt, | 710 draw.fVertexCnt, |
711 draw.fIndexCnt, | 711 draw.fIndexCnt, |
712 &devBounds); | 712 &devBounds); |
713 vOffset += draw.fVertexCnt; | 713 vOffset += draw.fVertexCnt; |
714 } | 714 } |
715 | 715 |
716 return true; | 716 return true; |
717 } | 717 } |
OLD | NEW |