commit | 3f76acec92ff4dbd8bc46e7add2f8f7a2cbacfb0 | [log] [tgz] |
---|---|---|
author | danakj <[email protected]> | Tue Nov 18 16:56:00 2014 |
committer | Commit bot <[email protected]> | Tue Nov 18 16:57:07 2014 |
tree | 41935a37da0de066fa750016b2602e69b56ec825 | |
parent | 0bc5a9a4430af86f2c935f51e46961988fe576fd [diff] |
cc: Toggle LCD text at raster time instead of record time. Always tell blink that it can use LCD text (in future this can stop being passed at all). And at raster time: - If LCD text is allowed initialize SkSurfaceProps with the LegacyHost parameter which will cause skia to pick an LCD text format matching current behaviour. - If LCD is not allowed initialize SkSurfaceProps with an "unknown pixelformat" causing LCD text to not be used. This also removes the need for SK_SUPPORT_LEGACY_TEXTRENDERMODE from resource_provider.cc. R=enne,reveman BUG=430617 Committed: https://crrev.com/ad672f645e82ca677978b097a170c908c614d184 Cr-Commit-Position: refs/heads/master@{#304486} Review URL: https://codereview.chromium.org/684543006 Cr-Commit-Position: refs/heads/master@{#304623}