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

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

Issue 1369333004: Move SkAtomics.h to private. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 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 | « src/core/SkRegion.cpp ('k') | src/core/SkShader.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 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
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 9
10 #ifndef SkRegionPriv_DEFINED 10 #ifndef SkRegionPriv_DEFINED
11 #define SkRegionPriv_DEFINED 11 #define SkRegionPriv_DEFINED
12 12
13 #include "SkRegion.h" 13 #include "SkRegion.h"
14 #include "SkAtomics.h" 14 #include "../private/SkAtomics.h"
15 15
16 #define assert_sentinel(value, isSentinel) \ 16 #define assert_sentinel(value, isSentinel) \
17 SkASSERT(((value) == SkRegion::kRunTypeSentinel) == isSentinel) 17 SkASSERT(((value) == SkRegion::kRunTypeSentinel) == isSentinel)
18 18
19 //SkDEBUGCODE(extern int32_t gRgnAllocCounter;) 19 //SkDEBUGCODE(extern int32_t gRgnAllocCounter;)
20 20
21 #ifdef SK_DEBUG 21 #ifdef SK_DEBUG
22 // Given the first interval (just past the interval-count), compute the 22 // Given the first interval (just past the interval-count), compute the
23 // interval count, by search for the x-sentinel 23 // interval count, by search for the x-sentinel
24 // 24 //
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 bounds->fRight = rite; 227 bounds->fRight = rite;
228 bounds->fBottom = bot; 228 bounds->fBottom = bot;
229 } 229 }
230 230
231 private: 231 private:
232 int32_t fYSpanCount; 232 int32_t fYSpanCount;
233 int32_t fIntervalCount; 233 int32_t fIntervalCount;
234 }; 234 };
235 235
236 #endif 236 #endif
OLDNEW
« no previous file with comments | « src/core/SkRegion.cpp ('k') | src/core/SkShader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698