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

Issue 1766243004: don't create zero length intervals (Closed)

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

Description

don't create zero length intervals Dashing a pattern without zero-length intervals should not create them if the end of the on interval coincides with the beginning of the initial dash offset. R=reed@google.com BUG=591993 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1766243004 Committed: https://skia.googlesource.com/skia/+/18bbd00190623fb6cdb119df4a118ac3c1aed52a Committed: https://skia.googlesource.com/skia/+/d3cfd94228e6e58bb43dc4f799b4e443fba027a3

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -3 lines) Patch
M gm/bug530095.cpp View 1 chunk +13 lines, -0 lines 0 comments Download
M src/utils/SkDashPath.cpp View 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 25 (9 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1766243004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1766243004/1
4 years, 9 months ago (2016-03-07 17:32:14 UTC) #3
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-07 18:45:39 UTC) #5
caryclark
Verified that the only change in Gold is the new GM included here and one ...
4 years, 9 months ago (2016-03-07 19:26:33 UTC) #6
caryclark
4 years, 9 months ago (2016-03-08 14:22:34 UTC) #7
reed1
1. Does if (phase >= intervals[i]) { ... also fix the bug? (>= instead of ...
4 years, 9 months ago (2016-03-08 15:08:06 UTC) #9
caryclark
On 2016/03/08 15:08:06, reed1 wrote: > 1. Does > > if (phase >= intervals[i]) { ...
4 years, 9 months ago (2016-03-08 16:18:06 UTC) #10
reed1
I tested the 0, 50, 0, 50 and I only saw one dot
4 years, 9 months ago (2016-03-08 16:22:41 UTC) #11
reed1
On 2016/03/08 16:22:41, reed1 wrote: > I tested the 0, 50, 0, 50 and I ...
4 years, 9 months ago (2016-03-08 16:23:05 UTC) #12
caryclark
Just saw this https://bugs.chromium.org/p/chromium/issues/detail?id=583299 suggesting that there are indeed more bugs in this area.
4 years, 9 months ago (2016-03-08 16:27:14 UTC) #13
reed1
I don't see how to make it clearer, but I do find the fixed code ...
4 years, 9 months ago (2016-03-08 16:32:13 UTC) #14
f(malita)
On 2016/03/08 16:32:13, reed1 wrote: > lgtm for change, but unsure about best way to ...
4 years, 9 months ago (2016-03-08 16:38:08 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1766243004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1766243004/1
4 years, 9 months ago (2016-03-09 13:38:21 UTC) #17
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://skia.googlesource.com/skia/+/18bbd00190623fb6cdb119df4a118ac3c1aed52a
4 years, 9 months ago (2016-03-09 13:55:56 UTC) #19
robertphillips
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/1779803002/ by robertphillips@google.com. ...
4 years, 9 months ago (2016-03-09 16:37:00 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1766243004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1766243004/1
4 years, 9 months ago (2016-03-17 12:23:37 UTC) #23
commit-bot: I haz the power
4 years, 9 months ago (2016-03-17 12:33:33 UTC) #25
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://skia.googlesource.com/skia/+/d3cfd94228e6e58bb43dc4f799b4e443fba027a3

Powered by Google App Engine
This is Rietveld 408576698