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

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

Issue 794263002: Cull pushCull and popCull from Skia. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix debugger Created 6 years 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/SkCanvas.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 /* 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
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
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
OLDNEW
« no previous file with comments | « src/core/SkCanvas.cpp ('k') | src/core/SkPicturePlayback.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698