| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2010 Google Inc. | 3 * Copyright 2010 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 | 9 |
| 10 | 10 |
| (...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 751 /* fallthrough */; | 751 /* fallthrough */; |
| 752 case SkPath::kWinding_FillType: | 752 case SkPath::kWinding_FillType: |
| 753 case SkPath::kInverseWinding_FillType: | 753 case SkPath::kInverseWinding_FillType: |
| 754 *outStencilSettings = winding_path_stencil_settings(); | 754 *outStencilSettings = winding_path_stencil_settings(); |
| 755 break; | 755 break; |
| 756 case SkPath::kEvenOdd_FillType: | 756 case SkPath::kEvenOdd_FillType: |
| 757 case SkPath::kInverseEvenOdd_FillType: | 757 case SkPath::kInverseEvenOdd_FillType: |
| 758 *outStencilSettings = even_odd_path_stencil_settings(); | 758 *outStencilSettings = even_odd_path_stencil_settings(); |
| 759 break; | 759 break; |
| 760 } | 760 } |
| 761 this->getClipMaskManager()->adjustPathStencilParams(outStencilSettings); | 761 this->clipMaskManager()->adjustPathStencilParams(outStencilSettings); |
| 762 } | 762 } |
| 763 | 763 |
| 764 //////////////////////////////////////////////////////////////////////////////// | 764 //////////////////////////////////////////////////////////////////////////////// |
| 765 | 765 |
| 766 GrDrawTarget::AutoStateRestore::AutoStateRestore() { | 766 GrDrawTarget::AutoStateRestore::AutoStateRestore() { |
| 767 fDrawTarget = NULL; | 767 fDrawTarget = NULL; |
| 768 } | 768 } |
| 769 | 769 |
| 770 GrDrawTarget::AutoStateRestore::AutoStateRestore(GrDrawTarget* target, | 770 GrDrawTarget::AutoStateRestore::AutoStateRestore(GrDrawTarget* target, |
| 771 ASRInit init, | 771 ASRInit init, |
| (...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1188 | 1188 |
| 1189 uint32_t GrDrawTargetCaps::CreateUniqueID() { | 1189 uint32_t GrDrawTargetCaps::CreateUniqueID() { |
| 1190 static int32_t gUniqueID = SK_InvalidUniqueID; | 1190 static int32_t gUniqueID = SK_InvalidUniqueID; |
| 1191 uint32_t id; | 1191 uint32_t id; |
| 1192 do { | 1192 do { |
| 1193 id = static_cast<uint32_t>(sk_atomic_inc(&gUniqueID) + 1); | 1193 id = static_cast<uint32_t>(sk_atomic_inc(&gUniqueID) + 1); |
| 1194 } while (id == SK_InvalidUniqueID); | 1194 } while (id == SK_InvalidUniqueID); |
| 1195 return id; | 1195 return id; |
| 1196 } | 1196 } |
| 1197 | 1197 |
| OLD | NEW |