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

Issue 1608353002: resolution dependent path measure (Closed)

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

Description

resolution dependent path measure When a dash is drawn through a canvas with a scaled up matrix, path measure needs the pixel resolution through the matrix to construct the dash with sufficient resolution. Pass the resolution through to path measure. Replicate chrome bug in skia GM. R=reed@google.com BUG=530095 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1608353002 Committed: https://skia.googlesource.com/skia/+/1a7eb266644d2e1b0968dbca606ca0a91903419d

Patch Set 1 #

Patch Set 2 : pass device resolution down to path measure #

Patch Set 3 : fix gpu path for dashing #

Total comments: 4

Patch Set 4 : change fInvResScale to fTolerance #

Patch Set 5 : add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -13 lines) Patch
A gm/bug530095.cpp View 1 chunk +48 lines, -0 lines 0 comments Download
M include/core/SkDraw.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M include/core/SkPathMeasure.h View 1 2 3 4 3 chunks +11 lines, -1 line 0 comments Download
M include/core/SkStrokeRec.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M src/core/SkDraw.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M src/core/SkPathMeasure.cpp View 1 2 3 3 chunks +14 lines, -8 lines 0 comments Download
M src/gpu/GrBlurUtils.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/utils/SkDashPath.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 19 (8 generated)
caryclark
Verified that this fixes the GM that is part of this CL. The chrome define ...
4 years, 11 months ago (2016-01-20 21:41:21 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1608353002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1608353002/20001
4 years, 11 months ago (2016-01-20 21:41:34 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-20 21:55:46 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1608353002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1608353002/40001
4 years, 11 months ago (2016-01-20 22:17:53 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-20 22:29:19 UTC) #11
caryclark
Chrome ignore legacy flag has landed. Gold trybot results show bug is fixed.
4 years, 11 months ago (2016-01-21 12:31:56 UTC) #12
reed1
https://codereview.chromium.org/1608353002/diff/40001/include/core/SkPathMeasure.h File include/core/SkPathMeasure.h (right): https://codereview.chromium.org/1608353002/diff/40001/include/core/SkPathMeasure.h#newcode24 include/core/SkPathMeasure.h:24: SkPathMeasure(const SkPath& path, bool forceClosed, SkScalar resScale = 1); ...
4 years, 11 months ago (2016-01-21 14:33:59 UTC) #13
caryclark
https://codereview.chromium.org/1608353002/diff/40001/include/core/SkPathMeasure.h File include/core/SkPathMeasure.h (right): https://codereview.chromium.org/1608353002/diff/40001/include/core/SkPathMeasure.h#newcode24 include/core/SkPathMeasure.h:24: SkPathMeasure(const SkPath& path, bool forceClosed, SkScalar resScale = 1); ...
4 years, 11 months ago (2016-01-21 14:52:57 UTC) #14
reed1
lgtm
4 years, 11 months ago (2016-01-21 14:53:51 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1608353002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1608353002/80001
4 years, 11 months ago (2016-01-21 14:55:22 UTC) #17
commit-bot: I haz the power
4 years, 11 months ago (2016-01-21 15:07:05 UTC) #19
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/1a7eb266644d2e1b0968dbca606ca0a91903419d

Powered by Google App Engine
This is Rietveld 408576698