| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 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 "SkCanvas.h" | 8 #include "SkCanvas.h" |
| 9 #include "SkTLazy.h" |
| 9 #include "SkLazyPtr.h" | 10 #include "SkLazyPtr.h" |
| 10 #include "SkMiniRecorder.h" | 11 #include "SkMiniRecorder.h" |
| 11 #include "SkPicture.h" | 12 #include "SkPicture.h" |
| 12 #include "SkPictureCommon.h" | 13 #include "SkPictureCommon.h" |
| 13 #include "SkRecordDraw.h" | 14 #include "SkRecordDraw.h" |
| 14 #include "SkTextBlob.h" | 15 #include "SkTextBlob.h" |
| 15 | 16 |
| 16 using namespace SkRecords; | 17 using namespace SkRecords; |
| 17 | 18 |
| 18 class SkEmptyPicture final : public SkPicture { | 19 class SkEmptyPicture final : public SkPicture { |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 switch (fState) { | 131 switch (fState) { |
| 131 case State::kEmpty: return; | 132 case State::kEmpty: return; |
| 132 CASE(DrawBitmapRectFixedSize); | 133 CASE(DrawBitmapRectFixedSize); |
| 133 CASE(DrawPath); | 134 CASE(DrawPath); |
| 134 CASE(DrawRect); | 135 CASE(DrawRect); |
| 135 CASE(DrawTextBlob); | 136 CASE(DrawTextBlob); |
| 136 } | 137 } |
| 137 SkASSERT(false); | 138 SkASSERT(false); |
| 138 #undef CASE | 139 #undef CASE |
| 139 } | 140 } |
| OLD | NEW |