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

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

Issue 758813002: free up picturerecorder refs after returning picture or drawable (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years 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 | « no previous file | src/core/SkPictureRecorder.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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 friend class android::Picture; 103 friend class android::Picture;
104 #endif 104 #endif
105 friend class SkPictureRecorderReplayTester; // for unit testing 105 friend class SkPictureRecorderReplayTester; // for unit testing
106 void partialReplay(SkCanvas* canvas) const; 106 void partialReplay(SkCanvas* canvas) const;
107 107
108 uint32_t fFlags; 108 uint32_t fFlags;
109 SkRect fCullRect; 109 SkRect fCullRect;
110 SkAutoTUnref<SkBBoxHierarchy> fBBH; 110 SkAutoTUnref<SkBBoxHierarchy> fBBH;
111 SkAutoTUnref<SkRecorder> fRecorder; 111 SkAutoTUnref<SkRecorder> fRecorder;
112 SkAutoTUnref<SkRecord> fRecord; 112 SkAutoTUnref<SkRecord> fRecord;
113 SkBBHFactory* fBBHFactory;
114 113
115 typedef SkNoncopyable INHERITED; 114 typedef SkNoncopyable INHERITED;
116 }; 115 };
117 116
118 #endif 117 #endif
OLDNEW
« no previous file with comments | « no previous file | src/core/SkPictureRecorder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698