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

Side by Side Diff: src/core/SkDrawProcs.h

Issue 312553006: remove SkBounder -- unused and unloved (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: address review comments 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 | « src/core/SkDraw.cpp ('k') | src/core/SkMaskFilter.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
2 /* 1 /*
3 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
4 * 3 *
5 * 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
6 * found in the LICENSE file. 5 * found in the LICENSE file.
7 */ 6 */
7
8 #ifndef SkDrawProcs_DEFINED 8 #ifndef SkDrawProcs_DEFINED
9 #define SkDrawProcs_DEFINED 9 #define SkDrawProcs_DEFINED
10 10
11 #include "SkBlitter.h" 11 #include "SkBlitter.h"
12 #include "SkDraw.h" 12 #include "SkDraw.h"
13 13
14 class SkAAClip; 14 class SkAAClip;
15 class SkBlitter; 15 class SkBlitter;
16 16
17 struct SkDraw1Glyph { 17 struct SkDraw1Glyph {
18 const SkDraw* fDraw; 18 const SkDraw* fDraw;
19 SkBounder* fBounder;
20 const SkRegion* fClip; 19 const SkRegion* fClip;
21 const SkAAClip* fAAClip; 20 const SkAAClip* fAAClip;
22 SkBlitter* fBlitter; 21 SkBlitter* fBlitter;
23 SkGlyphCache* fCache; 22 SkGlyphCache* fCache;
24 const SkPaint* fPaint; 23 const SkPaint* fPaint;
25 SkIRect fClipBounds; 24 SkIRect fClipBounds;
26 /** Half the sampling frequency of the rasterized glyph in x. */ 25 /** Half the sampling frequency of the rasterized glyph in x. */
27 SkFixed fHalfSampleX; 26 SkFixed fHalfSampleX;
28 /** Half the sampling frequency of the rasterized glyph in y. */ 27 /** Half the sampling frequency of the rasterized glyph in y. */
29 SkFixed fHalfSampleY; 28 SkFixed fHalfSampleY;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 } 80 }
82 81
83 if (!paint.isAntiAlias()) { 82 if (!paint.isAntiAlias()) {
84 return false; 83 return false;
85 } 84 }
86 85
87 return SkDrawTreatAAStrokeAsHairline(strokeWidth, matrix, coverage); 86 return SkDrawTreatAAStrokeAsHairline(strokeWidth, matrix, coverage);
88 } 87 }
89 88
90 #endif 89 #endif
OLDNEW
« no previous file with comments | « src/core/SkDraw.cpp ('k') | src/core/SkMaskFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698