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/SkTypeface_remote.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/SkTypeface_remote.h')
-rw-r--r-- | src/core/SkTypeface_remote.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/SkTypeface_remote.h b/src/core/SkTypeface_remote.h index 8f47434e18..cf6d0afc9a 100644 --- a/src/core/SkTypeface_remote.h +++ b/src/core/SkTypeface_remote.h @@ -78,6 +78,7 @@ public: , fFontId{fontId} , fRsc{rsc} { } SkFontID fontID() const {return fFontId;} + protected: int onGetUPEM() const override { SK_ABORT("Should never be called."); return 0; } SkStreamAsset* onOpenStream(int* ttcIndex) const override { |