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

Unified Diff: include/core/SkPicture.h

Issue 1233953004: Deduplicate typefaces across sub-pictures (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 4 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
« no previous file with comments | « no previous file | src/core/SkPicture.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkPicture.h
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h
index baef45ded0263e59516ca959b609b989ce9873c7..774b5424428d2684cbfaa7359090148e4fa09b46 100644
--- a/include/core/SkPicture.h
+++ b/include/core/SkPicture.h
@@ -18,7 +18,9 @@ class SkBitmap;
class SkCanvas;
class SkPictureData;
class SkPixelSerializer;
+class SkRefCntSet;
class SkStream;
+class SkTypefacePlayback;
class SkWStream;
struct SkPictInfo;
@@ -163,6 +165,12 @@ private:
friend class SkEmptyPicture;
template <typename> friend class SkMiniPicture;
+ void serialize(SkWStream*, SkPixelSerializer*, SkRefCntSet* typefaces) const;
+ static SkPicture* CreateFromStream(SkStream*,
+ InstallPixelRefProc proc,
+ SkTypefacePlayback*);
+ friend class SkPictureData;
+
virtual int numSlowPaths() const = 0;
friend struct SkPathCounter;
« 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