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

Issue 2275243003: Ignore fill when stroke & filling convex line-only paths (Closed)

Created:
4 years, 3 months ago by robertphillips
Modified:
4 years, 3 months ago
Reviewers:
bsalomon
CC:
reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Ignore fill when stroke & filling convex line-only paths This seems to work well for miter and bevel joins with the resulting stroke and fill path remaining convex. There seems to be an issue with round joins where the outer generated shell is usually not convex. Without this CL the resulting stroke & filled paths are always concave. Perf-wise (on Windows): convex-lineonly-paths-stroke-and-fill bench (in ms) w/o w/CL %decrease 8888 2.88 2.01 30.2 gpu 4.4 1.38 68.6 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2275243003 Committed: https://skia.googlesource.com/skia/+/ad2344693c70f13d5e4216df8458b4d907395bde

Patch Set 1 #

Patch Set 2 : update #

Patch Set 3 : update #

Patch Set 4 : update #

Total comments: 2

Patch Set 5 : Fix mistake #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -14 lines) Patch
M gm/convex_all_line_paths.cpp View 1 2 5 chunks +36 lines, -3 lines 0 comments Download
M src/core/SkStroke.cpp View 1 2 3 4 7 chunks +29 lines, -11 lines 0 comments Download

Messages

Total messages: 22 (17 generated)
robertphillips
4 years, 3 months ago (2016-08-25 21:05:31 UTC) #4
bsalomon
lgtm, I wonder if the round concavities are related to small conic/quadratics (skbug.com/5672) https://codereview.chromium.org/2275243003/diff/60001/src/core/SkStroke.cpp File ...
4 years, 3 months ago (2016-08-26 01:24:25 UTC) #11
robertphillips
I'm going to look into the concavity issue this morning. I suspect the round caps ...
4 years, 3 months ago (2016-08-26 11:44:32 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2275243003/80001
4 years, 3 months ago (2016-08-26 12:29:24 UTC) #20
commit-bot: I haz the power
4 years, 3 months ago (2016-08-26 12:30:23 UTC) #22
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/ad2344693c70f13d5e4216df8458b4d907395bde

Powered by Google App Engine
This is Rietveld 408576698