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

Side by Side Diff: src/core/SkScan_Hairline.cpp

Issue 2041943002: SkLeanWindows.h: #include "Windows.h" fewer places (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-06-07 (Tuesday) 11:28:42 EDT Created 4 years, 6 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/SkMipMap.cpp ('k') | src/core/SkSemaphore.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 #include "SkScan.h" 8 #include "SkScan.h"
9 #include "SkBlitter.h" 9 #include "SkBlitter.h"
10 #include "SkMathPriv.h"
10 #include "SkRasterClip.h" 11 #include "SkRasterClip.h"
11 #include "SkFDot6.h" 12 #include "SkFDot6.h"
12 #include "SkLineClipper.h" 13 #include "SkLineClipper.h"
13 14
14 static void horiline(int x, int stopx, SkFixed fy, SkFixed dy, 15 static void horiline(int x, int stopx, SkFixed fy, SkFixed dy,
15 SkBlitter* blitter) { 16 SkBlitter* blitter) {
16 SkASSERT(x < stopx); 17 SkASSERT(x < stopx);
17 18
18 do { 19 do {
19 blitter->blitH(x, fy >> 16, 1); 20 blitter->blitH(x, fy >> 16, 1);
(...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after
691 692
692 SkAAClipBlitterWrapper wrap; 693 SkAAClipBlitterWrapper wrap;
693 if (!clip.quickContains(r.roundOut().makeOutset(1, 1))) { 694 if (!clip.quickContains(r.roundOut().makeOutset(1, 1))) {
694 wrap.init(clip, blitter); 695 wrap.init(clip, blitter);
695 blitter = wrap.getBlitter(); 696 blitter = wrap.getBlitter();
696 clipRgn = &wrap.getRgn(); 697 clipRgn = &wrap.getRgn();
697 } 698 }
698 AntiHairLineRgn(pts, count, clipRgn, blitter); 699 AntiHairLineRgn(pts, count, clipRgn, blitter);
699 } 700 }
700 } 701 }
OLDNEW
« no previous file with comments | « src/core/SkMipMap.cpp ('k') | src/core/SkSemaphore.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698