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

Issue 2131643002: Add HardStopGradientBench.cpp (Closed)

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

Description

Patch Set 1 #

Total comments: 3

Patch Set 2 : Brian's suggestions #

Patch Set 3 : Make paint field, add 100-color benchmark #

Patch Set 4 : Fix segfault #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -0 lines) Patch
A bench/HardStopGradientBench.cpp View 1 2 3 1 chunk +118 lines, -0 lines 1 comment Download

Messages

Total messages: 22 (9 generated)
fmenozzi
Added benchmark for hard stop gradients, ptal
4 years, 5 months ago (2016-07-07 18:30:51 UTC) #3
bsalomon
https://codereview.chromium.org/2131643002/diff/1/bench/HardStopGradientBench.cpp File bench/HardStopGradientBench.cpp (right): https://codereview.chromium.org/2131643002/diff/1/bench/HardStopGradientBench.cpp#newcode17 bench/HardStopGradientBench.cpp:17: struct GradData { Is this used? https://codereview.chromium.org/2131643002/diff/1/bench/HardStopGradientBench.cpp#newcode43 bench/HardStopGradientBench.cpp:43: count ...
4 years, 5 months ago (2016-07-07 18:36:32 UTC) #4
fmenozzi
- Moved setup to onPreDraw() - Removed unused struct - Removed kMaxCount - Removed fColors, ...
4 years, 5 months ago (2016-07-07 18:54:08 UTC) #5
fmenozzi
- Make paint field - Add 100-color benchmark ptal
4 years, 5 months ago (2016-07-11 13:06:36 UTC) #6
bsalomon
lgtm
4 years, 5 months ago (2016-07-11 13:56:23 UTC) #7
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/2131643002/40001
4 years, 5 months ago (2016-07-11 14:48:28 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://skia.googlesource.com/skia/+/d0d652e0e0cb4bcecb7ccac9f4f4831fcaccdc45
4 years, 5 months ago (2016-07-11 15:31:26 UTC) #11
fmenozzi
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2140603003/ by fmenozzi@google.com. ...
4 years, 5 months ago (2016-07-11 16:30:10 UTC) #12
fmenozzi
Fixed segfault, ptal
4 years, 5 months ago (2016-07-11 16:35:07 UTC) #14
tomhudson
LGTM, although I wouldn't have minded leaving in fMaxCount.
4 years, 5 months ago (2016-07-11 16:37:39 UTC) #15
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/2131643002/60001
4 years, 5 months ago (2016-07-11 16:41:38 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://skia.googlesource.com/skia/+/d6767aa2d52d2612f2b7f9b27b1c3e72ac1389cd
4 years, 5 months ago (2016-07-11 16:56:34 UTC) #21
bsalomon
4 years, 5 months ago (2016-07-11 17:40:03 UTC) #22
Message was sent while issue was closed.
https://codereview.chromium.org/2131643002/diff/60001/bench/HardStopGradientB...
File bench/HardStopGradientBench.cpp (right):

https://codereview.chromium.org/2131643002/diff/60001/bench/HardStopGradientB...
bench/HardStopGradientBench.cpp:56: SkColor  colors[100];
Why not use a dynamic array?

Powered by Google App Engine
This is Rietveld 408576698