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

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

Issue 1158803002: Added GrAAFlatteningConvexPathRenderer (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebased Created 5 years, 6 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/GrAAConvexTessellator.cpp ('k') | src/gpu/GrAALinearizingConvexPathRenderer.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 /* 2 /*
3 * Copyright 2012 Google Inc. 3 * Copyright 2015 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 #ifndef GrAAConvexPathRenderer_DEFINED 9 #ifndef GrAALinearizingConvexPathRenderer_DEFINED
10 #define GrAAConvexPathRenderer_DEFINED 10 #define GrAALinearizingConvexPathRenderer_DEFINED
11 11
12 #include "GrPathRenderer.h" 12 #include "GrPathRenderer.h"
13 13
14 class GrAAConvexPathRenderer : public GrPathRenderer { 14 class GrAALinearizingConvexPathRenderer : public GrPathRenderer {
15 public: 15 public:
16 GrAAConvexPathRenderer(); 16 GrAALinearizingConvexPathRenderer();
17 17
18 virtual bool canDrawPath(const GrDrawTarget*, 18 virtual bool canDrawPath(const GrDrawTarget*,
19 const GrPipelineBuilder*, 19 const GrPipelineBuilder*,
20 const SkMatrix& viewMatrix, 20 const SkMatrix& viewMatrix,
21 const SkPath&, 21 const SkPath&,
22 const GrStrokeInfo&, 22 const GrStrokeInfo&,
23 bool antiAlias) const override; 23 bool antiAlias) const override;
24 24
25 protected: 25 protected:
26 virtual bool onDrawPath(GrDrawTarget*, 26 virtual bool onDrawPath(GrDrawTarget*,
27 GrPipelineBuilder*, 27 GrPipelineBuilder*,
28 GrColor, 28 GrColor,
29 const SkMatrix& viewMatrix, 29 const SkMatrix& viewMatrix,
30 const SkPath&, 30 const SkPath&,
31 const GrStrokeInfo&, 31 const GrStrokeInfo&,
32 bool antiAlias) override; 32 bool antiAlias) override;
33 }; 33 };
34 34
35 #endif 35 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrAAConvexTessellator.cpp ('k') | src/gpu/GrAALinearizingConvexPathRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698