OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 Google Inc. |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 #ifndef SkPictureFlat_DEFINED | 8 #ifndef SkPictureFlat_DEFINED |
9 #define SkPictureFlat_DEFINED | 9 #define SkPictureFlat_DEFINED |
10 | 10 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 SET_MATRIX, | 56 SET_MATRIX, |
57 SKEW, | 57 SKEW, |
58 TRANSLATE, | 58 TRANSLATE, |
59 NOOP, | 59 NOOP, |
60 BEGIN_COMMENT_GROUP, | 60 BEGIN_COMMENT_GROUP, |
61 COMMENT, | 61 COMMENT, |
62 END_COMMENT_GROUP, | 62 END_COMMENT_GROUP, |
63 | 63 |
64 // new ops -- feel free to re-alphabetize on next version bump | 64 // new ops -- feel free to re-alphabetize on next version bump |
65 DRAW_DRRECT, | 65 DRAW_DRRECT, |
66 PUSH_CULL, | 66 PUSH_CULL, // deprecated, M41 was last Chromium version to write this to an
.skp |
67 POP_CULL, | 67 POP_CULL, // deprecated, M41 was last Chromium version to write this to an
.skp |
68 | 68 |
69 DRAW_PATCH, // could not add in aphabetical order | 69 DRAW_PATCH, // could not add in aphabetical order |
70 DRAW_PICTURE_MATRIX_PAINT, | 70 DRAW_PICTURE_MATRIX_PAINT, |
71 DRAW_TEXT_BLOB, | 71 DRAW_TEXT_BLOB, |
72 | 72 |
73 LAST_DRAWTYPE_ENUM = DRAW_TEXT_BLOB | 73 LAST_DRAWTYPE_ENUM = DRAW_TEXT_BLOB |
74 }; | 74 }; |
75 | 75 |
76 // In the 'match' method, this constant will match any flavor of DRAW_BITMAP* | 76 // In the 'match' method, this constant will match any flavor of DRAW_BITMAP* |
77 static const int kDRAW_BITMAP_FLAVOR = LAST_DRAWTYPE_ENUM+1; | 77 static const int kDRAW_BITMAP_FLAVOR = LAST_DRAWTYPE_ENUM+1; |
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
547 bool fReady; | 547 bool fReady; |
548 | 548 |
549 // For index -> SkFlatData. 0-based, while all indices in the API are 1-bas
ed. Careful! | 549 // For index -> SkFlatData. 0-based, while all indices in the API are 1-bas
ed. Careful! |
550 SkTDArray<const SkFlatData*> fIndexedData; | 550 SkTDArray<const SkFlatData*> fIndexedData; |
551 | 551 |
552 // For SkFlatData -> cached SkFlatData, which has index(). | 552 // For SkFlatData -> cached SkFlatData, which has index(). |
553 SkTDynamicHash<SkFlatData, SkFlatData, SkFlatData::HashTraits> fHash; | 553 SkTDynamicHash<SkFlatData, SkFlatData, SkFlatData::HashTraits> fHash; |
554 }; | 554 }; |
555 | 555 |
556 #endif | 556 #endif |
OLD | NEW |