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

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

Issue 366443002: Implement SkRecord::willPlaybackBitmaps, cache in SkPicture (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Mike's macro suggestion 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
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2007 The Android Open Source Project 3 * Copyright 2007 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkPicture_DEFINED 10 #ifndef SkPicture_DEFINED
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 friend class SkPictureRecorder; // just for SkPicture-based constructor 305 friend class SkPictureRecorder; // just for SkPicture-based constructor
306 friend class SkGpuDevice; 306 friend class SkGpuDevice;
307 friend class GrGatherCanvas; 307 friend class GrGatherCanvas;
308 friend class GrGatherDevice; 308 friend class GrGatherDevice;
309 friend class SkDebugCanvas; 309 friend class SkDebugCanvas;
310 310
311 typedef SkRefCnt INHERITED; 311 typedef SkRefCnt INHERITED;
312 312
313 SkPicture(int width, int height, SkRecord*); // Takes ownership. 313 SkPicture(int width, int height, SkRecord*); // Takes ownership.
314 SkAutoTDelete<SkRecord> fRecord; 314 SkAutoTDelete<SkRecord> fRecord;
315 bool fRecordWillPlayBackBitmaps; // cached
mtklein 2014/07/02 15:53:08 I think the // cached here can go? Makes it seem
tomhudson 2014/07/02 19:21:33 Done.
315 }; 316 };
316 317
317 #endif 318 #endif
OLDNEW
« no previous file with comments | « gyp/core.gypi ('k') | src/core/SkPicture.cpp » ('j') | src/core/SkPicture.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698