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 #ifndef SkPictureFlat_DEFINED | 7 #ifndef SkPictureFlat_DEFINED |
8 #define SkPictureFlat_DEFINED | 8 #define SkPictureFlat_DEFINED |
9 | 9 |
10 | 10 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 DRAW_TEXT, | 45 DRAW_TEXT, |
46 DRAW_TEXT_ON_PATH, | 46 DRAW_TEXT_ON_PATH, |
47 DRAW_TEXT_TOP_BOTTOM, // fast variant of DRAW_TEXT | 47 DRAW_TEXT_TOP_BOTTOM, // fast variant of DRAW_TEXT |
48 DRAW_VERTICES, | 48 DRAW_VERTICES, |
49 RESTORE, | 49 RESTORE, |
50 ROTATE, | 50 ROTATE, |
51 SAVE, | 51 SAVE, |
52 SAVE_LAYER_SAVEFLAGS_DEPRECATED, | 52 SAVE_LAYER_SAVEFLAGS_DEPRECATED, |
53 SCALE, | 53 SCALE, |
54 SET_MATRIX, | 54 SET_MATRIX, |
55 TRANSLATE_Z, | |
56 SKEW, | 55 SKEW, |
57 TRANSLATE, | 56 TRANSLATE, |
58 NOOP, | 57 NOOP, |
59 BEGIN_COMMENT_GROUP, // deprecated (M44) | 58 BEGIN_COMMENT_GROUP, // deprecated (M44) |
60 COMMENT, // deprecated (M44) | 59 COMMENT, // deprecated (M44) |
61 END_COMMENT_GROUP, // deprecated (M44) | 60 END_COMMENT_GROUP, // deprecated (M44) |
62 | 61 |
63 // new ops -- feel free to re-alphabetize on next version bump | 62 // new ops -- feel free to re-alphabetize on next version bump |
64 DRAW_DRRECT, | 63 DRAW_DRRECT, |
65 PUSH_CULL, // deprecated, M41 was last Chromium version to write this to an
.skp | 64 PUSH_CULL, // deprecated, M41 was last Chromium version to write this to an
.skp |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 void setupBuffer(SkReadBuffer& buffer) const { | 161 void setupBuffer(SkReadBuffer& buffer) const { |
163 buffer.setFactoryPlayback(fArray, fCount); | 162 buffer.setFactoryPlayback(fArray, fCount); |
164 } | 163 } |
165 | 164 |
166 private: | 165 private: |
167 int fCount; | 166 int fCount; |
168 SkFlattenable::Factory* fArray; | 167 SkFlattenable::Factory* fArray; |
169 }; | 168 }; |
170 | 169 |
171 #endif | 170 #endif |
OLD | NEW |