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

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

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