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

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

Issue 1037793002: C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla} (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: git cl web Created 5 years, 9 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/GrTargetCommands.h ('k') | src/gpu/GrTessellatingPathRenderer.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 #ifndef GrTessellatingPathRenderer_DEFINED 8 #ifndef GrTessellatingPathRenderer_DEFINED
9 #define GrTessellatingPathRenderer_DEFINED 9 #define GrTessellatingPathRenderer_DEFINED
10 10
11 #include "GrPathRenderer.h" 11 #include "GrPathRenderer.h"
12 12
13 /** 13 /**
14 * Subclass that renders the path by converting to screen-space trapezoids plus 14 * Subclass that renders the path by converting to screen-space trapezoids plus
15 * extra 1-pixel geometry for AA. 15 * extra 1-pixel geometry for AA.
16 */ 16 */
17 class SK_API GrTessellatingPathRenderer : public GrPathRenderer { 17 class SK_API GrTessellatingPathRenderer : public GrPathRenderer {
18 public: 18 public:
19 GrTessellatingPathRenderer(); 19 GrTessellatingPathRenderer();
20 20
21 bool canDrawPath(const GrDrawTarget*, 21 bool canDrawPath(const GrDrawTarget*,
22 const GrPipelineBuilder*, 22 const GrPipelineBuilder*,
23 const SkMatrix&, 23 const SkMatrix&,
24 const SkPath&, 24 const SkPath&,
25 const SkStrokeRec&, 25 const SkStrokeRec&,
26 bool antiAlias) const SK_OVERRIDE; 26 bool antiAlias) const override;
27 protected: 27 protected:
28 28
29 StencilSupport onGetStencilSupport(const GrDrawTarget*, 29 StencilSupport onGetStencilSupport(const GrDrawTarget*,
30 const GrPipelineBuilder*, 30 const GrPipelineBuilder*,
31 const SkPath&, 31 const SkPath&,
32 const SkStrokeRec&) const SK_OVERRIDE; 32 const SkStrokeRec&) const override;
33 33
34 bool onDrawPath(GrDrawTarget*, 34 bool onDrawPath(GrDrawTarget*,
35 GrPipelineBuilder*, 35 GrPipelineBuilder*,
36 GrColor, 36 GrColor,
37 const SkMatrix& viewMatrix, 37 const SkMatrix& viewMatrix,
38 const SkPath&, 38 const SkPath&,
39 const SkStrokeRec&, 39 const SkStrokeRec&,
40 bool antiAlias) SK_OVERRIDE; 40 bool antiAlias) override;
41 41
42 typedef GrPathRenderer INHERITED; 42 typedef GrPathRenderer INHERITED;
43 }; 43 };
44 44
45 #endif 45 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrTargetCommands.h ('k') | src/gpu/GrTessellatingPathRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698