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

Issue 2023693002: Handle stroked single line special case in Ganesh (Closed)

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

Description

Handle stroked single line special case in Ganesh This CL roughly halves the time spent on the captured stroked lines skp. On my Linux desktop it boosts the external benchmark from 2618 to 5007. This is a companion to: https://codereview.chromium.org/2019193002/ (Add new GM to exercise stroked line special case) The idea is to land the GM first so any regressions are visible. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2023693002 Committed: https://skia.googlesource.com/skia/+/0851d2d04716ad4a7c7a646a5846a81db3d5b925

Patch Set 1 #

Patch Set 2 : clean up #

Total comments: 10

Patch Set 3 : Address code review comments #

Patch Set 4 : Fix bugs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -9 lines) Patch
M src/core/SkPoint.cpp View 4 chunks +5 lines, -5 lines 0 comments Download
M src/gpu/SkGpuDevice.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 2 3 1 chunk +66 lines, -0 lines 0 comments Download
M src/gpu/batches/GrAAFillRectBatch.cpp View 1 2 3 2 chunks +9 lines, -4 lines 0 comments Download

Messages

Total messages: 26 (14 generated)
robertphillips
4 years, 6 months ago (2016-05-28 19:58:18 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2023693002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2023693002/20001
4 years, 6 months ago (2016-05-31 11:51:05 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-05-31 12:04:19 UTC) #11
reed1
https://codereview.chromium.org/2023693002/diff/20001/src/gpu/SkGpuDevice.cpp File src/gpu/SkGpuDevice.cpp (right): https://codereview.chromium.org/2023693002/diff/20001/src/gpu/SkGpuDevice.cpp#newcode706 src/gpu/SkGpuDevice.cpp:706: const SkScalar halfWidth = origPaint.getStrokeWidth()/2.0f; Does this version devolve ...
4 years, 6 months ago (2016-05-31 12:54:48 UTC) #13
reed1
Might also plug into drawPoints, which also generates lines (depending on the enum).
4 years, 6 months ago (2016-05-31 12:55:17 UTC) #14
bsalomon
https://codereview.chromium.org/2023693002/diff/20001/src/gpu/SkGpuDevice.cpp File src/gpu/SkGpuDevice.cpp (right): https://codereview.chromium.org/2023693002/diff/20001/src/gpu/SkGpuDevice.cpp#newcode760 src/gpu/SkGpuDevice.cpp:760: // TODO: to support round capped stroked lines we ...
4 years, 6 months ago (2016-05-31 16:47:27 UTC) #15
robertphillips
https://codereview.chromium.org/2023693002/diff/20001/src/gpu/SkGpuDevice.cpp File src/gpu/SkGpuDevice.cpp (right): https://codereview.chromium.org/2023693002/diff/20001/src/gpu/SkGpuDevice.cpp#newcode706 src/gpu/SkGpuDevice.cpp:706: const SkScalar halfWidth = origPaint.getStrokeWidth()/2.0f; On 2016/05/31 12:54:48, reed1 ...
4 years, 6 months ago (2016-05-31 19:06:55 UTC) #16
bsalomon
lgtm
4 years, 6 months ago (2016-05-31 19:47:44 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2023693002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2023693002/60001
4 years, 6 months ago (2016-06-02 12:03:39 UTC) #19
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-02 12:16:50 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2023693002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2023693002/60001
4 years, 6 months ago (2016-06-02 12:20:40 UTC) #24
commit-bot: I haz the power
4 years, 6 months ago (2016-06-02 12:21:41 UTC) #26
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://skia.googlesource.com/skia/+/0851d2d04716ad4a7c7a646a5846a81db3d5b925

Powered by Google App Engine
This is Rietveld 408576698