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

Unified Diff: src/core/SkPictureData.h

Issue 362773002: Rename SkPicturePlayback to SkPictureData (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix include order Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: src/core/SkPictureData.h
diff --git a/src/core/SkPicturePlayback.h b/src/core/SkPictureData.h
similarity index 95%
rename from src/core/SkPicturePlayback.h
rename to src/core/SkPictureData.h
index f5260f8d0f1fb4b9695e2f1039f53f20e923fd0d..f798e7c923f07ba2078989d9c5a141c6f113ebd1 100644
--- a/src/core/SkPicturePlayback.h
+++ b/src/core/SkPictureData.h
@@ -6,8 +6,8 @@
* found in the LICENSE file.
*/
-#ifndef SkPicturePlayback_DEFINED
-#define SkPicturePlayback_DEFINED
+#ifndef SkPictureData_DEFINED
+#define SkPictureData_DEFINED
#include "SkBitmap.h"
#include "SkPathHeap.h"
@@ -133,22 +133,22 @@ struct SkPictCopyInfo {
};
#endif
-class SkPicturePlayback {
+class SkPictureData {
public:
#ifdef SK_SUPPORT_LEGACY_PICTURE_CLONE
- SkPicturePlayback(const SkPicturePlayback& src,
- SkPictCopyInfo* deepCopyInfo = NULL);
+ SkPictureData(const SkPictureData& src,
+ SkPictCopyInfo* deepCopyInfo = NULL);
#else
- SkPicturePlayback(const SkPicturePlayback& src);
+ SkPictureData(const SkPictureData& src);
#endif
- SkPicturePlayback(const SkPictureRecord& record, const SkPictInfo&, bool deepCopyOps);
- static SkPicturePlayback* CreateFromStream(SkStream*,
+ SkPictureData(const SkPictureRecord& record, const SkPictInfo&, bool deepCopyOps);
+ static SkPictureData* CreateFromStream(SkStream*,
const SkPictInfo&,
SkPicture::InstallPixelRefProc);
- static SkPicturePlayback* CreateFromBuffer(SkReadBuffer&,
+ static SkPictureData* CreateFromBuffer(SkReadBuffer&,
const SkPictInfo&);
- virtual ~SkPicturePlayback();
+ virtual ~SkPictureData();
const SkPicture::OperationList& getActiveOps(const SkIRect& queryRect);
@@ -173,7 +173,7 @@ public:
void resetOpID() { fCurOffset = 0; }
protected:
- explicit SkPicturePlayback(const SkPictInfo& info);
+ explicit SkPictureData(const SkPictInfo& info);
bool parseStream(SkStream*, SkPicture::InstallPixelRefProc);
bool parseBuffer(SkReadBuffer& buffer);
@@ -365,7 +365,7 @@ private:
ReplacementInfo* push();
private:
- friend class SkPicturePlayback; // for access to lookupByStart
+ friend class SkPictureData; // for access to lookupByStart
// look up a replacement range by its start offset
ReplacementInfo* lookupByStart(size_t start);

Powered by Google App Engine
This is Rietveld 408576698