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

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

Issue 1923393002: Revert of Enable flattening of SkRecordedDrawable (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 7 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,
36 DRAW_OVAL, 34 DRAW_OVAL,
37 DRAW_PAINT, 35 DRAW_PAINT,
38 DRAW_PATH, 36 DRAW_PATH,
39 DRAW_PICTURE, 37 DRAW_PICTURE,
40 DRAW_POINTS, 38 DRAW_POINTS,
41 DRAW_POS_TEXT, 39 DRAW_POS_TEXT,
42 DRAW_POS_TEXT_TOP_BOTTOM, // fast variant of DRAW_POS_TEXT 40 DRAW_POS_TEXT_TOP_BOTTOM, // fast variant of DRAW_POS_TEXT
43 DRAW_POS_TEXT_H, 41 DRAW_POS_TEXT_H,
44 DRAW_POS_TEXT_H_TOP_BOTTOM, // fast variant of DRAW_POS_TEXT_H 42 DRAW_POS_TEXT_H_TOP_BOTTOM, // fast variant of DRAW_POS_TEXT_H
45 DRAW_RECT, 43 DRAW_RECT,
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 bool fReady; 548 bool fReady;
551 549
552 // For index -> SkFlatData. 0-based, while all indices in the API are 1-bas ed. Careful! 550 // For index -> SkFlatData. 0-based, while all indices in the API are 1-bas ed. Careful!
553 SkTDArray<const SkFlatData*> fIndexedData; 551 SkTDArray<const SkFlatData*> fIndexedData;
554 552
555 // For SkFlatData -> cached SkFlatData, which has index(). 553 // For SkFlatData -> cached SkFlatData, which has index().
556 SkTDynamicHash<SkFlatData, SkFlatData, SkFlatData::HashTraits> fHash; 554 SkTDynamicHash<SkFlatData, SkFlatData, SkFlatData::HashTraits> fHash;
557 }; 555 };
558 556
559 #endif 557 #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