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

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

Issue 18258005: Add implicit hairline conic rendering to GPU (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « src/core/SkGeometry.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 19 matching lines...) Expand all
30 30
31 private: 31 private:
32 GrAAHairLinePathRenderer(const GrContext* context, 32 GrAAHairLinePathRenderer(const GrContext* context,
33 const GrIndexBuffer* fLinesIndexBuffer, 33 const GrIndexBuffer* fLinesIndexBuffer,
34 const GrIndexBuffer* fQuadsIndexBuffer); 34 const GrIndexBuffer* fQuadsIndexBuffer);
35 35
36 bool createGeom(const SkPath& path, 36 bool createGeom(const SkPath& path,
37 GrDrawTarget* target, 37 GrDrawTarget* target,
38 int* lineCnt, 38 int* lineCnt,
39 int* quadCnt, 39 int* quadCnt,
40 int* conicCnt,
40 GrDrawTarget::AutoReleaseGeometry* arg, 41 GrDrawTarget::AutoReleaseGeometry* arg,
41 SkRect* devBounds ); 42 SkRect* devBounds );
42 43
43 const GrIndexBuffer* fLinesIndexBuffer; 44 const GrIndexBuffer* fLinesIndexBuffer;
44 const GrIndexBuffer* fQuadsIndexBuffer; 45 const GrIndexBuffer* fQuadsIndexBuffer;
45 46
46 typedef GrPathRenderer INHERITED; 47 typedef GrPathRenderer INHERITED;
47 }; 48 };
48 49
49 50
50 #endif 51 #endif
OLDNEW
« no previous file with comments | « src/core/SkGeometry.cpp ('k') | src/gpu/GrAAHairLinePathRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698