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

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

Issue 283333007: Add choke point for performing a fake endRecording (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 7 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 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
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