Determine too-big-for-atlas in common code

Currently the serialization code decides if the
glyph is too big for the atlas. This should be
decided by the common code.

Misc cleanups

Change-Id: I1c32103afdb23a28cc370726cc0a725446caec27
Reviewed-on: https://skia-review.googlesource.com/152592
Reviewed-by: Khusal Sagar <khushalsagar@chromium.org>
Commit-Queue: Herb Derby <herb@google.com>
2 files changed