OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
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 "SkAtomics.h" | 8 #include "../private/SkAtomics.h" |
9 #include "SkCanvas.h" | 9 #include "SkCanvas.h" |
10 #include "SkClipStack.h" | 10 #include "SkClipStack.h" |
11 #include "SkPath.h" | 11 #include "SkPath.h" |
12 #include "SkPathOps.h" | 12 #include "SkPathOps.h" |
13 | 13 |
14 #include <new> | 14 #include <new> |
15 | 15 |
16 | 16 |
17 // 0-2 are reserved for invalid, empty & wide-open | 17 // 0-2 are reserved for invalid, empty & wide-open |
18 static const int32_t kFirstUnreservedGenID = 3; | 18 static const int32_t kFirstUnreservedGenID = 3; |
(...skipping 887 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
906 | 906 |
907 void SkClipStack::dump() const { | 907 void SkClipStack::dump() const { |
908 B2TIter iter(*this); | 908 B2TIter iter(*this); |
909 const Element* e; | 909 const Element* e; |
910 while ((e = iter.next())) { | 910 while ((e = iter.next())) { |
911 e->dump(); | 911 e->dump(); |
912 SkDebugf("\n"); | 912 SkDebugf("\n"); |
913 } | 913 } |
914 } | 914 } |
915 #endif | 915 #endif |
OLD | NEW |