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

Issue 1527083002: add caps for hairline moveTo / close (Closed)

Created:
5 years ago by caryclark
Modified:
5 years 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

This brings hairlines into agreement with thick strokes. Add more testing and a pixel magnification to GM. R=reed@google.com, fmalita@chromium.org BUG=skia:4599 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1527083002 Committed: https://skia.googlesource.com/skia/+/1f17ab59929f5f5eb399e09690ef9dbc21525ccc

Patch Set 1 #

Patch Set 2 : extend capped paths for moveTo / close #

Patch Set 3 : paths add data only once #

Patch Set 4 : clean up gm #

Total comments: 2

Patch Set 5 : add comment #

Patch Set 6 : check if readpixels fails #

Unified diffs Side-by-side diffs Delta from patch set Stats (+181 lines, -36 lines) Patch
M gm/path_stroke_with_zero_length.cpp View 1 2 3 4 5 1 chunk +177 lines, -36 lines 0 comments Download
M src/core/SkScan_Hairline.cpp View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (14 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/1527083002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1527083002/20001
5 years ago (2015-12-15 22:58:01 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-15 23:12:11 UTC) #9
caryclark
PTAL. Florin, after this lands, do you have time to rebaseline Chrome layout tests with ...
5 years ago (2015-12-16 14:24:00 UTC) #11
reed1
lgtm https://codereview.chromium.org/1527083002/diff/60001/src/core/SkScan_Hairline.cpp File src/core/SkScan_Hairline.cpp (right): https://codereview.chromium.org/1527083002/diff/60001/src/core/SkScan_Hairline.cpp#newcode474 src/core/SkScan_Hairline.cpp:474: if (SkPaint::kButt_Cap != capStyle && prevVerb == SkPath::kMove_Verb) ...
5 years ago (2015-12-16 14:55:57 UTC) #12
caryclark
https://codereview.chromium.org/1527083002/diff/60001/src/core/SkScan_Hairline.cpp File src/core/SkScan_Hairline.cpp (right): https://codereview.chromium.org/1527083002/diff/60001/src/core/SkScan_Hairline.cpp#newcode474 src/core/SkScan_Hairline.cpp:474: if (SkPaint::kButt_Cap != capStyle && prevVerb == SkPath::kMove_Verb) { ...
5 years ago (2015-12-16 15:26:56 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1527083002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1527083002/80001
5 years ago (2015-12-16 15:27:15 UTC) #16
f(malita)
lgtm
5 years ago (2015-12-16 15:35:15 UTC) #17
commit-bot: I haz the power
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/4805)
5 years ago (2015-12-16 15:39:03 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1527083002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1527083002/100001
5 years ago (2015-12-16 16:39:23 UTC) #22
commit-bot: I haz the power
Committed patchset #6 (id:100001) as https://skia.googlesource.com/skia/+/1f17ab59929f5f5eb399e09690ef9dbc21525ccc
5 years ago (2015-12-16 16:53:44 UTC) #24
f(malita)
5 years ago (2015-12-17 21:46:29 UTC) #25
Message was sent while issue was closed.
(in case this is not on your radar already) looks like the ASAN bot went red due
to an int underflow:
http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-Golo-GPU-GT6...

( 594/732 MB   1865) 439ms	gpu gm 
contour_start../../../include/core/SkRect.h:212:17: runtime error: signed
integer overflow: -2147483648 + -1 cannot be represented in type 'int'
SUMMARY: AddressSanitizer: undefined-behavior
../../../include/core/SkRect.h:212:17 in

Powered by Google App Engine
This is Rietveld 408576698