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

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

Issue 1273613002: Revert of IWYU: 'core' target, files starting A-C. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 4 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/SkBitmapScaler.cpp ('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 * 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 SkBlitter_DEFINED 8 #ifndef SkBlitter_DEFINED
9 #define SkBlitter_DEFINED 9 #define SkBlitter_DEFINED
10 10
11 #include "SkBitmapProcShader.h" 11 #include "SkBitmapProcShader.h"
12 #include "SkColor.h" 12 #include "SkMask.h"
13 #include "SkRect.h" 13 #include "SkMatrix.h"
14 #include "SkPaint.h"
15 #include "SkPixmap.h"
16 #include "SkRefCnt.h"
14 #include "SkRegion.h" 17 #include "SkRegion.h"
15 #include "SkShader.h" 18 #include "SkShader.h"
16 #include "SkTypes.h" 19 #include "SkSmallAllocator.h"
17
18 class SkMatrix;
19 class SkPaint;
20 class SkPixmap;
21 struct SkMask;
22 20
23 /** SkBlitter and its subclasses are responsible for actually writing pixels 21 /** SkBlitter and its subclasses are responsible for actually writing pixels
24 into memory. Besides efficiency, they handle clipping and antialiasing. 22 into memory. Besides efficiency, they handle clipping and antialiasing.
25 */ 23 */
26 class SkBlitter { 24 class SkBlitter {
27 public: 25 public:
28 virtual ~SkBlitter(); 26 virtual ~SkBlitter();
29 27
30 /// Blit a horizontal run of one or more pixels. 28 /// Blit a horizontal run of one or more pixels.
31 virtual void blitH(int x, int y, int width); 29 virtual void blitH(int x, int y, int width);
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 SkBlitter* apply(SkBlitter* blitter, const SkRegion* clip, 229 SkBlitter* apply(SkBlitter* blitter, const SkRegion* clip,
232 const SkIRect* bounds = NULL); 230 const SkIRect* bounds = NULL);
233 231
234 private: 232 private:
235 SkNullBlitter fNullBlitter; 233 SkNullBlitter fNullBlitter;
236 SkRectClipBlitter fRectBlitter; 234 SkRectClipBlitter fRectBlitter;
237 SkRgnClipBlitter fRgnBlitter; 235 SkRgnClipBlitter fRgnBlitter;
238 }; 236 };
239 237
240 #endif 238 #endif
OLDNEW
« no previous file with comments | « src/core/SkBitmapScaler.cpp ('k') | src/core/SkBlitter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698