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, |
55 SKEW, | 56 SKEW, |
56 TRANSLATE, | 57 TRANSLATE, |
57 NOOP, | 58 NOOP, |
58 BEGIN_COMMENT_GROUP, // deprecated (M44) | 59 BEGIN_COMMENT_GROUP, // deprecated (M44) |
59 COMMENT, // deprecated (M44) | 60 COMMENT, // deprecated (M44) |
60 END_COMMENT_GROUP, // deprecated (M44) | 61 END_COMMENT_GROUP, // deprecated (M44) |
61 | 62 |
62 // new ops -- feel free to re-alphabetize on next version bump | 63 // new ops -- feel free to re-alphabetize on next version bump |
63 DRAW_DRRECT, | 64 DRAW_DRRECT, |
64 PUSH_CULL, // deprecated, M41 was last Chromium version to write this to an
.skp | 65 PUSH_CULL, // deprecated, M41 was last Chromium version to write this to an
.skp |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 void setupBuffer(SkReadBuffer& buffer) const { | 157 void setupBuffer(SkReadBuffer& buffer) const { |
157 buffer.setFactoryPlayback(fArray, fCount); | 158 buffer.setFactoryPlayback(fArray, fCount); |
158 } | 159 } |
159 | 160 |
160 private: | 161 private: |
161 int fCount; | 162 int fCount; |
162 SkFlattenable::Factory* fArray; | 163 SkFlattenable::Factory* fArray; |
163 }; | 164 }; |
164 | 165 |
165 #endif | 166 #endif |
OLD | NEW |