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

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

Issue 454123003: Plumbing for using a BBH in SkRecordDraw. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: clang says asserts are always true Created 6 years, 4 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') | src/core/SkPicture.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 SkPictureRecorder_DEFINED 8 #ifndef SkPictureRecorder_DEFINED
9 #define SkPictureRecorder_DEFINED 9 #define SkPictureRecorder_DEFINED
10 10
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 */ 73 */
74 #ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK 74 #ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
75 friend class android::Picture; 75 friend class android::Picture;
76 #endif 76 #endif
77 friend class SkPictureRecorderReplayTester; // for unit testing 77 friend class SkPictureRecorderReplayTester; // for unit testing
78 void partialReplay(SkCanvas* canvas) const; 78 void partialReplay(SkCanvas* canvas) const;
79 79
80 int fWidth; 80 int fWidth;
81 int fHeight; 81 int fHeight;
82 82
83 SkAutoTUnref<SkBBoxHierarchy> fBBH;
84
83 // One of these two canvases will be non-NULL. 85 // One of these two canvases will be non-NULL.
84 SkAutoTUnref<SkPictureRecord> fPictureRecord; // beginRecording() 86 SkAutoTUnref<SkPictureRecord> fPictureRecord; // beginRecording()
85 SkAutoTUnref<SkRecorder> fRecorder; // EXPERIMENTAL_beginRecordin g() 87 SkAutoTUnref<SkRecorder> fRecorder; // EXPERIMENTAL_beginRecordin g()
86 88
87 // Used by EXPERIMENTAL_beginRecording(). 89 // Used by EXPERIMENTAL_beginRecording().
88 SkAutoTDelete<SkRecord> fRecord; 90 SkAutoTDelete<SkRecord> fRecord;
89 91
90 typedef SkNoncopyable INHERITED; 92 typedef SkNoncopyable INHERITED;
91 }; 93 };
92 94
93 #endif 95 #endif
OLDNEW
« no previous file with comments | « include/core/SkPicture.h ('k') | src/core/SkPicture.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698