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

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

Issue 311183002: Push dash checks into GrContext. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Merge issues Created 6 years, 6 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 | « include/gpu/GrContext.h ('k') | src/gpu/GrAARectRenderer.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 2012 Google Inc. 2 * Copyright 2012 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 GrAARectRenderer_DEFINED 8 #ifndef GrAARectRenderer_DEFINED
9 #define GrAARectRenderer_DEFINED 9 #define GrAARectRenderer_DEFINED
10 10
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 rect, combinedMatrix, 58 rect, combinedMatrix,
59 devRect, useVertexCoverage); 59 devRect, useVertexCoverage);
60 #endif 60 #endif
61 } 61 }
62 62
63 void strokeAARect(GrGpu* gpu, 63 void strokeAARect(GrGpu* gpu,
64 GrDrawTarget* target, 64 GrDrawTarget* target,
65 const SkRect& rect, 65 const SkRect& rect,
66 const SkMatrix& combinedMatrix, 66 const SkMatrix& combinedMatrix,
67 const SkRect& devRect, 67 const SkRect& devRect,
68 const SkStrokeRec* stroke, 68 const SkStrokeRec& stroke,
69 bool useVertexCoverage); 69 bool useVertexCoverage);
70 70
71 // First rect is outer; second rect is inner 71 // First rect is outer; second rect is inner
72 void fillAANestedRects(GrGpu* gpu, 72 void fillAANestedRects(GrGpu* gpu,
73 GrDrawTarget* target, 73 GrDrawTarget* target,
74 const SkRect rects[2], 74 const SkRect rects[2],
75 const SkMatrix& combinedMatrix, 75 const SkMatrix& combinedMatrix,
76 bool useVertexCoverage); 76 bool useVertexCoverage);
77 77
78 private: 78 private:
(...skipping 30 matching lines...) Expand all
109 const SkRect& devOutside, 109 const SkRect& devOutside,
110 const SkRect& devOutsideAssist, 110 const SkRect& devOutsideAssist,
111 const SkRect& devInside, 111 const SkRect& devInside,
112 bool useVertexCoverage, 112 bool useVertexCoverage,
113 bool miterStroke); 113 bool miterStroke);
114 114
115 typedef SkRefCnt INHERITED; 115 typedef SkRefCnt INHERITED;
116 }; 116 };
117 117
118 #endif // GrAARectRenderer_DEFINED 118 #endif // GrAARectRenderer_DEFINED
OLDNEW
« no previous file with comments | « include/gpu/GrContext.h ('k') | src/gpu/GrAARectRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698