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

Issue 2863453002: ui: Change DrawDashedRect to use a dash effect instead of bitmap. (Closed)

Created:
3 years, 7 months ago by vmpstr
Modified:
3 years, 7 months ago
Reviewers:
danakj, enne (OOO)
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

ui: Change DrawDashedRect to use a dash effect instead of bitmap. This patch changes the draw dash rect to use SkDashPathEffect instead of a bitmap shader to produce a dash effect. The visual result is different, but I think it's still acceptable. Please take a look at the referenced bug for the list of comparison. R=danakj@chromium.org, enne@chromium.org BUG=718084 Review-Url: https://codereview.chromium.org/2863453002 Cr-Commit-Position: refs/heads/master@{#469357} Committed: https://chromium.googlesource.com/chromium/src/+/519f83ea3b9d9d99fb1057f2d388fd3d834545f3

Patch Set 1 #

Patch Set 2 : asd #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -37 lines) Patch
M ui/gfx/canvas.cc View 1 2 chunks +24 lines, -37 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
vmpstr
Please take a look (the referenced bug has images for comparison)
3 years, 7 months ago (2017-05-03 17:22:11 UTC) #2
danakj
LGTM
3 years, 7 months ago (2017-05-03 17:32:29 UTC) #3
vmpstr
Changed the code a bit after a discussion with enne, with new results uploaded to ...
3 years, 7 months ago (2017-05-03 20:59:29 UTC) #4
enne (OOO)
lgtm 2 I think this second approach looks better than the first because of the ...
3 years, 7 months ago (2017-05-03 21:50:45 UTC) #5
danakj
1.5 is a definite improvement, thanks.
3 years, 7 months ago (2017-05-03 22:43:47 UTC) #6
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/2863453002/20001
3 years, 7 months ago (2017-05-04 15:37:11 UTC) #9
commit-bot: I haz the power
3 years, 7 months ago (2017-05-04 16:39:10 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/519f83ea3b9d9d99fb1057f2d388...

Powered by Google App Engine
This is Rietveld 408576698