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

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

Issue 2146073003: Creating framework for drawShadowedPicture (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Fixed 'const sk_sp<SkLights>', also fixed some crumbs from merging Created 4 years, 5 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
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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
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,
jvanverth1 2016/07/14 17:27:09 You'll need to move this to the end of the list, l
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698