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

Side by Side Diff: include/core/SkPictureRecorder.h

Issue 1950523002: Remove GrLayerHoister (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Forgot to remove some files 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
« no previous file with comments | « include/core/SkDevice.h ('k') | include/gpu/GrContext.h » ('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 SkPictureRecorder_DEFINED 8 #ifndef SkPictureRecorder_DEFINED
9 #define SkPictureRecorder_DEFINED 9 #define SkPictureRecorder_DEFINED
10 10
(...skipping 13 matching lines...) Expand all
24 class SkPictureRecord; 24 class SkPictureRecord;
25 class SkRecord; 25 class SkRecord;
26 class SkRecorder; 26 class SkRecorder;
27 27
28 class SK_API SkPictureRecorder : SkNoncopyable { 28 class SK_API SkPictureRecorder : SkNoncopyable {
29 public: 29 public:
30 SkPictureRecorder(); 30 SkPictureRecorder();
31 ~SkPictureRecorder(); 31 ~SkPictureRecorder();
32 32
33 enum RecordFlags { 33 enum RecordFlags {
34 // This flag indicates that, if some BHH is being computed, saveLayer 34 #ifdef SK_SUPPORT_LEGACY_COMPUTESAVELAYER_FLAG
35 // information should also be extracted at the same time.
36 kComputeSaveLayerInfo_RecordFlag = 1 << 0, 35 kComputeSaveLayerInfo_RecordFlag = 1 << 0,
36 #endif
37 37
38 // If you call drawPicture() or drawDrawable() on the recording canvas, this flag forces 38 // If you call drawPicture() or drawDrawable() on the recording canvas, this flag forces
39 // that object to playback its contents immediately rather than reffing the object. 39 // that object to playback its contents immediately rather than reffing the object.
40 kPlaybackDrawPicture_RecordFlag = 1 << 1, 40 kPlaybackDrawPicture_RecordFlag = 1 << 1,
41 }; 41 };
42 42
43 enum FinishFlags { 43 enum FinishFlags {
44 kReturnNullForEmpty_FinishFlag = 1 << 0, // no draw-ops will return n ullptr 44 kReturnNullForEmpty_FinishFlag = 1 << 0, // no draw-ops will return n ullptr
45 }; 45 };
46 46
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 SkRect fCullRect; 132 SkRect fCullRect;
133 SkAutoTUnref<SkBBoxHierarchy> fBBH; 133 SkAutoTUnref<SkBBoxHierarchy> fBBH;
134 SkAutoTUnref<SkRecorder> fRecorder; 134 SkAutoTUnref<SkRecorder> fRecorder;
135 SkAutoTUnref<SkRecord> fRecord; 135 SkAutoTUnref<SkRecord> fRecord;
136 SkMiniRecorder fMiniRecorder; 136 SkMiniRecorder fMiniRecorder;
137 137
138 typedef SkNoncopyable INHERITED; 138 typedef SkNoncopyable INHERITED;
139 }; 139 };
140 140
141 #endif 141 #endif
OLDNEW
« no previous file with comments | « include/core/SkDevice.h ('k') | include/gpu/GrContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698