Chromium Code Reviews| 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 /** PRIVATE / EXPERIMENTAL -- do not call | 287 /** PRIVATE / EXPERIMENTAL -- do not call |
| 288 Return the operations required to render the content inside 'queryRect'. | 288 Return the operations required to render the content inside 'queryRect'. |
| 289 */ | 289 */ |
| 290 const OperationList* EXPERIMENTAL_getActiveOps(const SkRect& queryRect) cons t; | 290 const OperationList* EXPERIMENTAL_getActiveOps(const SkRect& queryRect) cons t; |
| 291 | 291 |
| 292 void createHeader(SkPictInfo* info) const; | 292 void createHeader(SkPictInfo* info) const; |
| 293 static bool IsValidPictInfo(const SkPictInfo& info); | 293 static bool IsValidPictInfo(const SkPictInfo& info); |
| 294 | 294 |
| 295 friend class SkPictureData; // to access OperationList | 295 friend class SkPictureData; // to access OperationList |
| 296 friend class SkPictureRecorder; // just for SkPicture-based const ructor | 296 friend class SkPictureRecorder; // just for SkPicture-based const ructor |
| 297 friend class SkGpuDevice; // for EXPERIMENTAL_getActiveOps/ OperationList | 297 friend class SkGpuDevice; // for EXPERIMENTAL_getActiveOps/ OperationList |
|
bsalomon
2014/09/02 15:26:20
still need this, right?
robertphillips
2014/09/02 16:14:42
For right now. Once GrContext is doing everything
| |
| 298 friend class GrLayerHoister; // for EXPERIMENTAL_getActiveOps/ OperationList | |
| 298 friend class CollectLayers; // access to fRecord | 299 friend class CollectLayers; // access to fRecord |
| 299 friend class SkPicturePlayback; // to get fData & OperationList | 300 friend class SkPicturePlayback; // to get fData & OperationList |
| 300 friend class SkPictureReplacementPlayback; // to access OperationList | 301 friend class SkPictureReplacementPlayback; // to access OperationList |
| 301 | 302 |
| 302 typedef SkRefCnt INHERITED; | 303 typedef SkRefCnt INHERITED; |
| 303 | 304 |
| 304 // Takes ownership of the SkRecord, refs the (optional) BBH. | 305 // Takes ownership of the SkRecord, refs the (optional) BBH. |
| 305 SkPicture(SkScalar width, SkScalar height, SkRecord*, SkBBoxHierarchy*); | 306 SkPicture(SkScalar width, SkScalar height, SkRecord*, SkBBoxHierarchy*); |
| 306 // Return as a new SkPicture that's backed by SkRecord. | 307 // Return as a new SkPicture that's backed by SkRecord. |
| 307 static SkPicture* Forwardport(const SkPicture&); | 308 static SkPicture* Forwardport(const SkPicture&); |
| (...skipping 12 matching lines...) Expand all Loading... | |
| 320 bool fWillPlaybackBitmaps; | 321 bool fWillPlaybackBitmaps; |
| 321 bool fHasText; | 322 bool fHasText; |
| 322 int fNumPaintWithPathEffectUses; | 323 int fNumPaintWithPathEffectUses; |
| 323 int fNumFastPathDashEffects; | 324 int fNumFastPathDashEffects; |
| 324 int fNumAAConcavePaths; | 325 int fNumAAConcavePaths; |
| 325 int fNumAAHairlineConcavePaths; | 326 int fNumAAHairlineConcavePaths; |
| 326 } fAnalysis; | 327 } fAnalysis; |
| 327 }; | 328 }; |
| 328 | 329 |
| 329 #endif | 330 #endif |
| OLD | NEW |