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

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

Issue 1229143007: Start to propagate constness of GrPipelineBuilder up the stack (Closed) Base URL: https://skia.googlesource.com/skia.git@const-fix
Patch Set: rebase Created 5 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
« no previous file with comments | « src/gpu/GrClipMaskManager.cpp ('k') | src/gpu/GrDefaultPathRenderer.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 14 matching lines...) Expand all
25 25
26 bool GrDashLinePathRenderer::onDrawPath(GrDrawTarget* target, 26 bool GrDashLinePathRenderer::onDrawPath(GrDrawTarget* target,
27 GrPipelineBuilder* pipelineBuilder, 27 GrPipelineBuilder* pipelineBuilder,
28 GrColor color, 28 GrColor color,
29 const SkMatrix& viewMatrix, 29 const SkMatrix& viewMatrix,
30 const SkPath& path, 30 const SkPath& path,
31 const GrStrokeInfo& stroke, 31 const GrStrokeInfo& stroke,
32 bool useAA) { 32 bool useAA) {
33 SkPoint pts[2]; 33 SkPoint pts[2];
34 SkAssertResult(path.isLine(pts)); 34 SkAssertResult(path.isLine(pts));
35 return GrDashingEffect::DrawDashLine(target, pipelineBuilder, color, 35 return GrDashingEffect::DrawDashLine(target, *pipelineBuilder, color,
36 viewMatrix, pts, useAA, stroke); 36 viewMatrix, pts, useAA, stroke);
37 } 37 }
OLDNEW
« no previous file with comments | « src/gpu/GrClipMaskManager.cpp ('k') | src/gpu/GrDefaultPathRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698