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

Side by Side Diff: src/gpu/GrSoftwarePathRenderer.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 | « src/gpu/GrSWMaskHelper.cpp ('k') | src/gpu/GrSoftwarePathRenderer.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 GrSoftwarePathRenderer_DEFINED 9 #ifndef GrSoftwarePathRenderer_DEFINED
10 #define GrSoftwarePathRenderer_DEFINED 10 #define GrSoftwarePathRenderer_DEFINED
(...skipping 18 matching lines...) Expand all
29 const SkStrokeRec&, 29 const SkStrokeRec&,
30 bool antiAlias) const SK_OVERRIDE; 30 bool antiAlias) const SK_OVERRIDE;
31 protected: 31 protected:
32 virtual StencilSupport onGetStencilSupport(const GrDrawTarget*, 32 virtual StencilSupport onGetStencilSupport(const GrDrawTarget*,
33 const GrDrawState*, 33 const GrDrawState*,
34 const SkPath&, 34 const SkPath&,
35 const SkStrokeRec&) const SK_OVER RIDE; 35 const SkStrokeRec&) const SK_OVER RIDE;
36 36
37 virtual bool onDrawPath(GrDrawTarget*, 37 virtual bool onDrawPath(GrDrawTarget*,
38 GrDrawState*, 38 GrDrawState*,
39 GrColor,
39 const SkPath&, 40 const SkPath&,
40 const SkStrokeRec&, 41 const SkStrokeRec&,
41 bool antiAlias) SK_OVERRIDE; 42 bool antiAlias) SK_OVERRIDE;
42 43
43 private: 44 private:
44 GrContext* fContext; 45 GrContext* fContext;
45 46
46 typedef GrPathRenderer INHERITED; 47 typedef GrPathRenderer INHERITED;
47 }; 48 };
48 49
49 #endif 50 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrSWMaskHelper.cpp ('k') | src/gpu/GrSoftwarePathRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698