aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkTypeface_remote.h
diff options
context:
space:
mode:
authorGravatar Herb Derby <herb@google.com>2018-01-09 12:34:11 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-01-25 22:33:07 +0000
commit4f505f9c7763df96a97bfb2b8a682da6cb6bf7f1 (patch)
treeb42d9ddd4e5e5dbb997b20e71d2349c32e68ad9a /src/core/SkTypeface_remote.h
parent5d4dd8bef5d681648d1eff081959531aab3ecd30 (diff)
Add cache for handling of contexts.
Added scaler context cache on the Renderer side that maps descriptors to scaler contexts. Added preliminary timing code. Remove unused print statements. BUG=skia:7515 Change-Id: I156ba656aab113e0ceae0c2ea0f9f3c1d3d61d6a Reviewed-on: https://skia-review.googlesource.com/99540 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkTypeface_remote.h b/src/core/SkTypeface_remote.h
index 0b6948e88b..33021547cd 100644
--- a/src/core/SkTypeface_remote.h
+++ b/src/core/SkTypeface_remote.h
@@ -120,7 +120,7 @@ protected:
}
void onFilterRec(SkScalerContextRec* rec) const override {
// Add all the device information here.
- rec->fPost2x2[0][0] = 0.5f;
+ //rec->fPost2x2[0][0] = 0.5f;
// This would be the best place to run the host SkTypeface_* onFilterRec.
// Can we move onFilterRec to the FongMgr, that way we don't need to cross the boundary to