Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Side by Side Diff: src/gpu/GrAAConvexPathRenderer.cpp

Issue 356513003: Step towards variable length effect keys. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: tweak comment Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "SkTraceEvent.h" 19 #include "SkTraceEvent.h"
20 20
21 #include "gl/GrGLEffect.h" 21 #include "gl/GrGLEffect.h"
22 #include "gl/GrGLShaderBuilder.h"
22 #include "gl/GrGLSL.h" 23 #include "gl/GrGLSL.h"
23 #include "gl/GrGLVertexEffect.h" 24 #include "gl/GrGLVertexEffect.h"
24 25
25 #include "effects/GrVertexEffect.h" 26 #include "effects/GrVertexEffect.h"
26 27
27 GrAAConvexPathRenderer::GrAAConvexPathRenderer() { 28 GrAAConvexPathRenderer::GrAAConvexPathRenderer() {
28 } 29 }
29 30
30 struct Segment { 31 struct Segment {
31 enum { 32 enum {
(...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after
708 vOffset, // start vertex 709 vOffset, // start vertex
709 0, // start index 710 0, // start index
710 draw.fVertexCnt, 711 draw.fVertexCnt,
711 draw.fIndexCnt, 712 draw.fIndexCnt,
712 &devBounds); 713 &devBounds);
713 vOffset += draw.fVertexCnt; 714 vOffset += draw.fVertexCnt;
714 } 715 }
715 716
716 return true; 717 return true;
717 } 718 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698