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

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

Issue 384753004: Cleanup SkPicture* classes a bit (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Clean up 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
« no previous file with comments | « no previous file | 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 /* 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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 }; 273 };
274 274
275 /** PRIVATE / EXPERIMENTAL -- do not call 275 /** PRIVATE / EXPERIMENTAL -- do not call
276 Return the operations required to render the content inside 'queryRect'. 276 Return the operations required to render the content inside 'queryRect'.
277 */ 277 */
278 const OperationList* EXPERIMENTAL_getActiveOps(const SkIRect& queryRect) con st; 278 const OperationList* EXPERIMENTAL_getActiveOps(const SkIRect& queryRect) con st;
279 279
280 void createHeader(SkPictInfo* info) const; 280 void createHeader(SkPictInfo* info) const;
281 static bool IsValidPictInfo(const SkPictInfo& info); 281 static bool IsValidPictInfo(const SkPictInfo& info);
282 282
283 friend class SkFlatPicture; 283 friend class SkPictureData; // to access OperationList
284 friend class SkPictureData; 284 friend class SkPictureRecorder; // just for SkPicture-based const ructor
285 friend class SkPictureRecorder; // just for SkPicture-based constructor 285 friend class SkGpuDevice; // for EXPERIMENTAL_getActiveOps/ OperationList
286 friend class SkGpuDevice; 286 friend class GrGatherCanvas; // needs to know if old or new pi cture
287 friend class GrGatherCanvas; 287 friend class SkPicturePlayback; // to get fData & OperationList
288 friend class GrGatherDevice;
289 friend class SkDebugCanvas;
290 friend class SkPicturePlayback; // to get fData
291 friend class SkPictureReplacementPlayback; // to access OperationList 288 friend class SkPictureReplacementPlayback; // to access OperationList
292 289
293 typedef SkRefCnt INHERITED; 290 typedef SkRefCnt INHERITED;
294 291
295 SkPicture(int width, int height, SkRecord*); // Takes ownership. 292 SkPicture(int width, int height, SkRecord*); // Takes ownership.
296 SkAutoTDelete<SkRecord> fRecord; 293 SkAutoTDelete<SkRecord> fRecord;
297 bool fRecordWillPlayBackBitmaps; // TODO: const 294 bool fRecordWillPlayBackBitmaps; // TODO: const
298 }; 295 };
299 296
300 #endif 297 #endif
OLDNEW
« no previous file with comments | « no previous file | src/core/SkPicture.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698