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

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

Issue 882883003: Revert of Hairline batch (Closed) Base URL: https://skia.googlesource.com/skia.git@2_defer
Patch Set: Created 5 years, 10 months 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 | « no previous file | 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 24 matching lines...) Expand all
35 const SkMatrix& viewMatrix, 35 const SkMatrix& viewMatrix,
36 const SkPath&, 36 const SkPath&,
37 const SkStrokeRec&, 37 const SkStrokeRec&,
38 bool antiAlias) SK_OVERRIDE; 38 bool antiAlias) SK_OVERRIDE;
39 39
40 private: 40 private:
41 GrAAHairLinePathRenderer(const GrContext* context, 41 GrAAHairLinePathRenderer(const GrContext* context,
42 const GrIndexBuffer* fLinesIndexBuffer, 42 const GrIndexBuffer* fLinesIndexBuffer,
43 const GrIndexBuffer* fQuadsIndexBuffer); 43 const GrIndexBuffer* fQuadsIndexBuffer);
44 44
45 bool createLineGeom(GrDrawTarget* target,
46 GrPipelineBuilder*,
47 const SkMatrix& viewMatrix,
48 uint8_t coverage,
49 size_t vertexStride,
50 GrDrawTarget::AutoReleaseGeometry* arg,
51 SkRect* devBounds,
52 const SkPath& path,
53 const PtArray& lines,
54 int lineCnt);
55
56 bool createBezierGeom(GrDrawTarget* target,
57 GrPipelineBuilder*,
58 const SkMatrix& viewMatrix,
59 GrDrawTarget::AutoReleaseGeometry* arg,
60 SkRect* devBounds,
61 const SkPath& path,
62 const PtArray& quads,
63 int quadCnt,
64 const PtArray& conics,
65 int conicCnt,
66 const IntArray& qSubdivs,
67 const FloatArray& cWeights,
68 size_t vertexStride);
69
45 const GrIndexBuffer* fLinesIndexBuffer; 70 const GrIndexBuffer* fLinesIndexBuffer;
46 const GrIndexBuffer* fQuadsIndexBuffer; 71 const GrIndexBuffer* fQuadsIndexBuffer;
47 72
48 typedef GrPathRenderer INHERITED; 73 typedef GrPathRenderer INHERITED;
49 }; 74 };
50 75
51 76
52 #endif 77 #endif
OLDNEW
« no previous file with comments | « no previous file | src/gpu/GrAAHairLinePathRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698