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

Side by Side Diff: src/gpu/GrBlurUtils.h

Issue 1957363002: Replace GrStrokeInfo with GrStyle. (Closed) Base URL: https://chromium.googlesource.com/skia.git@resscale
Patch Set: Fix issue where hairlines were going to MSAAPathRenderer 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
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 #ifndef GrBlurUtils_DEFINED 8 #ifndef GrBlurUtils_DEFINED
9 #define GrBlurUtils_DEFINED 9 #define GrBlurUtils_DEFINED
10 10
11 class GrClip; 11 class GrClip;
12 class GrContext; 12 class GrContext;
13 class GrDrawContext; 13 class GrDrawContext;
14 class GrPaint; 14 class GrPaint;
15 class GrRenderTarget; 15 class GrRenderTarget;
16 class GrStrokeInfo; 16 class GrStyle;
17 struct SkIRect; 17 struct SkIRect;
18 class SkMaskFilter; 18 class SkMaskFilter;
19 class SkMatrix; 19 class SkMatrix;
20 class SkPaint; 20 class SkPaint;
21 class SkPath; 21 class SkPath;
22 class SkPathEffect; 22 class SkPathEffect;
23 23
24 24
25 /** 25 /**
26 * Blur utilities. 26 * Blur utilities.
(...skipping 16 matching lines...) Expand all
43 * Draw a path handling the mask filter. The mask filter is not optional. Th e path effect is 43 * Draw a path handling the mask filter. The mask filter is not optional. Th e path effect is
44 * optional. The GrPaint will be modified after return. 44 * optional. The GrPaint will be modified after return.
45 */ 45 */
46 void drawPathWithMaskFilter(GrContext*, 46 void drawPathWithMaskFilter(GrContext*,
47 GrDrawContext*, 47 GrDrawContext*,
48 const GrClip&, 48 const GrClip&,
49 const SkPath& path, 49 const SkPath& path,
50 GrPaint*, 50 GrPaint*,
51 const SkMatrix& viewMatrix, 51 const SkMatrix& viewMatrix,
52 const SkMaskFilter*, 52 const SkMaskFilter*,
53 const SkPathEffect*, 53 const GrStyle&,
54 const GrStrokeInfo&,
55 bool pathIsMutable); 54 bool pathIsMutable);
56 55
57 }; 56 };
58 57
59 #endif 58 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698