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

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

Issue 50673005: Revert "Revert "speed up A8 by creating a new entry-point in SkDraw that blits the path's coverage … (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « include/core/SkRect.h ('k') | src/core/SkBlitter.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 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
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
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
OLDNEW
« no previous file with comments | « include/core/SkRect.h ('k') | src/core/SkBlitter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698