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 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
393 | 393 |
394 /** PRIVATE / EXPERIMENTAL -- do not call | 394 /** PRIVATE / EXPERIMENTAL -- do not call |
395 Return the ID of the operation currently being executed when playing | 395 Return the ID of the operation currently being executed when playing |
396 back. 0 indicates no call is active. | 396 back. 0 indicates no call is active. |
397 */ | 397 */ |
398 size_t EXPERIMENTAL_curOpID() const; | 398 size_t EXPERIMENTAL_curOpID() const; |
399 | 399 |
400 void createHeader(SkPictInfo* info) const; | 400 void createHeader(SkPictInfo* info) const; |
401 static bool IsValidPictInfo(const SkPictInfo& info); | 401 static bool IsValidPictInfo(const SkPictInfo& info); |
402 static SkPicturePlayback* FakeEndRecording(const SkPicture* resourceSrc, | 402 static SkPicturePlayback* FakeEndRecording(const SkPicture* resourceSrc, |
403 const SkPictureRecord& record, | 403 const SkPictureRecord& record); |
404 bool deepCopy); | |
405 | 404 |
406 friend class SkFlatPicture; | 405 friend class SkFlatPicture; |
407 friend class SkPicturePlayback; | 406 friend class SkPicturePlayback; |
408 friend class SkPictureRecorder; | 407 friend class SkPictureRecorder; |
409 friend class SkGpuDevice; | 408 friend class SkGpuDevice; |
410 friend class GrGatherCanvas; | 409 friend class GrGatherCanvas; |
411 friend class GrGatherDevice; | 410 friend class GrGatherDevice; |
412 friend class SkDebugCanvas; | 411 friend class SkDebugCanvas; |
413 | 412 |
414 typedef SkRefCnt INHERITED; | 413 typedef SkRefCnt INHERITED; |
(...skipping 11 matching lines...) Expand all Loading... |
426 */ | 425 */ |
427 class SK_API SkDrawPictureCallback { | 426 class SK_API SkDrawPictureCallback { |
428 public: | 427 public: |
429 SkDrawPictureCallback() {} | 428 SkDrawPictureCallback() {} |
430 virtual ~SkDrawPictureCallback() {} | 429 virtual ~SkDrawPictureCallback() {} |
431 | 430 |
432 virtual bool abortDrawing() = 0; | 431 virtual bool abortDrawing() = 0; |
433 }; | 432 }; |
434 | 433 |
435 #endif | 434 #endif |
OLD | NEW |