diff options
author | Herb Derby <herb@google.com> | 2018-02-02 12:54:55 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-02-05 19:27:26 +0000 |
commit | 9d02182c0b11abc74d252dbfffe1b49d8d089a9a (patch) | |
tree | 97503376bedc0b39cc53efda1caaee7698824d39 /src/core/SkRemoteGlyphCache.h | |
parent | 85c8b493ebdf01d587773bbb7d243a3ebec41691 (diff) |
Generate cache traffic each iteration
The old timing system would generate cache traffic
for the first drawing of the picture caching everyting
on the GPU side. Further iterations would just use the cache.
This change forces cache traffic to be generated each iteration.
BUG=skia:7515
Change-Id: I0d857e123796cdc7d655634446082598bef3f962
Reviewed-on: https://skia-review.googlesource.com/103021
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Herb Derby <herb@google.com>
Diffstat (limited to 'src/core/SkRemoteGlyphCache.h')
-rw-r--r-- | src/core/SkRemoteGlyphCache.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/SkRemoteGlyphCache.h b/src/core/SkRemoteGlyphCache.h index 3634ad0871..18d2dec2a2 100644 --- a/src/core/SkRemoteGlyphCache.h +++ b/src/core/SkRemoteGlyphCache.h @@ -66,7 +66,6 @@ public: const SkScalerContextRecDescriptor& desc, SkFontID typefaceId); private: - sk_sp<SkData> encodeTypeface(SkTypeface* tf); SkTHashMap<SkFontID, sk_sp<SkTypeface>> fTypefaceMap; @@ -92,8 +91,6 @@ private: std::unique_ptr<SkRemoteScalerContext> fRemoteScalerContext; // TODO: Figure out how to manage the entries for the following maps. SkTHashMap<SkFontID, sk_sp<SkTypefaceProxy>> fMapIdToTypeface; - }; - #endif // SkRemoteGlyphCache_DEFINED |