OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2006 The Android Open Source Project | 2 * Copyright 2006 The Android Open Source Project |
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 SkCoreBlitters_DEFINED | 8 #ifndef SkCoreBlitters_DEFINED |
9 #define SkCoreBlitters_DEFINED | 9 #define SkCoreBlitters_DEFINED |
10 | 10 |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 calling the filter, so the blitter can always ignore the colorfilter obj | 203 calling the filter, so the blitter can always ignore the colorfilter obj |
204 | 204 |
205 These pre-conditions must be handled by the caller, in our case | 205 These pre-conditions must be handled by the caller, in our case |
206 SkBlitter::Choose(...) | 206 SkBlitter::Choose(...) |
207 */ | 207 */ |
208 | 208 |
209 SkBlitter* SkBlitter_ChooseD565(const SkPixmap& device, const SkPaint& paint, | 209 SkBlitter* SkBlitter_ChooseD565(const SkPixmap& device, const SkPaint& paint, |
210 SkShader::Context* shaderContext, | 210 SkShader::Context* shaderContext, |
211 SkTBlitterAllocator* allocator); | 211 SkTBlitterAllocator* allocator); |
212 | 212 |
| 213 |
| 214 // Returns nullptr if no SkRasterPipeline blitter can be constructed for this pa
int. |
| 215 SkBlitter* SkCreateRasterPipelineBlitter(const SkPixmap&, const SkPaint&, SkTBli
tterAllocator*); |
| 216 |
213 #endif | 217 #endif |
OLD | NEW |