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

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

Issue 340403003: SaveFlags be-gone (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: One more baseurl attempt Created 6 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
« no previous file with comments | « src/core/SkRecorder.cpp ('k') | src/pipe/SkGPipeRead.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 2014 Google Inc. 2 * Copyright 2014 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 7
8 #ifndef SkRecords_DEFINED 8 #ifndef SkRecords_DEFINED
9 #define SkRecords_DEFINED 9 #define SkRecords_DEFINED
10 10
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 176
177 operator const SkBitmap& () const { return fBitmap; } 177 operator const SkBitmap& () const { return fBitmap; }
178 178
179 private: 179 private:
180 SkBitmap fBitmap; 180 SkBitmap fBitmap;
181 }; 181 };
182 182
183 RECORD0(NoOp); 183 RECORD0(NoOp);
184 184
185 RECORD0(Restore); 185 RECORD0(Restore);
186 RECORD1(Save, SkCanvas::SaveFlags, flags); 186 RECORD0(Save);
187 RECORD3(SaveLayer, Optional<SkRect>, bounds, Optional<SkPaint>, paint, SkCanvas: :SaveFlags, flags); 187 RECORD3(SaveLayer, Optional<SkRect>, bounds, Optional<SkPaint>, paint, SkCanvas: :SaveFlags, flags);
188 188
189 RECORD1(PushCull, SkRect, rect); 189 RECORD1(PushCull, SkRect, rect);
190 RECORD0(PopCull); 190 RECORD0(PopCull);
191 191
192 RECORD1(Concat, SkMatrix, matrix); 192 RECORD1(Concat, SkMatrix, matrix);
193 RECORD1(SetMatrix, SkMatrix, matrix); 193 RECORD1(SetMatrix, SkMatrix, matrix);
194 194
195 RECORD3(ClipPath, SkPath, path, SkRegion::Op, op, bool, doAA); 195 RECORD3(ClipPath, SkPath, path, SkRegion::Op, op, bool, doAA);
196 RECORD3(ClipRRect, SkRRect, rrect, SkRegion::Op, op, bool, doAA); 196 RECORD3(ClipRRect, SkRRect, rrect, SkRegion::Op, op, bool, doAA);
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 #undef RECORD0 282 #undef RECORD0
283 #undef RECORD1 283 #undef RECORD1
284 #undef RECORD2 284 #undef RECORD2
285 #undef RECORD3 285 #undef RECORD3
286 #undef RECORD4 286 #undef RECORD4
287 #undef RECORD5 287 #undef RECORD5
288 288
289 } // namespace SkRecords 289 } // namespace SkRecords
290 290
291 #endif//SkRecords_DEFINED 291 #endif//SkRecords_DEFINED
OLDNEW
« no previous file with comments | « src/core/SkRecorder.cpp ('k') | src/pipe/SkGPipeRead.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698