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

Issue 1529833003: Repeating SkBitmapProcState rounding bias (Closed)

Created:
5 years ago by f(malita)
Modified:
5 years 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

Repeating SkBitmapProcState rounding bias Observe the bias in repeat matrix procs also. Introduce a utility class to handle device space -> bitmap space mapping. BUG=skia:4680, skia:4649 R=reed@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1529833003 Committed: https://skia.googlesource.com/skia/+/5ae7fdcc3d7712da3193c39a751e88b092aa82db

Patch Set 1 #

Patch Set 2 : bump SkTBlitterAllocator storage #

Patch Set 3 : we only need the fractional bits for bias #

Patch Set 4 : comments #

Total comments: 4

Patch Set 5 : used int8_t for bias storage #

Patch Set 6 : v2 (SkBitmapProcStateAutoMapper) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -48 lines) Patch
M src/core/SkBitmapProcState.h View 1 2 3 4 5 2 chunks +28 lines, -11 lines 0 comments Download
M src/core/SkBitmapProcState.cpp View 1 2 3 4 5 2 chunks +3 lines, -9 lines 0 comments Download
M src/core/SkBitmapProcState_matrix.h View 1 2 3 4 5 2 chunks +6 lines, -15 lines 0 comments Download
M src/core/SkBitmapProcState_matrix_template.h View 1 2 3 4 5 3 chunks +7 lines, -13 lines 0 comments Download

Messages

Total messages: 36 (15 generated)
f(malita)
~38 diffs locally, most of which are a rehash of the prev change due to ...
5 years ago (2015-12-15 22:33:53 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/1529833003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1529833003/1
5 years ago (2015-12-15 22:34:12 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/builds/4792)
5 years ago (2015-12-15 22:45:32 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1529833003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1529833003/20001
5 years ago (2015-12-15 23:07:25 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-15 23:22:02 UTC) #10
f(malita)
On 2015/12/15 22:45:32, commit-bot: I haz the power wrote: > Dry run: Try jobs failed ...
5 years ago (2015-12-15 23:23:38 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1529833003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1529833003/40001
5 years ago (2015-12-16 16:05:09 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1529833003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1529833003/60001
5 years ago (2015-12-16 16:09:09 UTC) #15
reed1
https://codereview.chromium.org/1529833003/diff/60001/src/core/SkBitmapProcState.h File src/core/SkBitmapProcState.h (right): https://codereview.chromium.org/1529833003/diff/60001/src/core/SkBitmapProcState.h#newcode81 src/core/SkBitmapProcState.h:81: // geometry. These are treated as SkFixed, but we ...
5 years ago (2015-12-16 16:25:03 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-16 16:28:00 UTC) #18
f(malita)
https://codereview.chromium.org/1529833003/diff/60001/src/core/SkBitmapProcState.h File src/core/SkBitmapProcState.h (right): https://codereview.chromium.org/1529833003/diff/60001/src/core/SkBitmapProcState.h#newcode81 src/core/SkBitmapProcState.h:81: // geometry. These are treated as SkFixed, but we ...
5 years ago (2015-12-16 16:45:55 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1529833003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1529833003/80001
5 years ago (2015-12-16 16:50:43 UTC) #21
f(malita)
On 2015/12/16 16:45:55, f(malita) wrote: > b) squeeze them down to int8_ts - I think ...
5 years ago (2015-12-16 16:51:50 UTC) #22
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-16 17:07:43 UTC) #24
f(malita)
On 2015/12/16 16:51:50, f(malita) wrote: > On 2015/12/16 16:45:55, f(malita) wrote: > > b) squeeze ...
5 years ago (2015-12-16 22:09:30 UTC) #25
reed1
I love it -- we should have done this even w/o the new tricky bias. ...
5 years ago (2015-12-17 21:27:32 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1529833003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1529833003/100001
5 years ago (2015-12-18 14:37:54 UTC) #28
f(malita)
On 2015/12/18 14:37:54, commit-bot: I haz the power wrote: > CQ is trying da patch. ...
5 years ago (2015-12-18 14:43:55 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1529833003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1529833003/100001
5 years ago (2015-12-18 15:34:40 UTC) #32
commit-bot: I haz the power
Committed patchset #6 (id:100001) as https://skia.googlesource.com/skia/+/5ae7fdcc3d7712da3193c39a751e88b092aa82db
5 years ago (2015-12-18 15:59:55 UTC) #35
f(malita)
5 years ago (2015-12-18 17:36:00 UTC) #36
Message was sent while issue was closed.
A revert of this CL (patchset #6 id:100001) has been created in
https://codereview.chromium.org/1531423003/ by fmalita@chromium.org.

The reason for reverting is: We need a SkFractionalInt auto mapper flavor,
otherwise we're losing precision for some procs => seaming artifacs

(https://gold.skia.org/diff?test=giantbitmap_mirror_point_rotate&left=0dd7a412...).

Powered by Google App Engine
This is Rietveld 408576698