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

Issue 1539083002: [Reland] Repeating SkBitmapProcState rounding bias (Closed)

Created:
5 years ago by f(malita)
Modified:
4 years, 11 months ago
Reviewers:
reed1
CC:
reviews_skia.org
Base URL:
https://chromium.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

[Reland] Repeating SkBitmapProcState rounding bias 1) observe the bias in repeat matrix procs also. 2) add utility for device space -> bitmap space mapping. 3) remove unneeded filter bias This is a reland of https://codereview.chromium.org/1529833003/. The main difference (and the fix) vs. the prev version is increased precision: the mapper now operates with SkFractionalInts. R=reed@google.com BUG=skia:4680, skia:4649 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1539083002 Committed: https://skia.googlesource.com/skia/+/b3a835891cf221bdf4c6eeb4cf404b374955015f

Patch Set 1 #

Patch Set 2 : corrected comment #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -39 lines) Patch
M src/core/SkBitmapProcState.h View 1 2 chunks +30 lines, -11 lines 2 comments Download
M src/core/SkBitmapProcState.cpp View 1 chunk +3 lines, -8 lines 0 comments Download
M src/core/SkBitmapProcState_matrix.h View 2 chunks +4 lines, -8 lines 0 comments Download
M src/core/SkBitmapProcState_matrix_template.h View 2 chunks +6 lines, -12 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
f(malita)
PTAL
5 years ago (2015-12-19 17:57:58 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1539083002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1539083002/20001
5 years ago (2015-12-19 17:58:21 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-19 18:13:49 UTC) #8
f(malita)
On 2015/12/19 18:13:49, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
5 years ago (2015-12-21 16:16:07 UTC) #9
f(malita)
On 2015/12/21 16:16:07, f(malita) wrote: > On 2015/12/19 18:13:49, commit-bot: I haz the power wrote: ...
4 years, 11 months ago (2016-01-04 15:30:45 UTC) #10
reed1
https://codereview.chromium.org/1539083002/diff/20001/src/core/SkBitmapProcState.h File src/core/SkBitmapProcState.h (right): https://codereview.chromium.org/1539083002/diff/20001/src/core/SkBitmapProcState.h#newcode219 src/core/SkBitmapProcState.h:219: fX = SkScalarToFractionalInt(pt.x()) - SkFixedToFractionalInt(s.fInvMatrix.getScaleX() > 0); Now that ...
4 years, 11 months ago (2016-01-04 17:55:57 UTC) #11
reed1
lgtm
4 years, 11 months ago (2016-01-04 17:56:02 UTC) #12
f(malita)
https://codereview.chromium.org/1539083002/diff/20001/src/core/SkBitmapProcState.h File src/core/SkBitmapProcState.h (right): https://codereview.chromium.org/1539083002/diff/20001/src/core/SkBitmapProcState.h#newcode219 src/core/SkBitmapProcState.h:219: fX = SkScalarToFractionalInt(pt.x()) - SkFixedToFractionalInt(s.fInvMatrix.getScaleX() > 0); On 2016/01/04 ...
4 years, 11 months ago (2016-01-04 18:04:27 UTC) #13
f(malita)
On 2016/01/04 18:04:27, f(malita) wrote: > https://codereview.chromium.org/1539083002/diff/20001/src/core/SkBitmapProcState.h > File src/core/SkBitmapProcState.h (right): > > https://codereview.chromium.org/1539083002/diff/20001/src/core/SkBitmapProcState.h#newcode219 > ...
4 years, 11 months ago (2016-01-04 18:09:15 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1539083002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1539083002/20001
4 years, 11 months ago (2016-01-04 18:09:30 UTC) #16
commit-bot: I haz the power
4 years, 11 months ago (2016-01-04 18:28:13 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/b3a835891cf221bdf4c6eeb4cf404b374955015f

Powered by Google App Engine
This is Rietveld 408576698