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

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

Issue 1130333002: Revert of Sketch splitting SkPicture into an interface and SkBigPicture. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 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 | « include/core/SkPicture.h ('k') | include/utils/SkPictureUtils.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
11 #include "../../src/core/SkMiniRecorder.h"
12 #include "SkBBHFactory.h" 11 #include "SkBBHFactory.h"
13 #include "SkPicture.h" 12 #include "SkPicture.h"
14 #include "SkRefCnt.h" 13 #include "SkRefCnt.h"
15 14
16 #ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK 15 #ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
17 namespace android { 16 namespace android {
18 class Picture; 17 class Picture;
19 }; 18 };
20 #endif 19 #endif
21 20
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 #endif 95 #endif
97 friend class SkPictureRecorderReplayTester; // for unit testing 96 friend class SkPictureRecorderReplayTester; // for unit testing
98 void partialReplay(SkCanvas* canvas) const; 97 void partialReplay(SkCanvas* canvas) const;
99 98
100 bool fActivelyRecording; 99 bool fActivelyRecording;
101 uint32_t fFlags; 100 uint32_t fFlags;
102 SkRect fCullRect; 101 SkRect fCullRect;
103 SkAutoTUnref<SkBBoxHierarchy> fBBH; 102 SkAutoTUnref<SkBBoxHierarchy> fBBH;
104 SkAutoTUnref<SkRecorder> fRecorder; 103 SkAutoTUnref<SkRecorder> fRecorder;
105 SkAutoTUnref<SkRecord> fRecord; 104 SkAutoTUnref<SkRecord> fRecord;
106 SkMiniRecorder fMiniRecorder;
107 105
108 typedef SkNoncopyable INHERITED; 106 typedef SkNoncopyable INHERITED;
109 }; 107 };
110 108
111 #endif 109 #endif
OLDNEW
« no previous file with comments | « include/core/SkPicture.h ('k') | include/utils/SkPictureUtils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698