| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 COMMENT, // deprecated (M44) | 59 COMMENT, // deprecated (M44) |
| 60 END_COMMENT_GROUP, // deprecated (M44) | 60 END_COMMENT_GROUP, // deprecated (M44) |
| 61 | 61 |
| 62 // new ops -- feel free to re-alphabetize on next version bump | 62 // new ops -- feel free to re-alphabetize on next version bump |
| 63 DRAW_DRRECT, | 63 DRAW_DRRECT, |
| 64 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 |
| 65 POP_CULL, // deprecated, M41 was last Chromium version to write this to an
.skp | 65 POP_CULL, // deprecated, M41 was last Chromium version to write this to an
.skp |
| 66 | 66 |
| 67 DRAW_PATCH, // could not add in aphabetical order | 67 DRAW_PATCH, // could not add in aphabetical order |
| 68 DRAW_PICTURE_MATRIX_PAINT, | 68 DRAW_PICTURE_MATRIX_PAINT, |
| 69 DRAW_SHADOWED_PICTURE_LIGHTS, |
| 69 DRAW_TEXT_BLOB, | 70 DRAW_TEXT_BLOB, |
| 70 DRAW_IMAGE, | 71 DRAW_IMAGE, |
| 71 DRAW_IMAGE_RECT_STRICT, // deprecated (M45) | 72 DRAW_IMAGE_RECT_STRICT, // deprecated (M45) |
| 72 DRAW_ATLAS, | 73 DRAW_ATLAS, |
| 73 DRAW_IMAGE_NINE, | 74 DRAW_IMAGE_NINE, |
| 74 DRAW_IMAGE_RECT, | 75 DRAW_IMAGE_RECT, |
| 75 | 76 |
| 76 SAVE_LAYER_SAVELAYERFLAGS_DEPRECATED_JAN_2016, | 77 SAVE_LAYER_SAVELAYERFLAGS_DEPRECATED_JAN_2016, |
| 77 SAVE_LAYER_SAVELAYERREC, | 78 SAVE_LAYER_SAVELAYERREC, |
| 78 | 79 |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 void setupBuffer(SkReadBuffer& buffer) const { | 164 void setupBuffer(SkReadBuffer& buffer) const { |
| 164 buffer.setFactoryPlayback(fArray, fCount); | 165 buffer.setFactoryPlayback(fArray, fCount); |
| 165 } | 166 } |
| 166 | 167 |
| 167 private: | 168 private: |
| 168 int fCount; | 169 int fCount; |
| 169 SkFlattenable::Factory* fArray; | 170 SkFlattenable::Factory* fArray; |
| 170 }; | 171 }; |
| 171 | 172 |
| 172 #endif | 173 #endif |
| OLD | NEW |