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