Cleanups related to SkFixed.
authorbenjaminwagner <benjaminwagner@google.com>
Wed, 24 Feb 2016 14:51:52 +0000 (06:51 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 24 Feb 2016 14:51:52 +0000 (06:51 -0800)
commit7ea5cb18389db11a94175de95c9db2b44972630c
tree3e87b6ec8c453081a1666fca96dfb5bfbbda2141
parent8f7b0b2d809510d4af4e6ff6f731bac78eded6c4
Cleanups related to SkFixed.

Remove SK_FixedNaN. It does not seem to be supported or used anywhere in Skia, Chromium, Android, or Google3, (except accidentally by TwoPtRadial::kDontDrawT). I think supporting it would erase any benefit of SkFixed over float.

Remove SkBitmapFilter::lookup. It does not appear to be used anywhere in Skia, Chromium, Android, or Google3.

Fix a bug in SkPaint::breakText that limited it to ~5kB of text. Now it can handle more than 1GB.

BUG=skia:4632
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1683743005

Review URL: https://codereview.chromium.org/1683743005
include/core/SkFixed.h
include/core/SkRect.h
samplecode/SampleText.cpp
src/core/SkBitmapFilter.h
src/core/SkPaint.cpp
src/effects/gradients/SkTwoPointConicalGradient.h
tests/PaintBreakTextTest.cpp [new file with mode: 0644]