Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Issue 1739453002: Cleanups related to SkFixed. (Closed)

Created:
4 years, 10 months ago by dogben
Modified:
4 years, 10 months ago
Reviewers:
reed1
CC:
bungeman-skia, mtklein, reviews_skia.org
Base URL:
https://skia.googlesource.com/skia@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Cleanups related to SkFixed. This CL relands https://codereview.chromium.org/1683743005/ with two fixes: - Removing the test for vertical text. Vertical text doesn't work on Windows and breakText isn't supported for non-trivial text. - Omit PaintBreakTextTest in Google3 because we don't have the correct font setup yet. 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 Committed: https://skia.googlesource.com/skia/+/7ea5cb18389db11a94175de95c9db2b44972630c patch from issue 1683743005 at patchset 120001 (http://crrev.com/1683743005#ps120001) Committed: https://skia.googlesource.com/skia/+/f6bfccd562f4ac071db9902097ad4bea83294085

Patch Set 1 #

Patch Set 2 : Omit PaintBreakTextTest in Google3 because we don't have the correct font setup yet. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -54 lines) Patch
M include/core/SkFixed.h View 1 chunk +0 lines, -1 line 0 comments Download
M include/core/SkRect.h View 1 chunk +1 line, -2 lines 0 comments Download
M public.bzl View 1 1 chunk +1 line, -1 line 0 comments Download
M samplecode/SampleText.cpp View 2 chunks +0 lines, -37 lines 0 comments Download
M src/core/SkBitmapFilter.h View 2 chunks +0 lines, -12 lines 0 comments Download
M src/core/SkPaint.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/effects/gradients/SkTwoPointConicalGradient.h View 1 chunk +1 line, -0 lines 0 comments Download
A tests/PaintBreakTextTest.cpp View 1 chunk +84 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
dogben
4 years, 10 months ago (2016-02-24 20:11:54 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1739453002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1739453002/20001
4 years, 10 months ago (2016-02-24 20:16:54 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-24 20:39:12 UTC) #7
reed1
lgtm
4 years, 10 months ago (2016-02-25 18:23:20 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1739453002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1739453002/20001
4 years, 10 months ago (2016-02-25 18:27:23 UTC) #10
commit-bot: I haz the power
4 years, 10 months ago (2016-02-25 18:28:15 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/f6bfccd562f4ac071db9902097ad4bea83294085

Powered by Google App Engine
This is Rietveld 408576698