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); | |
81 | 80 |
82 static SkBlitter* ChooseSprite(const SkBitmap& device, | 81 static SkBlitter* ChooseSprite(const SkBitmap& device, |
83 const SkPaint&, | 82 const SkPaint&, |
84 const SkBitmap& src, | 83 const SkBitmap& src, |
85 int left, int top, | 84 int left, int top, |
86 void* storage, size_t storageSize); | 85 void* storage, size_t storageSize); |
87 ///@} | 86 ///@} |
88 | 87 |
89 private: | 88 private: |
90 }; | 89 }; |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 SkBlitter* apply(SkBlitter* blitter, const SkRegion* clip, | 165 SkBlitter* apply(SkBlitter* blitter, const SkRegion* clip, |
167 const SkIRect* bounds = NULL); | 166 const SkIRect* bounds = NULL); |
168 | 167 |
169 private: | 168 private: |
170 SkNullBlitter fNullBlitter; | 169 SkNullBlitter fNullBlitter; |
171 SkRectClipBlitter fRectBlitter; | 170 SkRectClipBlitter fRectBlitter; |
172 SkRgnClipBlitter fRgnBlitter; | 171 SkRgnClipBlitter fRgnBlitter; |
173 }; | 172 }; |
174 | 173 |
175 #endif | 174 #endif |
OLD | NEW |