OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2006 The Android Open Source Project | 3 * Copyright 2006 The Android Open Source Project |
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 | 9 |
10 #ifndef SkBlitter_DEFINED | 10 #ifndef SkBlitter_DEFINED |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 */ | 69 */ |
70 static SkBlitter* Choose(const SkBitmap& device, | 70 static SkBlitter* Choose(const SkBitmap& device, |
71 const SkMatrix& matrix, | 71 const SkMatrix& matrix, |
72 const SkPaint& paint) { | 72 const SkPaint& paint) { |
73 return Choose(device, matrix, paint, NULL, 0); | 73 return Choose(device, matrix, paint, NULL, 0); |
74 } | 74 } |
75 | 75 |
76 static SkBlitter* Choose(const SkBitmap& device, | 76 static SkBlitter* Choose(const SkBitmap& device, |
77 const SkMatrix& matrix, | 77 const SkMatrix& matrix, |
78 const SkPaint& paint, | 78 const SkPaint& paint, |
79 void* storage, size_t storageSize); | 79 void* storage, size_t storageSize, |
| 80 bool drawCoverage = false); |
80 | 81 |
81 static SkBlitter* ChooseSprite(const SkBitmap& device, | 82 static SkBlitter* ChooseSprite(const SkBitmap& device, |
82 const SkPaint&, | 83 const SkPaint&, |
83 const SkBitmap& src, | 84 const SkBitmap& src, |
84 int left, int top, | 85 int left, int top, |
85 void* storage, size_t storageSize); | 86 void* storage, size_t storageSize); |
86 ///@} | 87 ///@} |
87 | 88 |
88 private: | 89 private: |
89 }; | 90 }; |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 SkBlitter* apply(SkBlitter* blitter, const SkRegion* clip, | 166 SkBlitter* apply(SkBlitter* blitter, const SkRegion* clip, |
166 const SkIRect* bounds = NULL); | 167 const SkIRect* bounds = NULL); |
167 | 168 |
168 private: | 169 private: |
169 SkNullBlitter fNullBlitter; | 170 SkNullBlitter fNullBlitter; |
170 SkRectClipBlitter fRectBlitter; | 171 SkRectClipBlitter fRectBlitter; |
171 SkRgnClipBlitter fRgnBlitter; | 172 SkRgnClipBlitter fRgnBlitter; |
172 }; | 173 }; |
173 | 174 |
174 #endif | 175 #endif |
OLD | NEW |