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

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

Issue 1214603003: Revert of Remove SkThread.h, include SkMutex.h or SkAtomics.h as appropriate. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 5 years, 5 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 | « include/ports/SkFontMgr_indirect.h ('k') | src/core/SkBitmap.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 2011 Google Inc. 3 * Copyright 2011 Google Inc.
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 #include "SkAAClip.h" 9 #include "SkAAClip.h"
10 #include "SkAtomics.h"
11 #include "SkBlitter.h" 10 #include "SkBlitter.h"
12 #include "SkColorPriv.h" 11 #include "SkColorPriv.h"
13 #include "SkPath.h" 12 #include "SkPath.h"
14 #include "SkScan.h" 13 #include "SkScan.h"
14 #include "SkThread.h"
15 #include "SkUtils.h" 15 #include "SkUtils.h"
16 16
17 class AutoAAClipValidate { 17 class AutoAAClipValidate {
18 public: 18 public:
19 AutoAAClipValidate(const SkAAClip& clip) : fClip(clip) { 19 AutoAAClipValidate(const SkAAClip& clip) : fClip(clip) {
20 fClip.validate(); 20 fClip.validate();
21 } 21 }
22 ~AutoAAClipValidate() { 22 ~AutoAAClipValidate() {
23 fClip.validate(); 23 fClip.validate();
24 } 24 }
(...skipping 2190 matching lines...) Expand 10 before | Expand all | Expand 10 after
2215 rowMask.fBounds.fBottom = y + 1; 2215 rowMask.fBounds.fBottom = y + 1;
2216 fBlitter->blitMask(rowMask, rowMask.fBounds); 2216 fBlitter->blitMask(rowMask, rowMask.fBounds);
2217 src = (const void*)((const char*)src + srcRB); 2217 src = (const void*)((const char*)src + srcRB);
2218 } while (++y < localStopY); 2218 } while (++y < localStopY);
2219 } while (y < stopY); 2219 } while (y < stopY);
2220 } 2220 }
2221 2221
2222 const SkPixmap* SkAAClipBlitter::justAnOpaqueColor(uint32_t* value) { 2222 const SkPixmap* SkAAClipBlitter::justAnOpaqueColor(uint32_t* value) {
2223 return NULL; 2223 return NULL;
2224 } 2224 }
OLDNEW
« no previous file with comments | « include/ports/SkFontMgr_indirect.h ('k') | src/core/SkBitmap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698