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

Issue 1974463002: Harden linear gradients (Closed)

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

Harden linear gradients Ensure that the last offset == 1.0f when implict positions are used (previously subject to float imprecision). BUG=skia:5288, chromium:598484 R=reed@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1974463002 Committed: https://skia.googlesource.com/skia/+/748d620adce9e4855ac0b4b565a6659b803baaa4

Patch Set 1 #

Patch Set 2 : win build fix #

Patch Set 3 : remove unneeded 1-color veto #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -3 lines) Patch
M src/effects/gradients/SkGradientShader.cpp View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M src/effects/gradients/SkLinearGradient.cpp View 2 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 23 (10 generated)
f(malita)
Speculative fix for https://bugs.chromium.org/p/skia/issues/detail?id=5288, https://bugs.chromium.org/p/chromium/issues/detail?id=598484
4 years, 7 months ago (2016-05-11 16:34:49 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/1974463002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1974463002/1
4 years, 7 months ago (2016-05-11 16:35:05 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86_64-Debug-Trybot/builds/8554)
4 years, 7 months ago (2016-05-11 16:37:36 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/1974463002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1974463002/20001
4 years, 7 months ago (2016-05-11 16:40:14 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-11 17:00:05 UTC) #10
reed1
not sure why we can't gracefully handle #colors == 1, either by expanding it to ...
4 years, 7 months ago (2016-05-11 17:25:41 UTC) #11
f(malita)
On 2016/05/11 17:25:41, reed1 wrote: > not sure why we can't gracefully handle #colors == ...
4 years, 7 months ago (2016-05-11 17:33:37 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1974463002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1974463002/40001
4 years, 7 months ago (2016-05-11 17:42:04 UTC) #15
f(malita)
On 2016/05/11 17:33:37, f(malita) wrote: > On 2016/05/11 17:25:41, reed1 wrote: > > not sure ...
4 years, 7 months ago (2016-05-11 17:42:27 UTC) #16
reed1
lgtm
4 years, 7 months ago (2016-05-11 17:49:24 UTC) #17
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-11 18:02:35 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1974463002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1974463002/40001
4 years, 7 months ago (2016-05-11 18:39:03 UTC) #21
commit-bot: I haz the power
4 years, 7 months ago (2016-05-11 18:40:03 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/748d620adce9e4855ac0b4b565a6659b803baaa4

Powered by Google App Engine
This is Rietveld 408576698