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

Side by Side Diff: src/gpu/effects/GrDashingEffect.h

Issue 1967513002: Revert of Replace GrStrokeInfo with GrStyle. (Closed) Base URL: https://chromium.googlesource.com/skia.git@resscale
Patch Set: Created 4 years, 7 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/batches/GrTessellatingPathRenderer.cpp ('k') | src/gpu/effects/GrDashingEffect.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 2014 Google Inc. 2 * Copyright 2014 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 #ifndef GrDashingEffect_DEFINED 8 #ifndef GrDashingEffect_DEFINED
9 #define GrDashingEffect_DEFINED 9 #define GrDashingEffect_DEFINED
10 10
11 #include "GrColor.h" 11 #include "GrColor.h"
12 #include "GrTypesPriv.h" 12 #include "GrTypesPriv.h"
13 #include "SkPathEffect.h" 13 #include "SkPathEffect.h"
14 14
15 class GrClip; 15 class GrClip;
16 class GrDrawBatch; 16 class GrDrawBatch;
17 class GrStyle; 17 class GrStrokeInfo;
18 18
19 namespace GrDashingEffect { 19 namespace GrDashingEffect {
20 GrDrawBatch* CreateDashLineBatch(GrColor, 20 GrDrawBatch* CreateDashLineBatch(GrColor,
21 const SkMatrix& viewMatrix, 21 const SkMatrix& viewMatrix,
22 const SkPoint pts[2], 22 const SkPoint pts[2],
23 bool useAA, 23 bool useAA,
24 bool msaaIsEnabled, 24 bool msaaIsEnabled,
25 const GrStyle& style); 25 const GrStrokeInfo& strokeInfo);
26 bool CanDrawDashLine(const SkPoint pts[2], const GrStyle& style, 26 bool CanDrawDashLine(const SkPoint pts[2], const GrStrokeInfo& strokeInfo,
27 const SkMatrix& viewMatrix); 27 const SkMatrix& viewMatrix);
28 } 28 }
29 29
30 #endif 30 #endif
OLDNEW
« no previous file with comments | « src/gpu/batches/GrTessellatingPathRenderer.cpp ('k') | src/gpu/effects/GrDashingEffect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698