Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(349)

Side by Side Diff: src/core/SkPictureFlat.h

Issue 1837913003: Add support for serializing/deserializing of SkDrawable (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/core/SkPictureData.cpp ('k') | src/core/SkPicturePlayback.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 13 matching lines...) Expand all
24 CLIP_REGION, 24 CLIP_REGION,
25 CLIP_RECT, 25 CLIP_RECT,
26 CLIP_RRECT, 26 CLIP_RRECT,
27 CONCAT, 27 CONCAT,
28 DRAW_BITMAP, 28 DRAW_BITMAP,
29 DRAW_BITMAP_MATRIX, // deprecated, M41 was last Chromium version to write th is to an .skp 29 DRAW_BITMAP_MATRIX, // deprecated, M41 was last Chromium version to write th is to an .skp
30 DRAW_BITMAP_NINE, 30 DRAW_BITMAP_NINE,
31 DRAW_BITMAP_RECT, 31 DRAW_BITMAP_RECT,
32 DRAW_CLEAR, 32 DRAW_CLEAR,
33 DRAW_DATA, 33 DRAW_DATA,
34 DRAW_DRAWABLE,
35 DRAW_DRAWABLE_MATRIX,
34 DRAW_OVAL, 36 DRAW_OVAL,
35 DRAW_PAINT, 37 DRAW_PAINT,
36 DRAW_PATH, 38 DRAW_PATH,
37 DRAW_PICTURE, 39 DRAW_PICTURE,
38 DRAW_POINTS, 40 DRAW_POINTS,
39 DRAW_POS_TEXT, 41 DRAW_POS_TEXT,
40 DRAW_POS_TEXT_TOP_BOTTOM, // fast variant of DRAW_POS_TEXT 42 DRAW_POS_TEXT_TOP_BOTTOM, // fast variant of DRAW_POS_TEXT
41 DRAW_POS_TEXT_H, 43 DRAW_POS_TEXT_H,
42 DRAW_POS_TEXT_H_TOP_BOTTOM, // fast variant of DRAW_POS_TEXT_H 44 DRAW_POS_TEXT_H_TOP_BOTTOM, // fast variant of DRAW_POS_TEXT_H
43 DRAW_RECT, 45 DRAW_RECT,
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 bool fReady; 550 bool fReady;
549 551
550 // For index -> SkFlatData. 0-based, while all indices in the API are 1-bas ed. Careful! 552 // For index -> SkFlatData. 0-based, while all indices in the API are 1-bas ed. Careful!
551 SkTDArray<const SkFlatData*> fIndexedData; 553 SkTDArray<const SkFlatData*> fIndexedData;
552 554
553 // For SkFlatData -> cached SkFlatData, which has index(). 555 // For SkFlatData -> cached SkFlatData, which has index().
554 SkTDynamicHash<SkFlatData, SkFlatData, SkFlatData::HashTraits> fHash; 556 SkTDynamicHash<SkFlatData, SkFlatData, SkFlatData::HashTraits> fHash;
555 }; 557 };
556 558
557 #endif 559 #endif
OLDNEW
« no previous file with comments | « src/core/SkPictureData.cpp ('k') | src/core/SkPicturePlayback.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698