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

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

Issue 783763002: Initial CL to move color / coverage off of drawstate (Closed) Base URL: https://skia.googlesource.com/skia.git@no-static-gp
Patch Set: bug fix Created 6 years 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 | « include/gpu/GrProcessorUnitTest.h ('k') | src/gpu/GrAAConvexPathRenderer.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 2012 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 GrAAConvexPathRenderer_DEFINED
10 #define GrAAConvexPathRenderer_DEFINED 10 #define GrAAConvexPathRenderer_DEFINED
11 11
12 #include "GrPathRenderer.h" 12 #include "GrPathRenderer.h"
13 13
14 class GrAAConvexPathRenderer : public GrPathRenderer { 14 class GrAAConvexPathRenderer : public GrPathRenderer {
15 public: 15 public:
16 GrAAConvexPathRenderer(); 16 GrAAConvexPathRenderer();
17 17
18 virtual bool canDrawPath(const GrDrawTarget*, 18 virtual bool canDrawPath(const GrDrawTarget*,
19 const GrDrawState*, 19 const GrDrawState*,
20 const SkPath&, 20 const SkPath&,
21 const SkStrokeRec&, 21 const SkStrokeRec&,
22 bool antiAlias) const SK_OVERRIDE; 22 bool antiAlias) const SK_OVERRIDE;
23 23
24 protected: 24 protected:
25 virtual bool onDrawPath(GrDrawTarget*, 25 virtual bool onDrawPath(GrDrawTarget*,
26 GrDrawState*, 26 GrDrawState*,
27 GrColor,
27 const SkPath&, 28 const SkPath&,
28 const SkStrokeRec&, 29 const SkStrokeRec&,
29 bool antiAlias) SK_OVERRIDE; 30 bool antiAlias) SK_OVERRIDE;
30 }; 31 };
31 32
32 #endif 33 #endif
OLDNEW
« no previous file with comments | « include/gpu/GrProcessorUnitTest.h ('k') | src/gpu/GrAAConvexPathRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698