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/GrStencilAndCoverPathRenderer.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/GrSoftwarePathRenderer.cpp ('k') | src/gpu/GrStencilAndCoverPathRenderer.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 GrBuiltInPathRenderer_DEFINED 9 #ifndef GrBuiltInPathRenderer_DEFINED
10 #define GrBuiltInPathRenderer_DEFINED 10 #define GrBuiltInPathRenderer_DEFINED
(...skipping 21 matching lines...) Expand all
32 bool antiAlias) const SK_OVERRIDE; 32 bool antiAlias) const SK_OVERRIDE;
33 33
34 protected: 34 protected:
35 virtual StencilSupport onGetStencilSupport(const GrDrawTarget*, 35 virtual StencilSupport onGetStencilSupport(const GrDrawTarget*,
36 const GrDrawState*, 36 const GrDrawState*,
37 const SkPath&, 37 const SkPath&,
38 const SkStrokeRec&) const SK_OVER RIDE; 38 const SkStrokeRec&) const SK_OVER RIDE;
39 39
40 virtual bool onDrawPath(GrDrawTarget*, 40 virtual bool onDrawPath(GrDrawTarget*,
41 GrDrawState*, 41 GrDrawState*,
42 GrColor,
42 const SkPath&, 43 const SkPath&,
43 const SkStrokeRec&, 44 const SkStrokeRec&,
44 bool antiAlias) SK_OVERRIDE; 45 bool antiAlias) SK_OVERRIDE;
45 46
46 virtual void onStencilPath(GrDrawTarget*, 47 virtual void onStencilPath(GrDrawTarget*,
47 GrDrawState*, 48 GrDrawState*,
48 const SkPath&, 49 const SkPath&,
49 const SkStrokeRec&) SK_OVERRIDE; 50 const SkStrokeRec&) SK_OVERRIDE;
50 51
51 private: 52 private:
52 GrStencilAndCoverPathRenderer(GrGpu*); 53 GrStencilAndCoverPathRenderer(GrGpu*);
53 54
54 GrGpu* fGpu; 55 GrGpu* fGpu;
55 56
56 typedef GrPathRenderer INHERITED; 57 typedef GrPathRenderer INHERITED;
57 }; 58 };
58 59
59 #endif 60 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrSoftwarePathRenderer.cpp ('k') | src/gpu/GrStencilAndCoverPathRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698