| 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 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 465 const OperationList& EXPERIMENTAL_getActiveOps(const SkIRect& queryRect); | 465 const OperationList& EXPERIMENTAL_getActiveOps(const SkIRect& queryRect); |
| 466 | 466 |
| 467 /** PRIVATE / EXPERIMENTAL -- do not call | 467 /** PRIVATE / EXPERIMENTAL -- do not call |
| 468 Return the ID of the operation currently being executed when playing | 468 Return the ID of the operation currently being executed when playing |
| 469 back. 0 indicates no call is active. | 469 back. 0 indicates no call is active. |
| 470 */ | 470 */ |
| 471 size_t EXPERIMENTAL_curOpID() const; | 471 size_t EXPERIMENTAL_curOpID() const; |
| 472 | 472 |
| 473 void createHeader(SkPictInfo* info) const; | 473 void createHeader(SkPictInfo* info) const; |
| 474 static bool IsValidPictInfo(const SkPictInfo& info); | 474 static bool IsValidPictInfo(const SkPictInfo& info); |
| 475 static SkPicturePlayback* FakeEndRecording(const SkPicture* resourceSrc, |
| 476 const SkPictureRecord& record, |
| 477 bool deepCopy); |
| 475 | 478 |
| 476 friend class SkFlatPicture; | 479 friend class SkFlatPicture; |
| 477 friend class SkPicturePlayback; | 480 friend class SkPicturePlayback; |
| 478 friend class SkPictureRecorder; | 481 friend class SkPictureRecorder; |
| 479 friend class SkGpuDevice; | 482 friend class SkGpuDevice; |
| 480 friend class GrGatherCanvas; | 483 friend class GrGatherCanvas; |
| 481 friend class GrGatherDevice; | 484 friend class GrGatherDevice; |
| 482 friend class SkDebugCanvas; | 485 friend class SkDebugCanvas; |
| 483 | 486 |
| 484 typedef SkRefCnt INHERITED; | 487 typedef SkRefCnt INHERITED; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 515 typedef SkRefCnt INHERITED; | 518 typedef SkRefCnt INHERITED; |
| 516 }; | 519 }; |
| 517 | 520 |
| 518 #endif | 521 #endif |
| 519 | 522 |
| 520 #ifdef SK_SUPPORT_LEGACY_PICTURE_HEADERS | 523 #ifdef SK_SUPPORT_LEGACY_PICTURE_HEADERS |
| 521 #include "SkPictureRecorder.h" | 524 #include "SkPictureRecorder.h" |
| 522 #endif | 525 #endif |
| 523 | 526 |
| 524 #endif | 527 #endif |
| OLD | NEW |