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/GrAAHairLinePathRenderer.h

Issue 791743003: Remove GP from drawstate, revision of invariant output for GP (Closed) Base URL: https://skia.googlesource.com/skia.git@color-to-gp
Patch Set: more windows 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/GrAADistanceFieldPathRenderer.cpp ('k') | src/gpu/GrAAHairLinePathRenderer.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 2011 Google Inc. 3 * Copyright 2011 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 GrAAHairLinePathRenderer_DEFINED 9 #ifndef GrAAHairLinePathRenderer_DEFINED
10 #define GrAAHairLinePathRenderer_DEFINED 10 #define GrAAHairLinePathRenderer_DEFINED
(...skipping 25 matching lines...) Expand all
36 bool antiAlias) SK_OVERRIDE; 36 bool antiAlias) SK_OVERRIDE;
37 37
38 private: 38 private:
39 GrAAHairLinePathRenderer(const GrContext* context, 39 GrAAHairLinePathRenderer(const GrContext* context,
40 const GrIndexBuffer* fLinesIndexBuffer, 40 const GrIndexBuffer* fLinesIndexBuffer,
41 const GrIndexBuffer* fQuadsIndexBuffer); 41 const GrIndexBuffer* fQuadsIndexBuffer);
42 42
43 bool createLineGeom(GrDrawTarget* target, 43 bool createLineGeom(GrDrawTarget* target,
44 GrDrawState*, 44 GrDrawState*,
45 uint8_t coverage, 45 uint8_t coverage,
46 size_t vertexStride,
46 GrDrawTarget::AutoReleaseGeometry* arg, 47 GrDrawTarget::AutoReleaseGeometry* arg,
47 SkRect* devBounds, 48 SkRect* devBounds,
48 const SkPath& path, 49 const SkPath& path,
49 const PtArray& lines, 50 const PtArray& lines,
50 int lineCnt); 51 int lineCnt);
51 52
52 bool createBezierGeom(GrDrawTarget* target, 53 bool createBezierGeom(GrDrawTarget* target,
53 GrDrawState*, 54 GrDrawState*,
54 GrDrawTarget::AutoReleaseGeometry* arg, 55 GrDrawTarget::AutoReleaseGeometry* arg,
55 SkRect* devBounds, 56 SkRect* devBounds,
56 const SkPath& path, 57 const SkPath& path,
57 const PtArray& quads, 58 const PtArray& quads,
58 int quadCnt, 59 int quadCnt,
59 const PtArray& conics, 60 const PtArray& conics,
60 int conicCnt, 61 int conicCnt,
61 const IntArray& qSubdivs, 62 const IntArray& qSubdivs,
62 const FloatArray& cWeights, 63 const FloatArray& cWeights,
63 size_t vertexStride); 64 size_t vertexStride);
64 65
65 const GrIndexBuffer* fLinesIndexBuffer; 66 const GrIndexBuffer* fLinesIndexBuffer;
66 const GrIndexBuffer* fQuadsIndexBuffer; 67 const GrIndexBuffer* fQuadsIndexBuffer;
67 68
68 typedef GrPathRenderer INHERITED; 69 typedef GrPathRenderer INHERITED;
69 }; 70 };
70 71
71 72
72 #endif 73 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrAADistanceFieldPathRenderer.cpp ('k') | src/gpu/GrAAHairLinePathRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698