diff options
author | Ben Wagner <bungeman@google.com> | 2018-05-01 16:13:20 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-05-01 20:52:05 +0000 |
commit | 0f91bb874dc3201dbc3cce3b946f66e3e484c6fc (patch) | |
tree | 13483fb7d8371c8b14127137c964b0de765e06ac /include/atlastext | |
parent | 7e7369f7131d0b00f87cfb94e0fcbf91b02b4ee6 (diff) |
Correct precondition for SDF mask format.
When creating an SDF glyph the mask format of the underlying glyph must
be A1 or A8. Currently the code just checks for ~ARGB, but LCD16, 3D,
and any other possible mask formats are also unsupported.
Change-Id: I092a18828742dddfc93687eabd9858186605fc96
Reviewed-on: https://skia-review.googlesource.com/125083
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
Diffstat (limited to 'include/atlastext')
0 files changed, 0 insertions, 0 deletions