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

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

Issue 2438163003: Another forgotten forceRLE (Closed)
Patch Set: Created 4 years, 2 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 | « no previous file | no next file » | 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 2016 The Android Open Source Project 2 * Copyright 2016 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 "SkAntiRun.h" 8 #include "SkAntiRun.h"
9 #include "SkBlitter.h" 9 #include "SkBlitter.h"
10 #include "SkEdge.h" 10 #include "SkEdge.h"
(...skipping 1292 matching lines...) Expand 10 before | Expand all | Expand 10 after
1303 } 1303 }
1304 1304
1305 if (clip.isBW()) { 1305 if (clip.isBW()) {
1306 AAAFillPath(path, clip.bwRgn(), blitter); 1306 AAAFillPath(path, clip.bwRgn(), blitter);
1307 } else { 1307 } else {
1308 SkRegion tmp; 1308 SkRegion tmp;
1309 SkAAClipBlitter aaBlitter; 1309 SkAAClipBlitter aaBlitter;
1310 1310
1311 tmp.setRect(clip.getBounds()); 1311 tmp.setRect(clip.getBounds());
1312 aaBlitter.init(blitter, &clip.aaRgn()); 1312 aaBlitter.init(blitter, &clip.aaRgn());
1313 AAAFillPath(path, tmp, &aaBlitter); 1313 AAAFillPath(path, tmp, &aaBlitter, true);
1314 } 1314 }
1315 } 1315 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698