diff options
author | Herb Derby <herb@google.com> | 2018-06-21 12:44:26 +0000 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-06-21 12:44:28 +0000 |
commit | 960d421fb98f9e08ec6efb380607b54a7cf72f95 (patch) | |
tree | 5c5ce63f7b25896b6c9ac292cc931f83a2c1c502 /src/core/SkRemoteGlyphCache.h | |
parent | b1a6e65c9be5794d86e2d02994b87e83f566270a (diff) |
Revert "Make SkRemoteGlyphCache tests use private glyph cache"
This reverts commit 3e36ce6e660ad585c58c5cc5591f23a46fcab767.
Reason for revert: Too much verification
Original change's description:
> Make SkRemoteGlyphCache tests use private glyph cache
>
> Change-Id: If6aa189f3badc7558ab8ecf71ee3d704b275b20f
> Reviewed-on: https://skia-review.googlesource.com/136225
> Commit-Queue: Herb Derby <herb@google.com>
> Reviewed-by: Mike Klein <mtklein@google.com>
TBR=mtklein@google.com,herb@google.com
Change-Id: Ia0c096abd0ab651bc7c907f0595af4f07c88fb5e
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/136478
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Herb Derby <herb@google.com>
Diffstat (limited to 'src/core/SkRemoteGlyphCache.h')
-rw-r--r-- | src/core/SkRemoteGlyphCache.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/core/SkRemoteGlyphCache.h b/src/core/SkRemoteGlyphCache.h index f09228fd1e..ac13920772 100644 --- a/src/core/SkRemoteGlyphCache.h +++ b/src/core/SkRemoteGlyphCache.h @@ -20,6 +20,7 @@ #include "SkMakeUnique.h" #include "SkNoDrawCanvas.h" #include "SkRefCnt.h" +#include "SkRemoteGlyphCache.h" #include "SkSerialProcs.h" #include "SkTypeface.h" @@ -29,7 +30,6 @@ class SkGlyphCache; struct SkPackedGlyphID; enum SkScalerContextFlags : uint32_t; class SkScalerContextRecDescriptor; -class SkStrikeCache; class SkTextBlobRunIterator; class SkTypefaceProxy; struct WireTypeface; @@ -212,9 +212,7 @@ public: virtual void notifyCacheMiss(CacheMissType) {} }; - SkStrikeClient(sk_sp<DiscardableHandleManager>, - bool isLogging = true, - SkStrikeCache* strikeCache = nullptr); + SkStrikeClient(sk_sp<DiscardableHandleManager>, bool isLogging = true); ~SkStrikeClient(); // Deserializes the typeface previously serialized using the SkStrikeServer. Returns null if the @@ -225,9 +223,7 @@ public: // from a server when serializing the ops must be deserialized before the op // is rasterized. // Returns false if the data is invalid. - bool readStrikeData( - const volatile void* memory, - size_t memorySize); + bool readStrikeData(const volatile void* memory, size_t memorySize); private: class DiscardableStrikePinner; @@ -236,7 +232,6 @@ private: SkTHashMap<SkFontID, sk_sp<SkTypeface>> fRemoteFontIdToTypeface; sk_sp<DiscardableHandleManager> fDiscardableHandleManager; - SkStrikeCache* const fStrikeCache; const bool fIsLogging; }; |