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

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

Issue 57883006: Revert "speed up A8 by creating a new entry-point in SkDraw that blits the path's coverage directly… (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);
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
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
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