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

Side by Side Diff: src/gpu/GrDefaultPathRenderer.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/GrDefaultGeoProcFactory.cpp ('k') | src/gpu/GrDefaultPathRenderer.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 2011 Google Inc. 2 * Copyright 2011 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 GrDefaultPathRenderer_DEFINED 8 #ifndef GrDefaultPathRenderer_DEFINED
9 #define GrDefaultPathRenderer_DEFINED 9 #define GrDefaultPathRenderer_DEFINED
10 10
(...skipping 16 matching lines...) Expand all
27 27
28 private: 28 private:
29 29
30 virtual StencilSupport onGetStencilSupport(const GrDrawTarget*, 30 virtual StencilSupport onGetStencilSupport(const GrDrawTarget*,
31 const GrDrawState*, 31 const GrDrawState*,
32 const SkPath&, 32 const SkPath&,
33 const SkStrokeRec&) const SK_OVER RIDE; 33 const SkStrokeRec&) const SK_OVER RIDE;
34 34
35 virtual bool onDrawPath(GrDrawTarget*, 35 virtual bool onDrawPath(GrDrawTarget*,
36 GrDrawState*, 36 GrDrawState*,
37 GrColor,
37 const SkPath&, 38 const SkPath&,
38 const SkStrokeRec&, 39 const SkStrokeRec&,
39 bool antiAlias) SK_OVERRIDE; 40 bool antiAlias) SK_OVERRIDE;
40 41
41 virtual void onStencilPath(GrDrawTarget*, 42 virtual void onStencilPath(GrDrawTarget*,
42 GrDrawState*, 43 GrDrawState*,
43 const SkPath&, 44 const SkPath&,
44 const SkStrokeRec&) SK_OVERRIDE; 45 const SkStrokeRec&) SK_OVERRIDE;
45 46
46 bool internalDrawPath(GrDrawTarget*, 47 bool internalDrawPath(GrDrawTarget*,
47 GrDrawState*, 48 GrDrawState*,
49 GrColor,
48 const SkPath&, 50 const SkPath&,
49 const SkStrokeRec&, 51 const SkStrokeRec&,
50 bool stencilOnly); 52 bool stencilOnly);
51 53
52 bool createGeom(GrDrawTarget*, 54 bool createGeom(GrDrawTarget*,
53 GrDrawState*, 55 GrDrawState*,
54 GrPrimitiveType*, 56 GrPrimitiveType*,
55 int* vertexCnt, 57 int* vertexCnt,
56 int* indexCnt, 58 int* indexCnt,
57 GrDrawTarget::AutoReleaseGeometry*, 59 GrDrawTarget::AutoReleaseGeometry*,
58 const SkPath&, 60 const SkPath&,
59 const SkStrokeRec&, 61 const SkStrokeRec&,
60 SkScalar srcSpaceTol); 62 SkScalar srcSpaceTol);
61 63
62 bool fSeparateStencil; 64 bool fSeparateStencil;
63 bool fStencilWrapOps; 65 bool fStencilWrapOps;
64 66
65 typedef GrPathRenderer INHERITED; 67 typedef GrPathRenderer INHERITED;
66 }; 68 };
67 69
68 #endif 70 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrDefaultGeoProcFactory.cpp ('k') | src/gpu/GrDefaultPathRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698