| OLD | NEW |
| 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 #include "SkCanvas.h" | 8 #include "SkCanvas.h" |
| 9 #include "SkColor.h" | 9 #include "SkColor.h" |
| 10 #include "SkFlattenableBuffers.h" | 10 #include "SkFlattenableBuffers.h" |
| 11 #include "SkLayerDrawLooper.h" | 11 #include "SkLayerDrawLooper.h" |
| 12 #include "SkPaint.h" | |
| 13 #include "SkString.h" | 12 #include "SkString.h" |
| 14 #include "SkStringUtils.h" | 13 #include "SkStringUtils.h" |
| 15 #include "SkUnPreMultiply.h" | 14 #include "SkUnPreMultiply.h" |
| 16 | 15 |
| 17 SK_DEFINE_INST_COUNT(SkLayerDrawLooper) | 16 SK_DEFINE_INST_COUNT(SkLayerDrawLooper) |
| 18 | 17 |
| 19 SkLayerDrawLooper::LayerInfo::LayerInfo() { | 18 SkLayerDrawLooper::LayerInfo::LayerInfo() { |
| 20 fFlagsMask = 0; // ignore our paint flags | 19 fFlagsMask = 0; // ignore our paint flags |
| 21 fPaintBits = 0; // ignore our paint fields | 20 fPaintBits = 0; // ignore our paint fields |
| 22 fColorMode = SkXfermode::kDst_Mode; // ignore our color | 21 fColorMode = SkXfermode::kDst_Mode; // ignore our color |
| (...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 str->append("true "); | 335 str->append("true "); |
| 337 } else { | 336 } else { |
| 338 str->append("false "); | 337 str->append("false "); |
| 339 } | 338 } |
| 340 | 339 |
| 341 rec->fPaint.toString(str); | 340 rec->fPaint.toString(str); |
| 342 rec = rec->fNext; | 341 rec = rec->fNext; |
| 343 } | 342 } |
| 344 } | 343 } |
| 345 #endif | 344 #endif |
| OLD | NEW |