| OLD | NEW |
| 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 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 Return the operations required to render the content inside 'queryRect'. | 287 Return the operations required to render the content inside 'queryRect'. |
| 288 */ | 288 */ |
| 289 const OperationList* EXPERIMENTAL_getActiveOps(const SkIRect& queryRect) con
st; | 289 const OperationList* EXPERIMENTAL_getActiveOps(const SkIRect& queryRect) con
st; |
| 290 | 290 |
| 291 void createHeader(SkPictInfo* info) const; | 291 void createHeader(SkPictInfo* info) const; |
| 292 static bool IsValidPictInfo(const SkPictInfo& info); | 292 static bool IsValidPictInfo(const SkPictInfo& info); |
| 293 | 293 |
| 294 friend class SkPictureData; // to access OperationList | 294 friend class SkPictureData; // to access OperationList |
| 295 friend class SkPictureRecorder; // just for SkPicture-based const
ructor | 295 friend class SkPictureRecorder; // just for SkPicture-based const
ructor |
| 296 friend class SkGpuDevice; // for EXPERIMENTAL_getActiveOps/
OperationList | 296 friend class SkGpuDevice; // for EXPERIMENTAL_getActiveOps/
OperationList |
| 297 friend class GrGatherCanvas; // needs to know if old or new pi
cture | 297 friend class CollectLayers; // access to fRecord |
| 298 friend class SkPicturePlayback; // to get fData & OperationList | 298 friend class SkPicturePlayback; // to get fData & OperationList |
| 299 friend class SkPictureReplacementPlayback; // to access OperationList | 299 friend class SkPictureReplacementPlayback; // to access OperationList |
| 300 | 300 |
| 301 typedef SkRefCnt INHERITED; | 301 typedef SkRefCnt INHERITED; |
| 302 | 302 |
| 303 // Takes ownership of the SkRecord, refs the (optional) BBH. | 303 // Takes ownership of the SkRecord, refs the (optional) BBH. |
| 304 SkPicture(int width, int height, SkRecord*, SkBBoxHierarchy*); | 304 SkPicture(int width, int height, SkRecord*, SkBBoxHierarchy*); |
| 305 // Return as a new SkPicture that's backed by SkRecord. | 305 // Return as a new SkPicture that's backed by SkRecord. |
| 306 static SkPicture* Forwardport(const SkPicture&); | 306 static SkPicture* Forwardport(const SkPicture&); |
| 307 | 307 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 319 bool fWillPlaybackBitmaps; | 319 bool fWillPlaybackBitmaps; |
| 320 bool fHasText; | 320 bool fHasText; |
| 321 int fNumPaintWithPathEffectUses; | 321 int fNumPaintWithPathEffectUses; |
| 322 int fNumFastPathDashEffects; | 322 int fNumFastPathDashEffects; |
| 323 int fNumAAConcavePaths; | 323 int fNumAAConcavePaths; |
| 324 int fNumAAHairlineConcavePaths; | 324 int fNumAAHairlineConcavePaths; |
| 325 } fAnalysis; | 325 } fAnalysis; |
| 326 }; | 326 }; |
| 327 | 327 |
| 328 #endif | 328 #endif |
| OLD | NEW |