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

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

Issue 2146413002: Add SkRasterPipeline blitter. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Do not leak the blitter. Created 4 years, 5 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/SkColorFilter.cpp ('k') | src/core/SkRasterPipeline.h » ('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 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
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
OLDNEW
« no previous file with comments | « src/core/SkColorFilter.cpp ('k') | src/core/SkRasterPipeline.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698